Updated with some idea got it from everybody :)
This code will be more style type dialog box for error,warning and info
Means normal maya confirmDialogBox is bit boring .. so nothing new this script
use a layout ui and simple commands .. Some Feel like Rich UI ;)
Usage :
//string $getDialogVal=confirmDlg(title,message,error number,number of buttons,dialog width,button labels)
Real Time Code Will Look Like This
string $getCurType=confirmDlg("Dialog Test ???","Where You Want To Go !!!",3,4,320,"Accept All-Reset All-Clear All-Exit");
Arg List Looks like this
1 title = dialog title (eg: "Error !!!")
2 message = message displayed in the dialog box (eg: "Are you mad ???")
3 error number = means the kind of dialog box ( 1 means error , 2 means warning , 3 means info)
4 number of buttons = means how many buttons you want in dialog (eg : 4)
5 dialog box width = the total dialog box width (eg: 320)
6 button labels = means the arguments like "Yes" , "No" , "Cancel" but please note this
arguments should be passed like this "Yes-No-Cance"
I dont think so its a big script or funda one :P .. but ;)
leave your comments please
Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.
