Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
In an InteractionEvents, I try to use a keyboardevents at same time with a selectionevents. So while in doSelectEvents_OnPreSelect process, the user can click keyboard (such as space bar, or esc key) to invoke some action. But the code does not work out. Both oKeyPress_OnKeyDown() and oKeyPress_OnKeyPress() have no response. Can somebody try it out and see why?
The code in class is as attached. The code in module is :
Public Sub keyboard_enter_test()
Dim oEdge As Edge
Dim oSelect As New Clsselect_edge_keyboard
Set oEdge = oSelect.Pick(kPartEdgeCircularFilter, "Select a circular edge:")
End Sub
Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Solved! Go to Solution.