Select Case tbrMainToolbar.Buttons.IndexOf (e.Button)
Case is = 0
Me.Close()
Case is = 1
txtMyTextbox.Visible = Not (tbbInvisible.Pushed)
I have also tried to use an if then statement on just the button I am writing code for but I can get it to disappear with the toggle button but not reappear. Any help with converting the Select case to work with VB 2008 or If then statement would be greatly appreciated.

New Topic/Question
Reply



MultiQuote



|