Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select an object in a builder
Message
De
29/03/2007 14:13:00
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/03/2007 13:10:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01209824
Message ID:
01209979
Vues:
18
>>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.

I'd never expect SetFocus() to work on an object in editing mode!

I hope to learn the rest of VFP before 2015 :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform