6. 4GL System Constants : System Constants : For the Exit, ChildExit, SetValue, ChildSetValue, Entry, and ChildEntry Events
 
Share this page                  
For the Exit, ChildExit, SetValue, ChildSetValue, Entry, and ChildEntry Events
Constant Value
Description
Numeric
Equivalent
RC_RETURN
The user pressed a carriage return keystroke.
1
RC_NEXT
The user pressed the Tab keystroke.
2
RC_PREVIOUS
The user pressed the Shift+Tab keystroke.
3
RC_LEFT
The user pressed the left arrow keystroke.
4
RC_RIGHT
The user pressed the right arrow keystroke.
5
RC_UP
The user pressed the up arrow keystroke.
6
RC_DOWN
The user pressed the down arrow keystroke.
7
RC_MOUSECLICK
The user clicked a mouse button.
8
RC_PROGRAM
The 4GL code triggered the event.
17
RC_FIELDFREED
The selection or focus changed by freeing a field.
18
RC_ROWINSERTED
The user selected Insert New Row from a table field option menu.
20
RC_TFSCROLL
The user scrolled a table field.
29
RC_PAGEUP
The user pressed the Page Up key.
32
RC_PAGEDOWN
The user pressed the Page Dn key.
33
RC_HOME
The user pressed the Home key.
34
RC_END
The user pressed the End key.
35
RC_SCFIND
The user selected an item in a table field, listview field, or treeview field by typing the first letter of the item (single character find).
42
RC_NEXTCOMPOSITE
The user pressed Ctrl+Tab.
44
RC_PREVCOMPOSITE
The user pressed Ctrl_Shift+Tab.
45
 
Note:  When the optionfield has the input focus, the option list can be opened from the keyboard by using either Alt+Up arrow or Alt+Down arrow. Clicking an optionfield, representing the user's final selection, generates a SetValue event with a distinct reason code, RS_MOUSECLICK.