Syntax
wgButton():New( oParent, [cText] ) --> oButton
oButton:onClick := {| oButton | ... }Arguments
oParent
Window or layout container.
cText
Button caption.
Return value
The button object.
Description
When the user activates the button, the onClick block receives the button. Assign :text to change its caption or :enabled to control whether it can be used.