Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Another Dialog Question
#5
Change case 6 to this and you'll be rockin'...

Function dialog_473
Code:
Copy      Help
case 6
,Acc Yah=acc("Yahoo" "RADIOBUTTON" win("Form" "#32770") "Button" "" 0x1001)
,int state1=Yah.State()
,Acc Goo=acc("Google" "RADIOBUTTON" win("Form" "#32770") "Button" "" 0x1001)
,int state2=Goo.State()
,Acc MSN=acc("MSN" "RADIOBUTTON" win("Form" "#32770") "Button" "" 0x1001)
,int state3=MSN.State()
,out state1
,out state2
,out state3
,if(state1=1048576 and state2=1048576 and state3=1048576)
,,mes("You need to select a Web Page ")
,if(state1=1048592)
,,run "http://www.yahoo.com"
,if(state2=1048592)
,,run "http://www.google.com"
,if(state3=1048592)
,,run "http://www.google.com"

This is how I would do it, don't know if there is a better way.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)