Forum > WinCE

TButton.onExit event not fired and Tlabel behaviour

(1/1)

JohnvdWaeter:
I want to change the color of a TButton to show it has focus.
In Onenter I set the color to e.g. clLime
In OnExit I revert the color to clBtnFace

On Pocket-PC ok, but on smartphone, OnEnter fires, OnExit does not.

Also:
A Tlabel on a form jumps to position 0,0. Setting the caption in code does not work on both pocket-pc and smartphone.

Tested on Laz 0.9.29 rev 24092 fpc 2.4.1 and emulators 5.0, 6.1 and 6.5

John


felipemdc:
Hello, I was travelling, so I did see this before, now I will check this, but it's better if you report in the bug tracker.

JohnvdWaeter:
I am way to uncertain about bugs. Usually I made a mistake myself and I hate to pollute the bugtracker with non-issues....

John

Navigation

[0] Message Index

Go to full version