Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select an object in a builder
Message
From
29/03/2007 13:10:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/03/2007 11:43:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01209824
Message ID:
01209914
Views:
16
This message has been marked as the solution to the initial question of the thread.
>I've got a few forms with a lot of controls, and muddling through them and related metadata I found it quite easy to write builders for anything I wanted when I had a control selected and needed to get from there to metadata. I had all the properties of the object at hand, and could seek, insert, update etc from there.
>
>The problem is how to reverse this. I'm sitting on a metadata record, and it's no problem at all to write yet another builder to get a reference to any control I want, based on a couple of properties (like controlsource). But when I switch back to the editing window, there's no way to have that found control selected, and its PEMs showing in the PEM window. I know I could just display the PEMs of the reference... but why should I, when we have the PEM window.
>
>So, how to do this? How do I control the class editor to tell it which page of a pageframe to bring up, and which control on it should be selected. Or, alternately, how do I set the value of the top combo in the PEM window?

Dragan,
You can setfocus() to select a single object.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform