Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container Click and Contained Button Click
Message
 
To
08/06/2001 08:31:22
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00516821
Message ID:
00516826
Views:
9
This message has been marked as a message which has helped to the initial question of the thread.
Renoir,

Since you clicked on the command button contained in a container, the command button's click() event fires. If you click() in a void part of the container, if it is large enough, the container's click() event will fire. If you desire that the click() event of the container fire as well, you can issue a This.Parent.Click() from the command buttons. Also, you may want to take a look at NODEFAULT and DODEFAULT() in the online help.

HTH
Doug

>I added some wait windows to some of the methods of objects to learn when what fires. I found that that the click of a button contained in a container fired, but the click of the container itself did not. Is it like a class where the child code overrides the class code by default? Just curious... Thanks!
>
>Regards, Renoir
Previous
Reply
Map
View

Click here to load this message in the networking platform