-
Notifications
You must be signed in to change notification settings - Fork 1
Common_command_clauses.
AntonioFS edited this page May 13, 2022
·
9 revisions
(Return to xBase commands page.)
@ <nRow>, <nCol>
- Specifies the coordinates at which the control is to be placed. If the PIXEL clause is used, they are considered in pixels, otherwise they simulate a row and column dimensions of the console screen. You can also use decimal numbers for these values.
ACTION <uAction>
- Executes an action. This will normally be a function, although functions and/or actions can be chained together by separating them by commas and enclosing everything in parentheses. A codeblock can also be executed.
CENTERED / CENTER
- Centres the object on the screen.
IMAGE <cButtonText>
- Button text in a button bar, or also in a separate button definition.
MAXIMIZED
- Show the window in it largest possible size ie it will cover the entire screen.
NOWAIT, NOMODAL
- The focus does not remain on the box. Used to make MDI dialogues.
OF | WINDOW | DIALOG <oWnd>
- Specifies the container object of the control.
ON [ LEFT ] CLICK <uLClick>
- If you 'click' with the left mouse button, it directs the flow to an action (function, etc.).
ON RIGHT CLICK <uRClick>
- If you 'click' with the right mouse button, it directs the flow to an action (function, etc.).
SIZE <nWidth>, <nHeight>
- Specifies the dimensions of the GUI object.
TITLE <cTitle>
- It titles the window.
UPDATE
- Specifies whether the control should be updated, when its container is updated (:Update()).
VALID <uAction>
- Specifies an expression to evaluate when a control is about to lose focus. If false, the focus remains on the control. For windows and dialog boxes, controls the ability to close them.
WHEN <uAction>
- Specifies an expression to evaluate to decide whether the control is active or not. This clause is evaluated each time a control loses focus, before all controls are displayed.
(Return to xBase commands page.)
To be continued...