|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Tab page text in boldpage text to bold when I change the index. I have done someting like this without any result. Can any one help me out Private Sub TabControl1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabControl1.SelectedIndexChanged CType(sender, TabControl).SelectedTab.Font = New Font(Me.Font.Bold, FontStyle.Bold) CType(sender, TabControl).SelectedTab.Text = "test" End Sub /Thanks in Advance Prash You can't without drawing it yourself. Haven't tested it, but...
http://www.vbforums.com/showthread.php?t=355093 Prashwee schreef: Show quoteHide quote > I have added a TabControl to my Application lately. I need to set the tab > page text to bold when I change the index. > I have done someting like this without any result. > > Can any one help me out > Private Sub TabControl1_SelectedIndexChanged(ByVal sender As System.Object, > ByVal e As System.EventArgs) Handles TabControl1.SelectedIndexChanged > > CType(sender, TabControl).SelectedTab.Font = New Font(Me.Font.Bold, > FontStyle.Bold) > > CType(sender, TabControl).SelectedTab.Text = "test" > > End Sub > > > > /Thanks in Advance > > Prash
what is a static property and a cursor question
Delete Directory not working Not understanding simple concept Updating Datagridview VB.NET debug error Data entry into ComboBox Need help with CreateFile API function mutex Installed version of Access need convert a value (integer) into bytearray with bits 0-31 |
|||||||||||||||||||||||