Message 1 of 7

Not applicable
10-14-2014
11:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I discovered a bug with the CommandManager.Pick method.
When 2 Pick command follow each other, if I press on [Esc] key, the KeyDown event cancels the first Pick command and the KeyUp event cancels the next one.
You can reproduce this behavior by inserting 2 parts in assembly and run this iLogic code (press [Esc] key instead of selecting part):
Dim message As String For index = 1 To 10 message = "Pick #" & index ThisApplication.CommandManager.Pick(SelectionFilterEnum.kAssemblyOccurrenceFilter, message) Next
The result: all the even are skipped.
Does someone had a workaround? (I thought to catch the KeyDown event and ignore it.)
Thanks,
Pascal
Solved! Go to Solution.