By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,515 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,515 IT Pros & Developers. It's quick & easy.

Toggle buttons

P: n/a
Hi

How can I make some of the buttons on BindingNavigator toggle i.e. when one
button is clicked others unclick automatically?

Thanks

Regards
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Set the button autocheck to true. In the click event for the
button manually uncheck the other buttons. Here is an example of how I did
it in one of my projects. Make sure you place code in every buttons click
event.

Private Sub tsDatagrid_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles tsDatagrid.Click
If tsDatagrid.Checked = True Then
tsAll.Checked = False
tsFAQ.Checked = False
tsVB.Checked = False
tsAN.Checked = False
lstTitles.SelectedIndex = 0
DisplayData()
End If
End Sub

Ken
-----------------
"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:Of*************@TK2MSFTNGP11.phx.gbl...
Hi

How can I make some of the buttons on BindingNavigator toggle i.e. when
one button is clicked others unclick automatically?

Thanks

Regards

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.