Is MUI is a free Xtra? Someone mention a while back that it came with D7 and
D8. I could not find it in D8.5 or on Macromedia site. They have a link to
MUI-GUI from WYSIWIG. Is this what you refer to? Thanks.
Toan.
----- Original Message -----
From: "Irv Kalb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 17, 2001 9:00 AM
Subject: Re: <lingo-l> Custom alert message boxes
> Welcome to the wonderful world of MUI (Macromedia User Interface).
> Here's a little routine (that I'm sure I got from someone else on
> this list) to do just what you want. It will return te number of the
> button clicked on:
>
> on ShowMuiAlert titleText, msgText, symButtons, defaultButtonNum, symIcon
> -- msgText - string
> -- titleText - string
> -- symButtons -- #OK, #OKCancel, #YesNoCancel, or #YesNo
> -- defaultButtonNum - integer - indicates which button is default
> -- symIcon optional Icon to show: #stop, #question, #question,
> #caution, #note, #error
>
>
> oMUIAlert = new (Xtra "Mui")
> if NOT objectP(oMUIAlert)then
> alert("Error creating MUI instance")
> debuggerBreak()
> end if
> set lDialogElements = [:]
> addProp(lDialogElements, #buttons, symButtons)
> addProp(lDialogElements, #default, defaultButtonNum)
> addProp(lDialogElements, #message, msgText)
> addProp(lDialogElements, #movable, TRUE)
> addProp(lDialogElements, #title, titleText)
> if not(voidp(symIcon)) then
> addProp(lDialogElements, #icon, symIcon)
> end if
>
> retVal = Alert(oMuiAlert, lDialogElements)
>
> if NOT integerP(retVal) then
> alert("BAD RETURN FROM MUI ALERT")
> end if
> oMUIAlert = VOID
> return retVal
> end ShowMuiAlert
>
>
> Irv
>
> At 10:01 AM -0500 10/17/01, Lomy Chiv wrote:
> >Does anyone know how I can create an Alert box that basically says
"please
> >restart your computer after bla bla program is installed" and then give a
> >OKCancel choice and have that execute without using a MIAW?
> >
> >Lomy Chiv
> >Multimedia Dept.
> >Intelecon
> >8818 John Carpenter Freeway
> >Dallas, Texas 75247
> >
> >214-571-0214 Voice
> >214-571-0100 FAX
> >
> >[EMAIL PROTECTED]
> >
> >
> >[To remove yourself from this list, or to change to digest mode, go to
> >http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> >email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> >Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
>
> --
>
> Lingo / Director / Shockwave development for all occasions.
>
> (Home-made Lingo cooked up fresh every day just for you.)
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]