On Tue, 14 Mar 2006 13:43:52 +0100
Vincent Snijders <[EMAIL PROTECTED]> wrote:

> Mattias Gaertner wrote:
> > 
> > Yes. Instead of IFDEFs we should add an interface function to ask for
> > the capabilities of the current interface. This way the IFDEFs do not to
> > be checked every time an interface changed. I'm not sure, what
> > capabilities are needed. In case of MessageDlg it would be sufficient to
> > know: - if Canvas.TextExtent and GetPreferredSize of TWSButton works.
> > Then the calculated needed ClientWidth/Height is correct.
> 
> Why doesn't the MessageDlg form use an AutoSize label and AutoSized form?
> Same  question for the PromptDialog etc.

Historical reasons.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to