Migration Guide : E. Features Introduced in OpenROAD 6.2 : Changes to Existing Features : FrameExec Class Gets New and Updated Attributes
 
Share this page          
FrameExec Class Gets New and Updated Attributes
The FrameExec class, an object representing a specific instantiation of a frame, has the following new attributes:
FrameHeight
Data Type: integer
4GL Access: R
The FrameHeight attribute specifies the frame's outer height. It represents the outer height of the window, including the window title, borders, scroll bars, and menu bar. The value represents the current frame height in 1000ths of an inch.
FrameWidth
Data Type: integer
4GL Access: R
The FrameWidth attribute specifies the frame's outer width. It represents the outer width of the window, including the window title, borders, scroll bars, and menu bar. The value represents the current frame width in 1000ths of an inch.
ReasonCode
Data Type: integer
4GL Access: R
Identifies the operation type that caused an event. New values are added to the ReasonCode attribute for the TreeviewField's on Click event:
RC_CHANGEDNODE—The click will cause a change in value.
RC_ SAMENODE—The selected node was clicked on.
RC_ EXPAND—The expand button was clicked on.
RC_ COLLAPSE—The collapse button was clicked on.
RC_ WHITESPACE—A whitespace area was clicked on.
RC_ NONODE—An area with no node horizontal to it was clicked on.
RC_BITMAP—The bitmap of the node was clicked on.
RC_CHECKBOX—The checkbox of the node was clicked on.
RC_DOUBLECLICK—The node was double-clicked.
XAbsClick
Data Type: integer
4GL Access: R
Specifies the X-coordinate relative to the frame where the mouse was clicked on a Click or Properties event
XClick
Data Type: integer
4GL Access: R
Specifies the X-coordinate relative to the TreeviewField window where the mouse was clicked on a Click or Properties event
YAbsClick
Data Type: integer
4GL Access: R
Specifies the Y-coordinate relative to the frame where the mouse was clicked on a Click or Properties event
YClick
Data Type: integer
4GL Access: R
Specifies the Y-coordinate relative to the TreeviewField window where the mouse was clicked on a Click or Properties event