That should not be a problem
Allen
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chet Gardiner
Sent: 22 October 2006 23:04
To: [EMAIL PROTECTED]
Subject: Re: Can an container destroy itself?
How about this.visible = .f.?
Allen wrote:
You can sort
]
To: profox@leafe.com
Sent: Sunday, October 22, 2006 2:16 AM
Subject: Can an container destroy itself?
I have some containers that users can interactively add to a form to
display additional status info.
I would like to users to be able to double click on these containers to
destroy them. I
Hi Vas!
Ed Leafe's solution is even simpler and works without a timer.
When you want a container to destroy itself, place this code in one of
its events:
release This
Note that this is different than This.Release.
No problems with this technique under VFP 9 SP 1.
Good to hear from you,
Mal
existed. I don't know about 7 and 8 but VFP9
works ok
Allen
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Malcolm Greene
Sent: 22 October 2006 00:16
To: [EMAIL PROTECTED]
Subject: Can an container destroy itself?
I have some containers that users can
Allen,
you need to destroy the reference on the form they are put on.
Thanks! I'm using Ed Leafe's technique which works great in VFP 9:
release This
Malcolm
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance:
I have some containers that users can interactively add to a form to
display additional status info.
I would like to users to be able to double click on these containers to
destroy them. I thought that I could have called This.Destroy() in the
container's DblClick() event to have the container
On Oct 21, 2006, at 7:16 PM, Malcolm Greene wrote:
I would like to users to be able to double click on these
containers to
destroy them. I thought that I could have called This.Destroy() in the
container's DblClick() event to have the container destroy itself, but
this does not work.
Ed!
If you want an object to be destroyed, the one thing that works is: RELEASE
This
PERFECT! That's exactly the solution I was looking for!
Thank you!
Malcolm
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance:
8 matches
Mail list logo