Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mui alert help

Status
Not open for further replies.

fjp476

Technical User
Dec 28, 2001
113
US
Hi, I am trying to make a quit button that has an Alert box that has 2 buttons, OK and Cancel. I'd like for the OK button to send them to a marker that I've named exit and the cancel button to just close the Alert box and leave them where they were. I have this code so far:

n mouseup me

gMUI = new(xtra "mui")
list = [:]
addProp list, #buttons, #OKCancel
addProp list, #default, 1
addProp list, #message, "Please make a note the section that you are in as indicated above so that you can return to this section from the Menu page."
addProp list, #moveable, TRUE
res = Alert(gMUI,list)
gMUI = 0
return res
end
My problem is that if I hit either button all it does is close the alert box. Also it says Null on the blue border of the alert box. ANy help willl be greatly appreciated. Thanks, Frank

Cheers~Frank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top