On 7/25/13 3:40 PM, Ricardo Aráoz wrote: > Two things I would like to change: > i) I would like that the dialog shows itself upon creation (now I have to call > dlg.show()). I tried with self.show() in the afterInitAll() but raises an > error.
dialogs should always be shown from the outside like you are already doing it. > ii) I would like to get the call to lectora.leerTjtas() outside of the dialog > class. > i.e. I would like to call it like this: > dlg = Progreso(self) > dlg.Gauge.Range = 1000 I think you want a modeless form instead of a modal dialog. The event loop is stopped while the modal dialog is shown. You can get around it somewhat with dabo.ui.yield() but the best thing to do is make it modeless and let it participate in the app's event loop. 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]
