Re: Function editor - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: Function editor
Date
Msg-id 416A5183.7040402@pse-consulting.de
Whole thread Raw
In response to Re: Function editor  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-support
Dave Page wrote:
>  
> 
> 
>>-----Original Message-----
>>From: Andreas Pflug [mailto:pgadmin@pse-consulting.de] 
>>Sent: 10 October 2004 21:16
>>To: Dave Page
>>Cc: tony.caduto@amsoftwaredesign.com; pgadmin-support@postgresql.org
>>Subject: Re: [pgadmin-support] Function editor
>>
>>Dave Page wrote:
>>
>>
>>>In previous apps like pgAdmin II I overcame this problem by only 
>>>saving the size/position if the form is normalised. If minimised or 
>>>maximised then I simply didn't bother writing the new sizes. Any 
>>>reason this will not work in the pga3 code?
>>
>>- There's no facility for that in wx
> 
> 
> wxTopLevelWindow::IsIconized
> wxTopLevelWindow::IsMaximized
> 
> Both wxFrame and wxDialog are derived from wxTopLevelWindow. Any reason
> these cannot be used?

You discussed yourself it's not easily done in dlgProperty.
wxFrame does handle sizes correctly (frmMain etc, still has the maximize 
button), wxDlg not. I won't spent a second to find out why.

Regards,
Andreas


pgadmin-support by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Function editor
Next
From: "Virgil Frum"
Date:
Subject: Cannot connect to postgresql 7.4.2