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
29/11/2006 11:02:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01172607
Message ID:
01173295
Views:
15
>Hi Dragan
>
>>You just gave me the idea to write this little builder:
>
>Thanks a lot for the builder. I tried it when I have selected a very deep seated control and I ran your builder and I can see the whole path. Now I can click on another and judging from the pathname to the control I can guess it is a sibling control or not.
>
>Back to the original problem of this thread, what changes would you suggest I do after I get a textbox to accept a control name so that it returns the path(s) to the same named controls. Then maybe a something like the old _CUROBJ variable is set and the control is highlighted.

I don't know of a way to programmatically select a different control while editing. One thing that would be possible would be to traverse recursively all the controls on the form, looking for the ones with the same name as the currently selected one, then have some sort of selection mechanism (I'd probably just call my alert() with each one's full name on each of the commandbuttons), and then - well, can't select it, but can paint it yellow, or do something else to make it stand out. See my recurse class.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform