I have an application where the user can use the spacebar to toggle symbols in a multicolumn listbox. The user is also able to edit the text in the cells. So when the user presses the spacebar when editing the text, the sybol is also toggled.
Is there a way to detect when the cell i being edited, or a cursor appear in the cell or anything etc, and use this information to disable the space event? I've tried "Edit Cell" and "Edit Cell?" but those only fire after the cell has been edited.
Solved! Go to Solution.
Try to share the code snippet/vi so that we can try something and help you.
I usually use a mouse down event to toggle the symbols. In the following code if the mouse was clicked on a symbol it is toggled.
I used your code to set a flag that disables the spacebar event.
I use the spacebar to toggle multiple items, and mouse-click to toggle single items.