Site hosted by Angelfire.com: Build your free website today!

questdlgr

PURPOSE ^

QUESTDLGR Modification of questdlg for upto 6 buttons

SYNOPSIS ^

function ButtonName=questdlgr(Question,Title,Btn1,Btn2,Btn3,Btn4,Btn5,Btn6,Default)

DESCRIPTION ^

QUESTDLGR Modification of questdlg for upto 6 buttons

 Example:
 questdlgr('Please select the Type of the Input data file',['Input DATA procedure is required for ' upper(mfilename) ' to run:-) Rezaul'],'inputmfile.m file', 'inputdata.dat file','inputdatafile.mat','Any other file','Cancel','inputdata.dat file');
 inputbtn = questdlgrk('Please select the Clear Workspace option:',['CLEARR:-) Rezaul'],'Clear All', 'Keep COM','Clear COM','Cancel','REZA','Hasi','Cancel');
  ButtonName=questdlgr('What is your wish?', ...
                      'Genie Question', ...
                      'Food','Clothing','Money','Money');
  switch ButtonName,
    case 'Food',
     disp('Food is delivered');
    case 'Clothing',
     disp('The Emperor''s  new clothes have arrived.')
     case 'Money',
      disp('A ton of money falls out the sky.');
  end % switch

  See also TEXTWRAP, INPUTDLG, INPUTDLG, QUESTDLG.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SUBFUNCTIONS ^

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004