Sign in Join

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

Mailing lists / lazarus / 2008-06

TMemo doesn't have OnMouseWheelxxx events

13 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi,

Why doesn't TMemo have OnMouseWheel, OnMouseWheelUp and OnMouseWheelDown events? Yet TListBox does. Is this by design, or an oversight?

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Kostas Michalopoulos
to Graeme Geldenhuys
Why doesn't TMemo have OnMouseWheel, OnMouseWheelUp and OnMouseWheelDown events? Yet TListBox does. Is this by design, or an oversight?

Probably an oversight since wheel events were added a little later and even without my previous patch (see the topic about wheel events in non-TWinControl controls), TMemo was a descedant of TWinControl. I attach a patch against revision 15313 which adds these properties. I tested them and they work fine.

Kostas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmemo-mousewheel-events.patch
Type: application/octet-stream
Size: 434 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080605/33186e4a/attachment.obj

Reply by email

Mattias Gaertner
to Kostas Michalopoulos: Probably an oversight since wheel events were added a little later and even without my…
Show quoted text 9 lines
> Why doesn't TMemo have OnMouseWheel, OnMouseWheelUp and > OnMouseWheelDown events? Yet TListBox does. Is this by design, or an > oversight? Probably an oversight since wheel events were added a little later and even without my previous patch (see the topic about wheel events in non-TWinControl controls), TMemo was a descedant of TWinControl. I attach a patch against revision 15313 which adds these properties. I tested them and they work fine.

Thanks.

Mattias

Reply by email

Guadagnini David
to Kostas Michalopoulos: Probably an oversight since wheel events were added a little later and even without my…

Dear,

I try to compile last svn release (15335) with make clen all and have the follow error:

LResources.pp(4813,26) Error: Identifier not found "SParExpected"
LResources.pp(4892,48) Error: Identifier not found "SParInvalidFloat"
LResources.pp(4921,32) Error: Identifier not found "SParInvalidInteger"
LResources.pp(4933,47) Error: Identifier not found "SParUnterminatedString"
LResources.pp(4934,48) Error: Identifier not found "SParUnterminatedString"
LResources.pp(5024,32) Error: Identifier not found "SParWrongTokenType"
LResources.pp(5031,34) Error: Identifier not found "SParWrongTokenSymbol"
LResources.pp(5046,51) Error: Identifier not found "SParLocInfo"
LResources.pp(5062,37) Error: Identifier not found
"SParUnterminatedBinValue"
LResources.pp(5106,26) Error: Identifier not found "SParExpected"
LResources.pp(5123,30) Error: Identifier not found "SParInvalidFloat"
LResources.pp(5164) Fatal: There were 11 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `C:/lazarus/lcl'
make: *** [lcl] Error 2

Note: I work on Windows XP professional service pack 2 with free pascal 2.2.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sw_dept.vcf
Type: text/x-vcard
Size: 257 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080606/c4c93195/attachment.vcf

Reply by email

Mattias Gaertner
to Guadagnini David
Show quoted text 6 lines
Dear, I try to compile last svn release (15335) with make clen all and have the follow error: LResources.pp(4813,26) Error: Identifier not found "SParExpected"

I fixed a few things for compilation with fpc 2.2.0. Please test with lazarus r15340.

Mattias

Show quoted text 20 lines
LResources.pp(4892,48) Error: Identifier not found "SParInvalidFloat" LResources.pp(4921,32) Error: Identifier not found "SParInvalidInteger" LResources.pp(4933,47) Error: Identifier not found "SParUnterminatedString" LResources.pp(4934,48) Error: Identifier not found "SParUnterminatedString" LResources.pp(5024,32) Error: Identifier not found "SParWrongTokenType" LResources.pp(5031,34) Error: Identifier not found "SParWrongTokenSymbol" LResources.pp(5046,51) Error: Identifier not found "SParLocInfo" LResources.pp(5062,37) Error: Identifier not found "SParUnterminatedBinValue" LResources.pp(5106,26) Error: Identifier not found "SParExpected" LResources.pp(5123,30) Error: Identifier not found "SParInvalidFloat" LResources.pp(5164) Fatal: There were 11 errors compiling module, stopping Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `C:/lazarus/lcl' make: *** [lcl] Error 2 Note: I work on Windows XP professional service pack 2 with free pascal 2.2.0

Mattias

Reply by email

Guadagnini David
to Mattias Gaertner
Show quoted text 7 lines
I fixed a few things for compilation with fpc 2.2.0. Please test with lazarus r15340. Mattias

