KryptonRibbon.SelectedTab.Name property is not exposed

Topics related to the Krypton Ribbon.

Moderators: Phil Wright, Chris Porter

KryptonRibbon.SelectedTab.Name property is not exposed

Postby DigitalDan3 » Wed Jan 30, 2008 2:40 am

I need to refer to the KryptonRibbon.SelectedTab.Name property but it is not exposed so I am using the "Text" property. Theoretically, different tabs could have the same "Text" value.

I tried to use the ContextName property but it return an empty string.

Dan
DigitalDan3
 
Posts: 14
Joined: Sat Dec 22, 2007 7:56 am

Postby Phil Wright » Wed Jan 30, 2008 10:04 am

You could always assign your string to the Tag property in the designer and then look for it at runtime. Not ideal but would work.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia

Re: KryptonRibbon.SelectedTab.Name property is not exposed

Postby KodeKrazy » Fri Jul 11, 2008 7:55 am

Try this,

Code: Select all
 Me.KryptonRibbon1.SelectedTab = Me.tabName


where tabName is the "Name" of your tab.

KK
KodeKrazy
 
Posts: 36
Joined: Tue Apr 01, 2008 12:36 am
Location: Flarta - The Sunshine State


Return to Krypton Ribbon

Who is online

Users browsing this forum: No registered users and 0 guests