AllocArexxList System Command

Allocates a list for a list control (scrolling list, pop-up or cycle). Returns the list handle to RESULT.

allocarexxlist (no parameters)

Results:

The handle (identification number) of the new list is returned to RESULT. The handle is required in order to add items to the list, or to set the list for a control.

Notes:

Lists are not part of dialog boxes, so they can be allocated before allocating a dialog box, and can be set to more than one control. After a dialog box has closed, you can continue using the list in other dialog boxes until you unallocate the list.

Warning:

You must always unallocate your list before exiting the script!

Examples:
ARexx:

allocarexxlist listnumber=RESULT allocarexxlist choices=RESULT

 

AllocArexxList  Command Definition  url:PGScmd/allocarexxlist
  created:2006-03-29 17:47:08   last updated:2006-08-18 11:06:57
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For AllocArexxList
Dan Kilroy wrote...2006-05-04 16:43:57

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

Gets the {...} .

list = AllocARexxList ()

Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For AllocArexxList