GenericValidator performs data transfer (but not validation or filtering) for the following
basic controls: Button, CheckBox, ListBox, StaticText, RadioButton, RadioBox,
Choice, ComboBox, Gauge, Slider, ScrollBar, SpinButton, TextCtrl, CheckListBox.
It checks the type of the window and uses an appropriate type for that window. For example,
Button and TextCtrl transfer data to and from a String variable; ListBox uses a
ArrayInt; CheckBox uses a bool.
For more information, please see Validator overview.
Validator overview, Validator,
TextValidator
Copy constructor.
GenericValidator.new(%(arg-type)Boolean% valPtr)Constructor taking a bool pointer. This will be used for CheckBox and RadioButton.
GenericValidator.new(%(arg-type)String% valPtr)Constructor taking a String pointer. This will be used for Button, ComboBox, StaticText,
TextCtrl.
Constructor taking an integer pointer. This will be used for Gauge, ScrollBar, RadioBox, SpinButton,
Choice.
Constructor taking a ArrayInt pointer. This will be used for ListBox, CheckListBox.
Destructor.
Clones the generic validator using the copy constructor.
Transfers the value from the window to the appropriate data type.
Transfers the value to the window.
[This page automatically generated from the Textile source at 2023-06-03 08:07:43 +0000]