>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.