[lazarus] CVS updates

Marc Weustink marc at dommelstein.net
Sun Oct 19 09:38:46 EDT 2003


At 01:35 19-10-2003, Elio Cuevas Gómez wrote:
>Marc Weustink wrote:
>
>>
>>Can you try my testapp ?
>>
>>http://lazarus.dommelstein.net/test/KeyValue/project1
>>
>>the upper 2 lines print out resp. the KeyDown and the KeyPress event. In 
>>the KeyPress event you should see the accented chars.
>>
>>Marc



>I rechecked too, all chars works OK in other controls, seems to be SynEdit 
>specific. CopyPasting accented chars works.

It's not SynEdit specific, but the other controls are gtk native. They 
handle the gtk events themselves and present the correct chars.

>When i hit acent chars such ', ^, ", etc Your testapp shows "deadacute", 
>"deadcircumflex", "deaddieresis" respectively, with a lot of other 
>Extrange info ;-)

Line1: Keydown event receiced by the form
Line2: Keypress event received by the form
Line3: the gtk keyevent (thats where you read the "deadacute" etc)
Line4: all chars (=keysyms) possible given a certain key (=keycode)
Line5: all keycodes of keys currently pressed

But what does it say when you press 'e ?

Marc







More information about the Lazarus mailing list