Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parentform?
Message
De
13/02/2002 11:59:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Parentform?
Divers
Thread ID:
00619569
Message ID:
00619569
Vues:
52
I'm building a builder for a certain type of command button. I need to do is check some properties of the form that the button is on. Only problem is, the button may be on a pageframe or in a container several levels from the form, so using an aselobj() and then a .parent won't work. What I need is a "parentform" keyword. I thought that aselobj() with an optional parameter of 1 would do the trick, but that only returns the container that the selected control is in. Also thought about amouseobj() with a 1 parameter, but sometimes when you right-click on the button and go to builder, the mouse is now off of the form, so that won't work either. Any ideas other than writing a recursive tree walker that will keep going until the form is found?
Brian McCord
President
Sagacity Systems
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform