Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Director 8 and Lingo Bible
FrameReady()
Making Stage fill screen or not
Cutting Puzzle Pieces
Go To The Frame - Blog about Lingo
Billenium Transitions Xtra v1.3
Easy Mui
keyboard input control
Add/Remove Line Feeds
UltimateNet Xtra
MediaMacros Xtras Mall
 

 

 

Behavior Yes/No Dialog Box

Added on 6/23/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

Rating:

Author: MediaMacros (website)

This is a simple "Yes/no" dialog box that returns the results as a text string of "Yes" or "No"

--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know.  :-)

on yesNodialogBox boxTitle, windowText  
  set theBox = new(xtra "MUI")
  set paramList= [buttons:#YesNo, title:boxTitle, message:windowText, movable:1, icon:#Question]  
  if objectP(theBox) then
    set answer = Alert(theBox, paramList)    
    case answer of
      1:return "Yes"
      2:return "No"
    end case    
  else
    alert "MUI Xtra is not available!"
  end if  
end

on getBehaviorDescription me
  return "Call this to get a standard Yes/No dialog box.  The result will be a string of "Yes" or "No""
end  

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail