The following keywords affect the menu or dialog box as a whole.
Keyword |
Description Or Character |
! |
Single line comment |
// |
Single line comment (preferred) |
<> |
Blank line |
<L> |
Horizontal Line |
~ |
Separates user-visible text field from the command field |
{ } |
Evaluates the contents and displays the result in place |
< > |
Substitutes the contents in a list box or dialog box input |
@x n |
Places a menu n characters to the left (0 to nest) |
@y n |
Places menu n characters down (0 to nest) |
@xd n |
Places a menu n pixels to the left |
@yd n |
Places a menu n pixels down |
@addexstyle n |
Add an extended style |
@addstyle n |
Add a style |
@adjust_height 1 |
Dialog box height dynamically sizes |
@adjust_width 1 |
Dialog box width dynamically sizes |
@apply |
Add an Apply button to a tabbed dialog box |
@child 1 |
Creates an embedded dialog box |
@delexstyle n |
Remove an extended style |
@delstyle n |
Remove a style |
@display |
Do not automatically clear menu after selection of menu item |
@endform |
End of dialog box section for a form, SPL code follows |
@focus n |
Set input focus, 1:Ok, 2:Cancel, 4:Help, n:control with id=n |
@form |
Dialog box is a form that includes SPL functions |
@onappsize func |
Run func when application sizes |
@ondblclk func |
Run func when double click detected |
@oncancel func |
Run func when Cancel button pressed |
@oninit func |
Run func when dialog initializes |
@onok func |
Run func when OK button pressed |
@onsize func |
Run func when dialog sizes |
@panel |
Create a dialog box with choices and inputs |
@popmenu |
Create a Pop-up menu |
@dialog |
Create a dialog box with choices and inputs |
@modeless 1 |
Create a modeless dialog box |
@modeless 2 |
Create a modeless dialog box that remains on top |
@suppress n |
Suppress button 1:Ok, 2:Cancel, 4:Help, can be combined |
@tabbed |
Create a tabbed dialog box |
@wizard |
Wizard style tabbed dialog box |
@h "fn" |
Loads a file "fn" when the Help button or [F1] is pressed. |
@justifylabels |
label justification, 0:right, 1:left, 2:center, 3:top |
@fixed_editwidth |
Sets spacing for field lengths |
The following modifiers appear between angle braces in display area of a control line and affect the behavior or style of the specific control.
# |
Immediately evaluate this line and redisplay the dialog box |
## |
Immediately evaluate this line and redisplay the entire tabbed dialog |
% |
Immediately evaluate this line |
%% |
Evaluate editor input only, no OK processing on Enter |
-% |
Suppress dynamic update on drop-down list change |
* |
Use list of newline delimited strings as options for an editable combobox or listbox |
= |
Use list of newline delimited strings
as options for a |
ah=n |
Control height can dynamically size, 0:no, 1:yes |
aw=n |
Control width can dynamically size, 0:no, 1:yes |
b |
Button control |
bg=rgb |
Background color, RGB value ({0x0000FF} == red) |
c |
Checkbox control |
+c |
Make combobox or listbox strings case sensitive |
d=n |
Discrete increment control buttons, n: lower limit |
e=n |
Enables/Disables a control, 1:enabled, 0:disabled |
+ex=n |
Add a control extended style |
-ex=n |
Remove a control extended style |
fa=n |
Font angle in degrees |
fb=n |
Font bold, 0:no, 1:yes |
fc=n |
Font character set |
fg=rgb |
Foreground color, RGB value ({0x0000FF} == red) |
fi=n |
Font italics, 0:no, 1:yes |
fn="face" |
Font face name |
fp=n |
Font pitch |
fs=n |
Font size in points |
fu=n |
Font underline 0:no, 1:yes |
frame |
Begin a group of controls with no border |
/frame |
End a group of controls with no border |
group |
Begin a groupbox |
/group |
End a groupbox |
h |
Horizontal radio buttons |
h=n |
Height in characters, -2:maximum current height |
hd=n |
Height in pixels |
hslider |
Horizontal slider, same as slider |
hsplitbox |
Begin horizontal splitbox panes, same as splitbox |
/hsplitbox |
End horizontal splitbox panes, same as /splitbox |
hsplitter |
Horizontal splitter control for hsplitbox, same as splitter |
i=n |
System icon, n: icon number |
id=n |
Control ID |
img="file" |
Display an image (.bmp, .gif, .jpg) |
j=n |
Label justification, 1:left, 2:right, 3:top |
k |
Checkbox list |
l |
Listbox |
m=n |
Number of displayed lines for edit or listbox control |
mh=n |
Minimum control height in characters |
mw=n |
Minimum control width in characters |
n |
Enumerated list of options |
o="progid" |
ActiveX control |
p |
Color picker control |
r |
Radio button control |
+s=n |
Add a control style |
-s=n |
Remove a control style |
skip |
Skip this line when processing evaluation area statements |
slider |
Horizontal slider |
splitbox |
Begin horizontal splitbox panes |
/splitbox |
End horizontal splitbox panes |
splitter |
Splitter control for splitbox, horizontally divides splitbox panes |
t="tip" |
Tool tip, "Tip 1 | Tip 2 | Tip3" |
u=n |
Indicates discrete increment control buttons, n: upper limit |
v=n |
Visibility, 0:not visible, 1:visible, 2:not visible width=0, 4:not visible height=0 |
vslider |
Vertical slider |
vsplitbox |
Begin vertical splitbox panes |
/vsplitbox |
End vertical splitbox panes |
vsplitter |
Splitter control for vsplitbox, vertically divides vsplitbox panes |
w=n |
Width in characters, -2:maximum current width |
wd=n |
Width in pixels |
x=n |
Places a control n characters to the left, -1:next x, -2:last x |
y=n |
Places a control n characters down, -1:prev y, -2:max y |
xd=n |
Places a control n pixels to the left |
yd=n |
Places a control n pixels down |