question

Rocky Xu avatar image
0 Likes"
Rocky Xu asked Rocky Xu answered

How can I prevent the menu from popping up when I right-click the object?

FlexSim 19.1.2
mousemeau
png.png (22.5 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Rocky Xu avatar image
0 Likes"
Rocky Xu answered

No ,Thanks! I deleted the child node of menupopup ,the window will not pop up.


15707550011.jpg (4.8 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

CSN avatar image
0 Likes"
CSN answered tannerp converted comment to answer

Hello, what function do you want to achieve? Is it just to cancel this menu bar or do you want to do other operations? If you have further questions, you can send an email to [email protected]. We will answer you.

· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

CSN avatar image CSN commented ·

If you don't want to create a menu for editing entities when you click on an entity, you can check Ignore Objects in the view settings.

0 Likes 0 ·
Rocky Xu avatar image Rocky Xu CSN commented ·

感谢您的回复,我是想更改右键点击的onclick事件,当我右键一个实体的时候,能仅运行自己在eventfunction/Onclick里添加的代码,而阻止默认的菜单弹出,因此有没有什么方法可以阻止点击到菜单弹出的过程。

Thanks for your reply, I want to change the right click onclick event. When I right click on an entity, I can only run the code I added in eventfunction/Onclick and prevent the default menu from popping up,So is there any way to prevent the click-to-menu pop-up process?

0 Likes 0 ·
tannerp avatar image tannerp Rocky Xu commented ·

Perhaps you could try the "No Select" option. I've never heard of anyone changing an on-click event in the 3D model, though.

0 Likes 0 ·
no-select.png (22.2 KiB)
Braydn T avatar image Braydn T commented ·
@Rocky Xu

Do you still need help with this question?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.