Is their a method to define events for controls arriving via AddObject, without resorting to a DEFINE CLASS
oForm.Addobject('Button','CommandButton')
.. and then -
oForm.Button.Click=SomeProcedureName()
or something like this.
It seems that the events are read only outside a class define.
AHA
Terry
Imagination is more important than knowledge