I need to cycle through all the binding sources on a form and get the .current for each.
After a fair bit of googling i found a code sample which shows you to cycle though the components.components collection and direct cast the objects to a binding source type.
This is fine if the code is called from within the form using my.components.components
however i need to call the code from within in a class which has a property of type Form
If i then try to access the forms components collection it isnt there?
Does anyone have any ideas?
After a fair bit of googling i found a code sample which shows you to cycle though the components.components collection and direct cast the objects to a binding source type.
This is fine if the code is called from within the form using my.components.components
however i need to call the code from within in a class which has a property of type Form
If i then try to access the forms components collection it isnt there?
Does anyone have any ideas?