On Jun 19, 2008, at 1:53 PM, Steve Rose wrote:

> I am trying to create and use a custom dialog.  Bottom line is I get  
> a long
> traceback when I call the dialog using the createForm method.  Why  
> doesn't
> this work?:
>
> Open class designer.
>> From the menu select File, New Class..., OK/CancelDialog.
> Add a label, Caption = "Hello"
>> From menu, select Save as class. This pops up the dialog "Do you  
>> want to
> save, The contents of the form or Just the selection." The default  
> is "Just
> the selection" (seems opposite to me). I select Contents of the form.
> This calls a Save As dialog. I save it as HelloDialog.cdxml.
> Now I want to use the dialog.

        I think I have to change the 'Save as Class' prompt to something  
else. You're the third person who has been confused by this.

        'Save as Class' is for taking a part of your current design, and  
saving it as a separate class. If you have a a dialog class, and you  
select 'Save as Class', only the *contents* of the dialog are saved,  
not the dialog itself. If you want to save the dialog, you simply  
select 'Save'.

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to