- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
I create a button in the Inventor Ribbon interface through VB.NET addin, then the button to call a form (my_aaa) using such:
Private Sub m_button_test_OnExecute(ByVal Context As Inventor.NameValueMap) Handles m_button_test.OnExecute
Dim my_aaa As New form_aaa
my_aaa.Show()
End sub
One click to the button will create the form my_aaa. The problem is when user accidentally double-click the button, 2 forms (my_aaa) will appear. He has to close one and carry on the other. That will cause failure problem for our codes afterward. Is that possible to prevent double clicking on the botton (an Inventor's OnExecute event) or let Inventor treats double click as single click on this button.
Thanks in advance
Limin
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Solved! Go to Solution.