I want to programmatically create a custom class (MYFORM) based on FORM, so I can use it instead of FORM.
More importantly, I want to be able to add a property that doesn't exist in FORM (say, NeverUsed) that may be either .T. or .F. (in this case the default should be .T.).
Also, I want to change the default settings of an existing property (ShowWindow) to 2.
All this, so that I can use oForm = CREATEOBJECT("MYFORM" and the just-created will have my new property NeverUsed = .T. and the existing property ShowWindow with a value of 2.
Is that possible, because I can't seem to get it to work...
Thanks.
More importantly, I want to be able to add a property that doesn't exist in FORM (say, NeverUsed) that may be either .T. or .F. (in this case the default should be .T.).
Also, I want to change the default settings of an existing property (ShowWindow) to 2.
All this, so that I can use oForm = CREATEOBJECT("MYFORM" and the just-created will have my new property NeverUsed = .T. and the existing property ShowWindow with a value of 2.
Is that possible, because I can't seem to get it to work...
Thanks.