Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1176
Access ribon tool bar from external form
posted

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

Parents
  • 5389
    Suggested Answer
    posted

    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~

Reply Children