Rick C. Hodgin
Programmer
Concept:
It would not error when properties which do not exist on the group objects are attempted to be set. It would just skip that object.
It the "this.input.BackColor = RGB(255,255,128)" line would effectively do the equivalent of:
--
Rick C. Hodgin
Code:
* For any container object:
lo = this.AddGroup("input", this.txtDate, this.txtDesc, this.txtQty, this.txtAmt)
* Access as the returned object
lo.BackColor = RGB(255,255,128)
WAIT WINDOW "Pausing..."
* Or as the object off its parent, by name
this.input.BackColor = RGB(255,255,128)
It would not error when properties which do not exist on the group objects are attempted to be set. It would just skip that object.
It the "this.input.BackColor = RGB(255,255,128)" line would effectively do the equivalent of:
Code:
* The objects that would've been in the input group, it works on each one individually
this.txtDate.BackColor = RGB(255,255,128)
this.txtDesc.BackColor = RGB(255,255,128)
this.txtQty.BackColor = RGB(255,255,128)
this.txtAmt.BackColor = RGB(255,255,128)
--
Rick C. Hodgin