In windows I use the following code
Code: Select all
event = WaitWindowEvent( 5 )
Select event
Case #myKeyDown
key = EventwParam()
If key = #myKeyDelete And GetActiveGadget() = #result
Code: Select all
event = WaitWindowEvent( 5 )
Select event
Case #myKeyDown
key = EventwParam()
If key = #myKeyDelete And GetActiveGadget() = #result
