Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » tabpage Collapse All
Subject Author Date
Muhammad Siddique Jul 6, 2010 - 2:16 AM

i am using the Elegent Ribbon controls in my desktop project but here the tap page show() method does not work ,
I want to show the tape page tabpageEmployee when i click on btnNew, but it does not work , can anyone help me

Paddy Dec 30, 2010 - 11:28 PM

i am wanting to do something similar and the tabpage is not selected.  any ideas?


    Private Sub pbAddReferrerType_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pbAddReferrerType.Click

        ’launch the form and auto select the TabPage

        ’frmApplicationSettings.TabControl_UserSettings.TabPage_ReferrerType

        ShowFormInMDI(frmApplicationSettings, frmMain)

        frmApplicationSettings.TabControl_UserSettings.SelectedTabPage.TabIndex = 6

    End Sub

Paddy Dec 31, 2010 - 4:28 AM

got it to work, finally.

Technical Support Jul 6, 2010 - 11:19 AM

If you mean a ribbon tab page, just use the code below:

ribbon1.CurrentTabPage = tabpageEmployee;
If you mean a tab control:
tabControl1.SelectedTabPage = tabpageEmployee;