Ed Leafe wrote:
> On Oct 29, 2008, at 7:52 PM, Bob Mathias - Sysero llc Dev wrote:
> 
>> I am still having problems with
>>
>> 'Add from Data Environment' and in the Select Data Connection window  
>> the
>> New Connection File: Button is grayed out and has
>>    'Not available in Gtk'.
> 
>       This is a fundamental limitation of Gtk. You cannot have a modal  
> window creating another modal window.

I haven't found this to be the case:

  1 import dabo
  2 app = dabo.dApp(MainFormClass=None)
  3 app.setup()
  4 
  5 class D1(dabo.ui.dDialog):
  6   def afterInit(self):
  7     but = dabo.ui.dButton(self, Caption="Launch", OnHit=self.onButtonHit)
  8     self.Sizer.append(but)
  9 
 10   def onButtonHit(self, evt):
 11     d2 = dabo.ui.dDialog(self, Caption="hey")
 12     d2.show()
 13 
 14 d1 = D1()
 15 d1.show()

Indeed, some early versions of my commercial app had modal dialogs at least 2 
deep, although I don't believe I do that anywhere anymore.

Paul



_______________________________________________
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