6. 4GL System Constants : System Constants : Other Reason Code Unassociated with any Particular Event
 
Share this page                  
Other Reason Code Unassociated with any Particular Event
Constant Value
Description
Numeric
Equivalent
RC_RESUME
A resume statement in the 4GL caused some events to occur.
9
RC_ROWDELETED
The user selected Delete Current Row from a table field option menu.
21
RC_ROWSALLDELETED
The user selected Delete All Rows from a table field option menu.
22
 
Relative Parameter Values for TreeNodes
Value
Description
Numeric Equivalent
TN_FIRSTCHILD
New node is the first child of relative
1
TN_LASTCHILD
New node is the last child of relative (default)
2
TN_NEXTSIBLING
New node is the next sibling of relative
3
 
RemoteServer Settings
Value
Description
Numeric Equivalent
RP_LOCAL
The remote server is local
1
RP_PRIVATE
The remote server is private
2
RP_SHARED
The remote server is shared
3
 
RowState Settings
Constant Value
Description
Numeric
Equivalent
RS_UNDEFINED
Row has been appended by user by moving the input focus to the new row at the end of the table field, but no data has been typed in
0
RS_NEW
Row has been explicitly inserted by the user, using the operations menu or speed key, or the user has typed within an RS_UNDEFINED row
1
RS_UNCHANGED
Row has been added by program, but not changed by the user
2
RS_CHANGED
Row has been added by program, but subsequently changed by the interactive user
3
RS_DELETED
Row has been deleted by the user, using the operations menu or speed key
4
 
Runtime Settings
Constant Value
Description
Numeric
Equivalent
RT_APPSERVER
OpenROAD Appserver runtime
1
RT_CLIENT
The traditional OpenROAD client (w4gldev or w4glrun)
2
RT_ECLIENT_EMBEDDED
The OpenROAD eClient running within a browser window (Registry RunMode value set to 0)
3
RT_ECLIENT_CHILD
The OpenROAD eClient running as a child of the browser. If browser is closed, the eClient application is terminated (Registry RunMode value set to 1).
4
RT_ECLIENT_DETACHED
The OpenROAD eClient launched by the browser, yet detached from the browser. If browser is closed, the eClient application is not terminated (Registry RunMode value set to 2).
5
 
Selection Types
Constant Value
Description
Numeric
Equivalent
SEL_SINGLE
The end user may select only a single row in a list field or table field at a time
0
SEL_MULTIPLE
The end user may select multiple rows of a list field or table field at a time by holding down the Shift key and clicking
1
 
For more information, see "Set Multiple Selections for List Fields and Table Fields" in the Workbench User Guide.
Separator Move Settings
Constant Value
Description
Numeric
Equivalent
SM_NONE
Separator does not move
0
SM_MANUAL
User must programmatically adjust composite fields
1
SM_RESIZE
Composite fields resize automatically
2
 
SliderField Style Settings
Constant Value
Description
Numeric
Equivalent
SFS_DEFAULT
Gives the SliderField the original appearance
0
SFS_TRACKBAR
Gives the SliderField the trackbar style
1
 
SpeedKey Settings
Constant Value
Description
Numeric
Equivalent
SK_FIND
Speed key code for Find operation
-20
SK_DETAILS
Speed key code for Details operation
-19
SK_NEXT
Speed key code for Next operation
-18
SK_HELP
Speed key code for Help operation
-17
SK_PROPS
Speed key code for Props operation
-16
SK_TFFIND
Speed key code for table field Find operation
-15
SK_TFDELETEALLROWS
Speed key code for table field DeleteAllRows operation
-14
SK_TFINSERTROW
Speed key code for table field InsertRow operation
-13
SK_TFDELETEROW
Speed key code for table field DeleteRow operation
-12
SK_GO
Speed key code for Go operation
-11
SK_SAVE
Speed key code for Save operation
-10
SK_CLOSE
Speed key code for Close operation
-9
SK_CUT
Speed key code for Cut operation
-8
SK_PASTE
Speed key code for Paste operation
-7
SK_COPY
Speed key code for Copy operation
-6
SK_DUPLICATE
Speed key code for Duplicate operation
-5
SK_DELETE
Speed key code for Delete operation
-4
SK_QUIT
Speed key code for Quit operation
-3
SK_UNDO
Speed key code for Undo operation
-2
SK_REDO
Speed key code for Redo operation
-1
SK_NONE
No speed key setting
0
 
System Defined Cursors Settings
Constant Value
Description
Numeric
Equivalent
SP_APPSTARTING
Standard arrow and small hourglass
1
SP_ARROW
Standard arrow
2
SP_CROSS
Cross hairs
3
SP_IBEAM
Text I-beam
4
SP_ICON
Empty icon
5
SP_NO
Slashed circle
6
SP_SIZE
Four-pointed arrow
7
SP_SIZENESW
Double-pointed, northeast-southwest arrow
8
SP_SIZENS
Double-pointed, north-south arrow
9
SP_SIZENWSE
Double-pointed, northwest-southeast arrow
10
SP_SIZEWE
Double-pointed, west-east arrow
11
SP_UPARROW
Vertical arrow
12
SP_WAIT
Hourglass
13
 
