Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a ControlSource combo box
Message
De
24/09/2001 17:36:43
 
 
À
24/09/2001 17:26:10
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00560241
Message ID:
00560271
Vues:
22
>>I am setting up some BuilderB builders & would like to scan the DataEnvironment of my form ( during development - modify mode ) to populate my ControlSource combo box. I would like it to perform just like the properties combobox.
>>
>>Any one created a component for this & if not can they point me in a direction?
>>
>>I tried looking at the dataenvironment property sheet but could find no collection for the cursors. I was going to use the AddItem() method in the component's init event and load it from an afield() array. But, I couldn't find a way to scan the available cursors. Obviously, this is possible as it is on the standard property sheet - I'm just myopic & don't see it.
>
>I've just uploaded an article on how to make a builder which will do something with dataenvironment. Just look at recent articles or click on my name. The code there doesn't do a thing with controls, though, but it gets you an object reference for each cursor in the DE, and you can take over from there.

Thanks Dragan that looks like it will work perfectly for what I want & I might just pretty up my cursor names while I am there.

Again Thanks

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform