Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-11

bug in forms.pp

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Darek Mazur: I found bug in FORMS.PP if procedure TApplication.Initialize; is invoke…
Show quoted text 7 lines
I found bug in FORMS.PP if procedure TApplication.Initialize; is invoke CNSendMessage(LM_SCREENINIT, nil, @ScreenInfo); if should be invoke early, for example in tScreen.create()

That would bite with some initialization sections.

Show quoted text 5 lines
because in function is initialize variable PIXELSPERINCH now tScreen.PIXELSPERINCH has value 0 I notice that in tForm.pixelsperinch is dummy

I have implemented them via GetDeviceCaps. Is this function a workaround in the gtk intf or already implemented?

Darek PS. I have 2 small petition 1. please rebuilt MAKEFILE in LCL\interfaces

Done

Show quoted text 9 lines
2. please add of top //include in win32int.pp in files {$I win32proc.inc} {$I win32listsl.inc} {$I win32callback.inc} {$I win32object.inc} {$I win32winapi.inc} thats help me in my work

I will leave this for Micha.

Mattias

Reply by email

Darek Mazur

I found bug in FORMS.PP

if procedure TApplication.Initialize;
is invoke CNSendMessage(LM_SCREENINIT, nil, @ScreenInfo);

if should be invoke early, for example in tScreen.create() because in function is initialize variable PIXELSPERINCH

now tScreen.PIXELSPERINCH has value 0

I notice that in tForm.pixelsperinch is dummy

Darek

PS. I have 2 small petition
1. please rebuilt MAKEFILE in LCL\interfaces
2. please add  of top //include in win32int.pp
in files
{$I win32proc.inc}
{$I win32listsl.inc}
{$I win32callback.inc}
{$I win32object.inc}
{$I win32winapi.inc}

thats help me in my work

Reply by email

Micha Nelissen
to Darek Mazur
Mattias Gaertner wrote 16 lines
On Mon, 17 Nov 2003 23:10:31 +0100 "Darek Mazur" wrote: >2. please add of top //include in win32int.pp >in files >{$I win32proc.inc} >{$I win32listsl.inc} >{$I win32callback.inc} >{$I win32object.inc} >{$I win32winapi.inc} > >thats help me in my work I will leave this for Micha.

Done.

Micha.

Reply by email