Thanks Uwe - sounds like just what I want - I'll give it a go!
           Rodgy
----- Original Message ----- 
From: "Uwe Grauer" <[email protected]>
To: "Dabo Users list" <[email protected]>
Sent: Wednesday, January 14, 2009 8:06 PM
Subject: Re: [dabo-users] Modal Forms


> Roger Lovelock wrote:
>> Hi,
>>    I'm looking for a workaround!
>> I want some of the forms in my application to be modal, but also to have 
>> a menubar and a status bar. Modal forms are actually dialogs - so no 
>> menubars or status bars. I'm sure someone out there has a simple 
>> workaround (most of the options I can dream up feel a bit too 
>> complicated).
>>    Any suggestions appreciated.
>>              Rodgy
>>
>
> Here is what i do:
>
> In the parent form:
>    def callEditForm(self, newrecmode):
>        frm = EditForm.EditForm(ParentForm=self, ...)
>        self.hide()
>        frm.show()
>
> In the child form:
>    def save(self, dataSource=None, closeafter=False):
>        self.save(dataSource=dataSource)
>        parent = self.ParentForm
>        if parent != None:
>            parent.show()
>        self.close()
>
> Now the parent gets hidden while showing the childform.
> The child is somhow modal to the parent.
>
> Uwe
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
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/c27b6e8e5c0e4cf1a89b0b60dbe78...@roger

Reply via email to