Paul McNett wrote:
> Ed Leafe wrote:
>   
>> On Mar 1, 2009, at 6:11 PM, Ricardo Aráoz wrote:
>>     
>>> The corrected program (as per your suggestions) is below. It works ok,
>>> but besides the form, there is a "Dabo Application" window created  
>>> with
>>> the default menu. After I close my form the application window  
>>> persists,
>>> if I close the app window my forrm closes with it. Is there a way I  
>>> can
>>> get rid of this window and have only my form?
>>>       
>>      Sure, but you'll have to make a form class!  ;-)
>>
>>      I usually do this: define the class I want to use as the form that  
>> opens when my app is run, and then do:
>>
>> app.MainFormClass = MyCoolFormClass
>>     
>
> You don't technically need to make a form class:
>
> import dabo
> app = dabo.dApp(MainFormClass=None)
> app.setup()
> frm = dabo.ui.dForm(Caption="Heya")
> frm.show()
> app.start()
>
> Paul
>   
Thanks Paul.
I guess though by the way you phrased your reply that you agree with Ed
that I should subclass dForm?

Ricardo



--- 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]

Reply via email to