aminaalavi
Programmer
I have created a dialog box. Once a button ( other than "OK" and "cancel"
on the dialog box is clicked, the dialog box closes. What do i do if i want ot keep the dialog box open even after the button is clicked. My code is given below:
sub showdlg1()
Begin Dialog UserDialog1 25, 7, 591, 316, "MAIN MENU"
ButtonGroup .ButtonGroup1
PushButton 217, 178, 155, 28, "HELP"
CancelButton 319, 243, 73, 17
Picture 208, 33, 179, 31, "mainmenu.BMP", 0
End Dialog
Dim mydialogbox1 As UserDialog1
answer1= Dialog(mydialogbox1)
Select Case answer1
Case 1
call helpdlgbox
End Select
end sub
Thanks
Amina
sub showdlg1()
Begin Dialog UserDialog1 25, 7, 591, 316, "MAIN MENU"
ButtonGroup .ButtonGroup1
PushButton 217, 178, 155, 28, "HELP"
CancelButton 319, 243, 73, 17
Picture 208, 33, 179, 31, "mainmenu.BMP", 0
End Dialog
Dim mydialogbox1 As UserDialog1
answer1= Dialog(mydialogbox1)
Select Case answer1
Case 1
call helpdlgbox
End Select
end sub
Thanks
Amina