05.01.2013 Views

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Screen Input/Output Commands<br />

DIALOG<br />

Appendix C: Automated Print Control<br />

When using screen I/O commands to define a dialog box and its<br />

controls, make sure that the definitions are executed only once. (It’s a<br />

good idea to define them at the beginning of the batch file.)<br />

$DLGITEMID is a predefined variable that holds the ID of the dialog<br />

control item just defined. $DLGITEMID will be overwritten by most<br />

dialog commands. If it will be needed, it should be saved to another<br />

variable right after the dialog command. When more than one<br />

pushbutton is defined, save the IDs of pushbutton controls to compare<br />

with the $BUTTON_ID of the DIALOG command. You should also save<br />

any control items in the dialog box that will use the DIALOG-SET-TEXT<br />

command.<br />

Defines a dialog box<br />

Syntax: DIALOG = DlgName, title, x, y, width, height, $button_id<br />

Notes:<br />

DlgName is the name of the dialog box, which will be used in the<br />

DIALOG-SHOW command.<br />

x is the x-coordinate(in pixels) of dialog box’s upper-left corner in<br />

screen coordinates.<br />

y is the y-coordinate(in pixels) of dialog box’s upper-left corner in<br />

screen coordinates.<br />

width is the dialog box width (in pixels).<br />

height is the dialog box height (in pixels).<br />

$button_id is the ID of the push-button been clicked.<br />

Legitronic User Manual (v3.4) 192

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!