Dynamically modifies appearance and behavior attributes of open forms or form fields in the current window.
Dynamically changes certain attributes of open forms, form fields, or displays.
FORM SET («option») «object»
[NOT] ABBREVIATE, [NOT] AUTOCLEAR,
[NOT] AUTOSKIP, [UN] AVAILABLE,
[NOT] BOLD, [NOT] CLICK,
[NOT] DOUBLECLICK, EVENT eventName,
FILLCOLOR color, FONT fontname, [NOT] GOTFOCUS,
GUARDED, [NOT] IMMEDIATELY REQUIRED,
[IN]VISIBLE, [NOT] ITALIC, LABEL label,
[NOT] LOSTFOCUS, [NOT] LOSTFOCUSMODIFIED,
[NOT] MODIFIED, MOUSEPOINTER fileName, NORMAL, PENCOLOR color, POINTSIZE n, PROTECTED,
[NOT] REQUIRED, RESET, [NOT] REVERSE,
[NOT] RIGHTCLICK, [NOT] SCROLL, SCROLL LINE n, SCROLL MAX n, SCROLL MIN n, SCROLL PAGE n,
[NOT] STRIKEOUT, [NOT] SUPPRESS,
[NOT] VALIDATE, VERB verbName, VISIBLE,
Except for NORMAL and RESET, the above options affect only one attribute.
The name of an open form or display in the current window whose attributes are to be changed. To specify a particular instance of a form, append the instance number in brackets.
The name of a form field whose attributes are to be changed. To specify a particular instance of a form field, append the instance number in brackets.
([exp1 ],[exp2 ],[exp3 ])
Positive integers or expressions that evaluate to positive integers, that identify a particular form or form field whose attributes are to be modified. Exp1 identifies the form number; exp2, the field number; exp3, the instance of the form or form field in the display. At a minimum, either exp1 or exp2 must be specified.
Dynamically specifies attributes that are to be applied to form fields that get focus.
FORM SET («option») CURSOR
[NOT] BOLD, FILLCOLOR color, [IN]VISIBLE,
[NOT] ITALIC, NORMAL, PENCOLOR color,
[NOT] REVERSE, [NOT] STRIKEOUT,
[NOT] SUPPRESS, [NOT] UNDERLINE
Except for NORMAL, the above options affect only one attribute.
|CURSOR||The options are dynamically added to a form field when that field acquires focus. When the field loses focus, the previous appearance is restored.
The associated options are to be automatically added to the display attributes of each form field that get focus. When focus leaves each form field, the form field’s previous appearance is restored.
The attribute NORMAL means that the corresponding objects will be set to an unsuppressed, visible and non reversed condition, regardless the initial state of the objects.
The attribute RESET means that the corresponding objects will be reset to their initial state when the forms were opened.
For Scrollbars, the MIN e MAX values represent the range of acceptable values that the scrollbar can accept (Ex: 1 to 100, 20 to 30, etc). The LINE represents the amount of space the thumb “jumps” when the arrows are clicked (Ex: in a 1 to 100 MIN and MAX, a LINE of 20 means the thumb would “jump” 20% of space). Finally, the PAGE represents the size of thumb, usually a value that represents the percentage one “line” would take.
form set (reset) fAddEmp.EmpNum
set (italic lostfocus) fAddEmp.EmpNum
set (not lostfocus) fAddEmp.EmpNum
set ( lostfocus) fAddEmp.EmpNum
set (bold) cursor % displays the focus field in bold font
The above commands set particular attributes of fields.
form set (reset) fAddEmp
set (italic) (2,,3)
set (not scroll not required lostfocus) fEmps
above commands set particular attributes of forms.
set (scroll page 8) fFileDir.UpDnBar
set (scroll max 50) fFileDir.LfRtBar
The above commands set scroll bar attributes.