[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Help!!

Posted on 1999-12-01
5
Medium Priority
?
164 Views
Last Modified: 2011-09-20
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).
0
Comment
Question by:pagriff
  • 3
  • 2
5 Comments
 

Author Comment

by:pagriff
ID: 2247868
This is not an assignment for me.  It's for my youngest son.  Any help you can give me is greatly appreciated.
0
 
LVL 2

Accepted Solution

by:
ggilman earned 600 total points
ID: 2247918
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
 
LVL 2

Expert Comment

by:ggilman
ID: 2247926
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
 
LVL 2

Expert Comment

by:ggilman
ID: 2250001
Also, you say "activate" under #2. Do you mean enable or select??
If first, enable
optCurrent(0).enabled = true
0
 

Author Comment

by:pagriff
ID: 2250077
This is what I needed.  Thanks!!!
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
New style of hardware planning for Microsoft Exchange server.
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Suggested Courses

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question