Index | Parent | Popstring class |
The Popstring class is used to create a popstring, which is an object made of:
Any time the button object is "pressed" the window is opened.
See Popobject
Attributes | |||
---|---|---|---|
Name | Type | Class | Note |
Button | S | I | It may be omitted: a popup button is used |
ButtonControlChar | C | ISGN | Pop button control char |
ButtonCycleChain | B | I | If set to 1, the auto button will be in the window cycle chain |
CloseFun | S | i | At Init time you can supply a macro in this attribute: anytime the object is closed, CloseFun macro is executed with one argument: the success flag. The macro must be an ARexx-in-line-string-macro designed to be very fast. |
Open | B | GN | Set and notified when the window is opened/closed. |
OpenFun | S | I | At Init time you can supply a macro in this attribute: anytime the object is to be opened, OpenFun macro is executed (with no argument). The object is opened if and only if the macro returns 1. The macro must be an ARexx-in-line-string-macro designed to be very fast. |
String | S | I IN | A String class object . |
Success | B | GN | Set and notified when the window is closed. The popstring object doesn't know anything about
it: you must tell him what success means via a notify, e.g.: call Notify("pw","CloseRequest",1,"ps","Close",0) call Notify("cs","Pressed",0,"ps","Close",1) |
Toggle | B | ISG | |
Window | S | I IN |
Methods | ||
---|---|---|
Name | Parameters | Note |
Close | [success/N] | success is an ARexx boolean. It is passed to CloseFun, if supplied. |
Open |