Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a ControlSource combo box
Message
From
24/09/2001 17:36:43
 
 
To
24/09/2001 17:26:10
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00560241
Message ID:
00560271
Views:
21
>>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 )
Previous
Reply
Map
View

Click here to load this message in the networking platform