You are viewing our Forum Archives. To view or take place in current topics click here.
Need Help - VB Accept Button
Posted:

Need Help - VB Accept ButtonPosted:

TheHum
  • V5 Launch
Status: Offline
Joined: Apr 21, 20159Year Member
Posts: 36
Reputation Power: 1
Status: Offline
Joined: Apr 21, 20159Year Member
Posts: 36
Reputation Power: 1
Im not very experienced with VB so im not sure to to set the Accept Button for A ToolStrip button. When i try it on a normal button it works.

By the way im trying

AcceptButton = tsbtnGo

The error i get says

Additional information: Unable to cast object of type 'System.Windows.Forms.ToolStripButton' to type 'System.Windows.Forms.IButtonControl'.

Am i just being really stupid?(The name of the button is 100% correct)
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.