BindingNavigator buttons are disabled by default?

cjard

Well-known member
Joined
Apr 25, 2006
Messages
7,081
Programming Experience
10+
I'm having real difficulty understanding this

I have a form with two BindingNavigator strips on
In design mode ALL buttons are set to enabled

the client BindingNav is bound through the binding source, to a filled client datatable
the address binding nav is bound through the binding source to a datarelation of the client data table (relating clients and addresses)

this setup works fine

both tables are filled with multiple rows


the client binding strip is disabled by default, even if I do this in the immediate window:
?(New frmCLient).CLientBindingNavAddItem.Enabled
false
?(New frmCLient).AddressBindingNavAddItem.Enabled
true


i set a watch to see when the value changes to false.. but it seems to start out as false at the start of the app, whereas the other (address) nav starts out as true (enabled)

can anyone tell me why one is disabled and the other not? very confused
 
The BindingSource of the Client nav bar was not set. Someone arrange a brain transplant for me..
 
Back
Top