On 11/6/10 11:10 AM, Carey Gagnon wrote:
> During confirmChanges() the areYouSure() dialog is called. The default
> dialog title shows Dabo Application.
You should change your application's name by doing this after you've
instantiated
your dApp() object:
app.setAppInfo("appName", "My Super Cool App")
Now the titles of dabo-generated messageboxes will show "My Super Cool App"
instead
of the default "Dabo Application".
> If there a way to change this without actually changing line 162 in dForm
> from
> response = dabo.ui.areYouSure(queryMessage, parent=self)
> to
> response = dabo.ui.areYouSure(queryMessage, title="Unsaved Changes",
> parent=self)
>
> I know changing the frame work code in a no no.
Well, you could override the complete confirmChanges() method in your own dForm
subclass, but you probably want most of the existing functionality so that
would be a
no-no too.
Paul
>
> Carey
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
> _______________________________________________
> 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]
_______________________________________________
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]