TabBar Settings
Constant Value
Description
Numeric
Equivalent
TAB_OVERLAP
The TabBar scrolls to display additional tabs
1
TAB_SCROLL
The TabBar overlaps additional tabs
2
 
TableField Operations Settings
Constant Value
Description
Numeric
Equivalent
OP_NONE
A user cannot append a row to the end of the table field by moving the cursor past the last displayed row.
0
OP_APPEND
A user can append a row to the end of the table field by moving the cursor past the last displayed row.
2
OP_APPENDDELETE
A user can append or delete a row from the table field
3
OP_APPENDINSERT
A user can append or insert a row in the table field
6
OP_APPENDINSERTDELETE
A user can append, insert, or delete a row from the table field
7
 
Text Alignment Settings for ButtonFields and PopUpButtons
Constant Value
Description
Numeric Equivalent
ALIGN_LEFT
Aligns text to the left on the button
1
ALIGN_RIGHT
Aligns text to the right on the button
4
ALIGN_TOP
Aligns text to the top on the button
8
ALIGN_CENTER
Aligns text to the center on the button
18
ALIGN_BOTTOM
Aligns text to the bottom on the button
32
 
Text Display Behavior Settings for ButtonFields
Constant Value
Description
Numeric
Equiva-lent
TDB_DEFAULT
Specifies that the TextLabel is truncated at the edge of the ButtonField
0
TDB_END_ELLIPSIS
Specifies an ellipses with trailing spaces at the end of the button text
1
TDB_PATH_ELLIPSIS
Specifies that the center is removed from the string and replaced by an ellipsis
2
TDB_WORD_ELLIPSIS
Specifies that the TextLabel is truncated at the beginning of the last word that is inside the ButtonField, followed by an ellipsis
4
 
Traverse Order
Constant Value
Description
Numeric
Equivalent
TO_LEVELORDER
The nodes are visited in the order in which they appear, from left to right and from top to bottom
1
TO_PREORDER
The specified node and its subtrees are visited first, then each of its following siblings and their subtrees are visited
2
 
TreeviewField Settings
Value
Description
Numeric Equivalent
TVF_CLASSIC
The style of already existing TreeviewFields. For automatically set attributes, see the TreeviewField class Style Attribute in the Language Reference Guide.
0
TVF_EXTENDED
This TreeviewField exhibits different behavior from TreeviewFields with the TVF_CLASSIC style. See the TreeviewField class Style Attribute in the Language Reference Guide.
1
TVF_CURRENT
The latest style. See the TreeviewField class Style Attribute in the Language Reference Guide.
2
 
Typeface Settings
Constant Value
Description
Numeric
Equivalent
TF_NATIVE_FONT
Use the native fonts of your machine, which are specified directly by name. These fonts are not mapped by OpenROAD and can have arbitrary size values.
-9
TF_MENUDEFAULT
Use the default font for menus
-2
TF_DEFAULT
Use the system default font
-1
TF_SYSTEM
Use the system special font setting. This is different for each window system.
0
TF_HELVETICA
Use the Helvetica family
1
TF_COURIER
Use the Courier family
2
TF_TIMESROMAN
Use the Times Roman family
3
TF_NEWCENTURY
Use New Century Schoolbook
4
TF_LUCIDA
Use the Lucida family
5
 
Window Placement Settings
Constant Value
Description
Numeric
Equivalent
WP_INTERACTIVE
User can place the window
1
WP_SCREENCENTERED
Centered on the screen
2
WP_SCREENRELATIVE
Relative to the upper left corner of the screen
3
WP_PARENTRELATIVE
Relative to the upper left corner of the calling frame
4
WP_PARENTCENTERED
Centered relative to the calling frame
5
WP_FLOATING
Placed for minimal overlap with parent
6
 
Window System Settings for SessionObject
Constant Value
Description
Numeric
Equivalent
WI_NONE
Batch execution mode
1
WI_MOTIF
OSF/Motif
2
WI_MSWINDOWS
(Deprecated) Windows 3.1
6
WI_MSWIN32
Windows graphical user interface
8
 
Window Visibility Settings for FrameExec
Constant Value
Description
Numeric
Equivalent
WV_UNREALIZED
The frame is at the start of its initialize block, and its window has not yet been created (you cannot set the WindowVisibility attribute to this setting).
0
WV_VISIBLE
The window for the frame is open and appears on the screen (and is not an icon).
1
WV_INVISIBLE
The frame's window is invisible. To redisplay the window, set this attribute to WV_VISIBLE.
2
WV_ICON
The frame's window is displayed as an icon on the screen. To redisplay the window, set this attribute to WV_VISIBLE.
3
 
XML Encoding Settings for XMLDocument
Constant Value
Description
Numeric
Equivalent
XE_UTF8
UTF-8 encoding format
0
XE_UTF16
UTF-16 encoding format
1