hello
I'm using the ribon toolbar on a mdi parent form and it's working fine to navigate through the tabs, groups and tools
but when i select from the menu a mdi child and try to access the ribon elemnets it thow me the following error
Imediate window from vb net 2008
?mdiprincipal.TB1.Ribbon.Tabs.Count
Reference to a non-shared member requires an object reference.
do i need to make the object public? Thanks
PAVCBC,
Controls that are dropped onto a Form are, by default, marked private. You can either change the UltraToolbarsManager's Modifiers property to public or create a public property exposing the UltraToolbarsManager.
~Kim~
sorry for the question
where can i make my control public
already tried on mdi designer window updating this code
Public
WithEvents TB1 As Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
Thanks.
ok i just pass the control variable to the next form and worked
Thanks