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.
Vincent.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives