Results 1 to 7 of 7

Setting ToggleButton Value

Threaded View

  1. #1
    Registered User
    Join Date
    01-17-2006
    Posts
    14

    Setting ToggleButton Value

    Is there a way to set the value of a toggle button without triggering a click event? I have a set of three buttons that I want to deselect the other two options when any one is selected.

    ie.
    Private Sub ToggleButton1_Click()
    ToggleButton1.Value = True
    ToggleButton2.Value = False
    ToggleButton3.Value = False
    End Sub

    When I set the value of the other two it seems to trigger a click event on them as well.

    I have tried the example of exclusive toggle buttons on ms site (http://support.microsoft.com/?kbid=213714) but couldn't get it to work. It seemed to save all the calls to the sub until I closed the form.
    Last edited by fazstp; 01-31-2006 at 09:38 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1