Results 1 to 4 of 4

Thread: problem with option button [resolved]

  1. #1

    Thread Starter
    Addicted Member sweet_dreams's Avatar
    Join Date
    Apr 2005
    Location
    Poland, Lodz
    Posts
    189

    Resolved problem with option button [resolved]

    hi,

    i have form with 2 option buttons. when the form is shown one of option buttons is checked. How can i make that any of option buttons will NOT be checked when the form is loaded

    thanks in advance for help.

    sweet_dreams
    Last edited by sweet_dreams; Nov 5th, 2005 at 01:58 PM.

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: problem with option button

    Try this:

    VB Code:
    1. Option Explicit
    2.  
    3. Private Sub Form_Activate()
    4.   Option1.Value = False
    5.   Option2.Value = False
    6. End Sub

  3. #3

    Thread Starter
    Addicted Member sweet_dreams's Avatar
    Join Date
    Apr 2005
    Location
    Poland, Lodz
    Posts
    189

    Re: problem with option button

    thx dglienna
    it was so easy...
    ...and I am so stupid sometimes

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: problem with option button

    Last year I thought it wasn't possible, but MartinLiss convinced me that it was possible, so I don't think it is at all stupid. Just logical!

Posting Permissions

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



Click Here to Expand Forum to Full Width