I am trying to use the radiogroup control.  I have 4 choices to choose
from.  If the answer is wrong, I have it note that it is incorrect.  I then
want it to preserve the dialog with the question and choices so you can
make another selection..  Below is the code I have now, minus my attempt at
preserving the dialog.  Any help would be apprciated.

Sub california

Dim choice as smallint

Dialog
Width 60x Height 30y

Control GroupBox
Width 55x Height 25y

Control StaticText
Position 3x, 3y
Title "What is the capital of California?"

Control RadioGroup
Position 3x, 4y
ID 32
Title "San Diego;Sacramento;Los Angeles;San Francisco"
Value 1
Into choice

Control OKButton
Position 20x, 27y


Control CancelButton
Position 30x, 27y

Do Case choice
Case 1
   Note "Incorrect"
Case 2
   Note "Correct"
Case 3
   Note "Incorrect"
Case 4
   Note "Incorrect"
End Case


End sub

John




---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11878

Reply via email to