Help!!

1.  Write the statement to store the value of a scroll bar's Min property in the Value property.  Use the name vsbCurrent for the scroll bar.
2.  Write the statements to activate the fast option button in the control array named optCurrent that has Index values ranging from 0 to 5.
3.  Write a Select Case statement in the object's Click event procedure that sets the caption of the label named lblStatus to Zero, One, or Two, depending on which option button is selected in the Opt3Way control array that has Index values 0, 1, and 2.
4.  Write the statement to deselect the option button named optThing(0).
5.  Write the statement to select the option button named optThing(1).
pagriffAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pagriffAuthor Commented:
This is not an assignment for me.  It's for my youngest son.  Any help you can give me is greatly appreciated.
0
ggilmanCommented:
1) vsbCurrent.Value = vsbCurrent.Min
2) What do you mean "fast option button"?? First?
optCurrent(0).value = True
3)Dim i as long
Dim j as long
for i = 0 to 2
  if opt3Way(i).value then
     j = i
  end if
next i
select case j
case 0:
  lblstatus.caption = "One"
case 1:
  lblstatus.caption = "Two"
case 2:
  lblstatus.caption = "Three"
end select
4) optThing(0).value = False
5) optThing(1).value = True

I'm going to lock this since I think I got 'em all but maybe #2. If you'd like to explain that one I'd be happy to finish it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ggilmanCommented:
Actually I think this is what u want for #3

Private Sub Opt3Way_Click(Index As Integer)
    Select Case Index
    Case 0:
        lblstatus.Caption = "One"
    Case 1:
        lblstatus.Caption = "Two"
    Case 2:
        lblstatus.Caption = "Three"
    End Select
End Sub
0
ggilmanCommented:
Also, you say "activate" under #2. Do you mean enable or select??
If first, enable
optCurrent(0).enabled = true
0
pagriffAuthor Commented:
This is what I needed.  Thanks!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware

From novice to tech pro — start learning today.