Re: Win32Lib: Creating Custom Dialog Box
- Posted by cklester <cklester at yahoo.com> Apr 19, 2004
- 379 views
Jonas Temple wrote: > > cklester wrote: > > > > How do I create a dialog box that will return a value?> > > Here's how I created one, cliffnotes version: > > 1. Create your dialog window definition. > 2. Write a routine that will display the dialog and return the value: > > global function ecaut_getSaveObjectName(sequence system_name, sequence > library_name, > sequence object_name, sequence > object_type, > sequence extended_types, sequence > name_label, > atom options) > openDialog(ObjectBrowseWin) > -- If the user cancel the dialog return a 0 > if open_dlg_cancel then Where is open_dlg_cancel defined? Is that a Win32Lib constant? Is that a global var? Thanks Jonas! -ck