Results 1 to 2 of 2

Thread: verify optionbutton fast

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Sao Paulo - SP - BRAZIL
    Posts
    65

    Post

    How do I do to verify which optionbutton it is with value true without using " if elseif "?

    ------------------
    The blessing of God enriches and it doesn't increase pains

  2. #2
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303

    Post

    Try something like this

    for a=0 to optionbuttons.count-1
    if optionbuttons(a).value=true then
    'whatever you want it to do
    next a

    Of course the optionbuttons must be in a control array


    ------------------
    Thanks in advance for any help provided.

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