Thanks Mattias but not work:

Compiling LazConfigStorage.pas
LResources.pp(4933,47) Error: Identifier not found "SParUnterminatedString" LResources.pp(4934,48) Error: Identifier not found "SParUnterminatedString" LResources.pp(5046,51) Error: Identifier not found "SParLocInfo" LResources.pp(5062,37) Error: Identifier not found "SParUnterminatedBinValue"
LResources.pp(5164) Fatal: There were 4 errors compiling module, stopping Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `C:/lazarus/lcl'
make: *** [lcl] Error 2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sw_dept.vcf
Type: text/x-vcard
Size: 257 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080606/407a8897/attachment.vcf

Reply by email

Andrea Mauri
to Guadagnini David

same error for me.
fpc 2.2.0 lazarus r15340, win xp sp2.
andrea

Guadagnini David ha scritto:

Show quoted text 30 lines
> I fixed a few things for compilation with fpc 2.2.0. Please test with > lazarus r15340. > > > Mattias > > Thanks Mattias but not work: Compiling LazConfigStorage.pas LResources.pp(4933,47) Error: Identifier not found "SParUnterminatedString" LResources.pp(4934,48) Error: Identifier not found "SParUnterminatedString" LResources.pp(5046,51) Error: Identifier not found "SParLocInfo" LResources.pp(5062,37) Error: Identifier not found "SParUnterminatedBinValue" LResources.pp(5164) Fatal: There were 4 errors compiling module, stopping Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `C:/lazarus/lcl' make: *** [lcl] Error 2 _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Andrea Mauri
to Andrea Mauri

I obtain the same error on Ubuntu Hardy. lazarus svn 15340 fpc 2.2.0 andrea

Andrea Mauri ha scritto:

Show quoted text 44 lines
same error for me. fpc 2.2.0 lazarus r15340, win xp sp2. andrea Guadagnini David ha scritto: >> I fixed a few things for compilation with fpc 2.2.0. Please test with >> lazarus r15340. >> >> >> Mattias >> >> >> > Thanks Mattias but not work: > > Compiling LazConfigStorage.pas > LResources.pp(4933,47) Error: Identifier not found > "SParUnterminatedString" > LResources.pp(4934,48) Error: Identifier not found > "SParUnterminatedString" > LResources.pp(5046,51) Error: Identifier not found "SParLocInfo" > LResources.pp(5062,37) Error: Identifier not found > "SParUnterminatedBinValue" > LResources.pp(5164) Fatal: There were 4 errors compiling module, stopping > Fatal: Compilation aborted > make[1]: *** [alllclunits.ppu] Error 1 > make[1]: Leaving directory `C:/lazarus/lcl' > make: *** [lcl] Error 2 > > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Guadagnini David
to Mattias Gaertner
Show quoted text 7 lines
Thanks for testing. I added the three strings. I wonder, where I put my fpc 2.2.0 deb. Mattia

Thanks but another one:

Compiling LazConfigStorage.pas
LResources.pp(5062,37) Error: Identifier not found "SParUnterminatedBinValue"
LResources.pp(5164) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `C:/lazarus/lcl'
make: *** [lcl] Error 2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sw_dept.vcf
Type: text/x-vcard
Size: 257 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080606/acea134a/attachment.vcf

Reply by email

Mattias Gaertner
to Guadagnini David
Show quoted text 14 lines
> > Thanks for testing. > I added the three strings. > > I wonder, where I put my fpc 2.2.0 deb. > > Mattia Thanks but another one: Compiling LazConfigStorage.pas LResources.pp(5062,37) Error: Identifier not found "SParUnterminatedBinValue" LResources.pp(5164) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted

Thanks. Sorry for the trouble. Added in 15345.

Mattias

Reply by email

Andrew Higgs
to Mattias Gaertner
Mattias Gaertner wrote 20 lines
On Fri, 06 Jun 2008 16:30:03 +0200 Guadagnini David wrote: >> Thanks for testing. >> I added the three strings. >> >> I wonder, where I put my fpc 2.2.0 deb. >> >> Mattia > Thanks but another one: > > Compiling LazConfigStorage.pas > LResources.pp(5062,37) Error: Identifier not found > "SParUnterminatedBinValue" > LResources.pp(5164) Fatal: There were 1 errors compiling module, > stopping Fatal: Compilation aborted Thanks. Sorry for the trouble. Added in 15345. Mattias

Thanks Mattias,

Compiles for me on Ubuntu Hardy with FPC 2.2.0.

Regards
Andrew

Reply by email