[lazarus] Forms BorderStyle and Default Font of Canvas (win32)

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Aug 27 04:17:29 EDT 2003

On Wed, 27 Aug 2003 00:27:58 -0300
Karl Brandt <pascalive at bol.com.br> wrote:

> Here's a patch that implements the BorderStyle of forms. I took as 
> reference the Delphi appearance. I didn't get how to do bsNone.
> It also make GetStockObject returns DEFAULT_GUI_FONT when asked for 
> SYSTEM_FONT with a small hack, although i think that the best way is to 
> change LCL (at Tcanvas and TPromptDialog) to uses DEFAULT_GUI_FONT 
> instead of SYSTEM_FONT which is more intuitive/logical.

What is the difference between them?

> This will not affect gtk, since DEFAULT_GUI_FONT redirects to SYSTEM_FONT.
> BTW:is necessary to call SelectObject twice in TPromptDialog.LayoutDialog?


> Mattias, can you change BorderStyle of Object Inspector to 
> bssizetoolwin? (like in Delphi)

Yes. Under gtk it makes no difference.


More information about the Lazarus mailing list