Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parentform?
Message
From
13/02/2002 11:59:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Parentform?
Miscellaneous
Thread ID:
00619569
Message ID:
00619569
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform