I
Igor Zhavrid
I tried to bind BackColor property of TabPage
Protected Sub BindTP()
For i As Integer = 0 To tcMain.TabPages.Count - 1
tcMain.TabPages(i).DataBindings.Add(New Binding("BackColor", appSettings,
"MainFormColor"))
Next
end sub
The appSettings is some class, and its property MainFormColor is Color.
It's work fine, but when I do something like
appSettings.MainFormColor = Color.White
nothing is happens on PocketPC. Under Win2000 color of the tab pages changes
after selecting of some tab page.
How can I force refreshing of the binded property?
Protected Sub BindTP()
For i As Integer = 0 To tcMain.TabPages.Count - 1
tcMain.TabPages(i).DataBindings.Add(New Binding("BackColor", appSettings,
"MainFormColor"))
Next
end sub
The appSettings is some class, and its property MainFormColor is Color.
It's work fine, but when I do something like
appSettings.MainFormColor = Color.White
nothing is happens on PocketPC. Under Win2000 color of the tab pages changes
after selecting of some tab page.
How can I force refreshing of the binded property?