SetArexxGadget System Command

SETAREXXGADGET Dialog Box Commands

Resets a control's parameters. The dialog box and control must first be added.

setarexxgadget [LEFT left] [TOP top] [WIDTH width] [HEIGHT height] [LABEL name] [LABELPOS pos] [STRING text] [BORDER style] [CHECKED status] [LIST handle] [CURRENT value] [TOTAL value]

dbox/i The dialog box handle.

dhandle/i The control handle.

LEFT/i The left edge of the control.

TOP/i The top edge of the control.

WIDTH/i The width of the control.

HEIGHT/i The height of multiline and scrollist

controls. Minimum=36

LABEL/s The control's label.

LABELPOS/s The label position relative to the

control.

Options: LEFT | RIGHT | ABOVE| ABOVELEFT | ABOVERIGHT | BELOW | BELOWLEFT | BELOWRIGHT | CENTER | CENTERLEFT | CENTERRIGHT | LEFTABOVE | LEFTBELOW | RIGHTABOVE | RIGHTBELOW.

Default=left except for checkbox=right.

STRING/s The default text of a string, multiline or text control.

BORDER/k The border type of a text control.

Options: NONE | RAISED | RECESSED | SHINE | SHADOW | TEXT.

CHECKED/k The default state of a checkbox.

Options: TRUE | FALSE.

LIST/i The list handle for a popup, cycle or scrollist control.

CURRENT/i The default list item for a popup, cycle or scrollist, or the default slider position (decimal).

TOTAL/d The range of a slider.

Notes:

The width and position of controls does not include the label. Position is not applicable to exit buttons because the label is centered on the button.

String controls are editable text fields; multilines allow multiple lines of text. Text controls are non- editable text displays.

Precede the character to underscore as a keyboard shortcut in the label name. For example, "_Add" would make "A" the keyboard shortcut for an "Add" control.

Examples:

setarexxgadget reqhandle check1 checked true

setarexxgadget req iList1 list fonts current 'Times'

setarexxgadget iDBox nametext 'Simple'

setarexxgadget req cyanslider current 15 total 100

 

SetArexxGadget  Command Definition  url:PGScmd/setarexxgadget
  created:2006-03-31 10:52:53   last updated:2006-05-03 11:41:34
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetArexxGadget
Dan Kilroy wrote...2006-05-04 16:43:40

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

SetARexxGadget (reqhandle objid [HIDDEN <TRUE|FALSE> | DISABLED <TRUE|FALSE> | CHECKED <TRUE|FALSE> | HIGHLABEL <TRUE|FALSE> | READONLY <TRUE|FALSE> | ESCAPE <TRUE|FALSE> | DEFAULT <TRUE|FALSE> | LABEL string | STRING string | LEFT num | TOP num | WIDTH num | HEIGHT num | CURRENT num | TOTAL num | LABELPOS <LEFT | RIGHT | ABOVE | ABOVELEFT | ABOVERIGHT | BELOW | BELOWLEFT | BELOWRIGHT | CENTER | CENTERLEFT | CENTERRIGHT | LEFTABOVE | LEFTBELOW | RIGHTABOVE | RIGHTBELOW> BORDER <NONE | RAISED | RECESSED | SHINE | SHADOW | TEXT | BEVELIN | BEVELNOUT> ALIGNMENT <LEFT | CENTER | RIGHT> ORIENTATION <HORIZONTAL | VERTICAL> LIST listhandle])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetArexxGadget