New Events
The following are new events:
• ChildKeyDown Event
• KeyDown Event
ChildKeyDown Event
The ChildKeyDown event is triggered whenever OpenROAD receives a WM_KEYDOWN or WM_SYSKEYDOWN message. The event is not queued, but is delivered immediately.
Information about the key is stored in the KeyDownData object, which is delivered to the 4GL program in the MessageObject attribute of FrameExec. The 4GL event code has the opportunity to stop further processing of the WM_KEYDOWN or WM_SYSKEYDOWN message by modifying the KeyDownData object. To discard the message, the developer should set the KeyDownData.VirtualKey to zero.
The PrintScrn key does not cause a ChildKeyDown event, and no other events are generated in conjunction with a ChildKeyDown event. In particular, the ChildKeyDown event does not cause either a SetValue or a ChildSetValue event.
For more information about this event, see the latest version of the Language Reference Guide.
KeyDown Event
The KeyDown event is triggered whenever OpenROAD receives a WM_KEYDOWN or WM_SYSKEYDOWN message. The event is not queued, but is generated immediately.
Information about the key is stored in the KeyDownData object, which is delivered to the 4GL program in the MessageObject attribute of FrameExec. The 4GL event code has the opportunity to stop further processing of the WM_KEYDOWN or WM_SYSKEYDOWN message by modifying the KeyDownData object. To discard the message, the developer should set the KeyDownData.VirtualKey to zero.
The PrintScrn key does not cause a KeyDown event, and no other events are generated in conjunction with a KeyDown event. In particular, the KeyDown event does not cause either a SetValue or a ChildSetValue event.
For more information about this event, see the latest version of the Language Reference Guide.