GetARexxGadget System Command

GETAREXXGADGET Dialog Box Queries

Gets the current state of a control. This is normally used after a dorequester command returns.

getarexxgadget

dbhandle/i The dialog box to interrogate.

ctlhandle/i The is the control to interrogate.

attribute/s The control attribute to get.

Options: CHECKED For checkbox controls. Returns 0 if unchecked, 1 if checked.

STRING For text and multiline controls. Returns the string contents.

CURRENT For popup, cycle, slider and scrolllist controls. Returns the selected item.

Results:

The state of the control is returned to RESULT.

Notes:

You do not need to use this command for exit buttons since the selected exit button is returned to RESULT by the DOREQUESTER command.

Examples:

getarexxgadget iGetName sNameCtl string
   sName=RESULT

getarexxgadget iTestDBox MyControl cycle
   format=RESULT

 

GetARexxGadget  Command Definition  url:PGScmd/getarexxgadget
  created:2006-03-30 22:20:06   last updated:2006-03-30 22:20:06
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetARexxGadget
Dan Kilroy wrote...2006-05-04 16:43:48

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

Gets the {...} .

GetARexxGadget (reqhandle objid [])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetARexxGadget