Is there a way to destroy a control which was created on design time?
Let's say that you have two buttons.
If you click buttonA, buttonB will be destroyed.
I tried
Destroy cb_2
It didn't work?
Destroy works only for controls created on run time, right?
TIA.
Sam
Sam you are basically correct destroy only works on objects created
with the "Create" statement.
eg. n_someobject ln_someobject
ln_someobject = Create n_someobject
destroy ln_someobject
Not sure what you are trying to do from your example, if you could
shed some more light on what you are trying to do maybe some one could
help.