Syntax
wgEdit():New( oParent, [cValue], [cLabel] ) --> oEdit
oEdit:onChange := {| oEdit | ... }Arguments
oParent
Window or layout container.
cValue
Initial text. The default is an empty string.
cLabel
Optional label shown above the field.
Return value
The edit control.
Description
:value contains the text in the field and :text contains its label. onChange runs for each user input after :value is updated. Use wgGet for a typed field with a picture or validation.