OK i figured it outIt's a little complex so stay with me
1) CHange the Usercontrols DataBindingBehavior to vbSimpleBound in the propertys window.
2)Make sure your cursor is in the code window for your usercontrol, preferably in one of the Property procedures of the property you wish to reflect the bound data.
3) Choose the Tools, Procedure Attributes option form the VB menu.
4) On the resulting dialog box, make sure the property that will reflect the bound data is chosen in the names field.
5) CLick the Advanced button
6) in the databinding section at the bottom of the dialog, check the box labeled "Property is databound", and then chekc the box labeled "This property binds to datafield"
That should create the Dtabound and datasource propertys you need![]()




It's a little complex so stay with me
Reply With Quote