Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get to a controls using in a complicated form w/
Message
From
27/11/2006 08:25:56
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01172607
Message ID:
01172626
Views:
20
This message has been marked as the solution to the initial question of the thread.
Hi Bhavbuti,

is this during design time? You could use some code to loop through all the controls on your form and list out any that match the name you are looking for.

I use code like oX = SYS(1270) to get an object reference to things on forms and then you can check the ox.controls to go through each of the controls and see if the name matches the one you are looking for, then display the "path" to that control.

>Hi all
>
>I have complicated form, with lots of pages and container. Now I have the control name cmd_button2, don't know where is it. I have done this before using Properties cbo to page down through all the options.
>
>To complicate this, I have also noticed that once a control is inside a container it does not need a unique name.
>
>Typing in the cbo of Properties is not really helpful I can type c m pause d and I ended with the control starting with a d.
>
>Is there an easy way to get to the this control?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform