Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to destroy a control created on design time

28 views
Skip to first unread message

Sam Kong

unread,
Nov 3, 2003, 6:58:16 PM11/3/03
to
Hello!

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

Bob Compwell

unread,
Nov 10, 2003, 10:01:26 AM11/10/03
to
s...@chol.net (Sam Kong) wrote in message news:<f0667546.03110...@posting.google.com>...

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.

0 new messages