Ed says:
If you are running under Gtk, that will be greyed out due to a limitation of Gtk: one modal form cannot create a second modal form. You'll have to create the connection first.
But I can't reproduce this finding with this code:
import dabo app = dabo.dApp(MainFormClass=None) app.setup() dlg1 = dabo.ui.dDialog() but_dlg1 = dabo.ui.dButton(dlg1, Caption="launch 2nd modal form") dlg1.Sizer.append(but_dlg1) def onHit_but_dlg1(evt): dlg2 = dabo.ui.dDialog(dlg1, Caption="2nd modal form") dlg2.show() but_dlg1.bindEvent(dabo.dEvents.Hit, onHit_but_dlg1) dlg1.show()
Paul
