On 12/27/12 7:11 PM, Carey Gagnon wrote:
> I have the following in my frmSomeForm-code.py file:
>
> def afterSave(self):
> # This will only get called if the save succeeds
> dabo.ui.info("Record(s) successfully saved", title="Success")
>
> When it get displayed it's centered on the desktop. Is there a way to
> position it so it will display either relative to the form or x y screen
> co-ordinate?
It should automatically center on the current active form. You can explicitly
center
it on any form by sending the parent parameter like:
dabo.ui.info(msg, title="Success", parent=self)
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]