Recent

Author Topic: TButton.onExit event not fired and Tlabel behaviour  (Read 5948 times)

JohnvdWaeter

  • Full Member
  • ***
  • Posts: 171
    • http://www.jvdw.nl
TButton.onExit event not fired and Tlabel behaviour
« on: April 08, 2010, 10:36:28 am »
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


« Last Edit: April 08, 2010, 10:38:33 am by JohnvdWaeter »

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: TButton.onExit event not fired and Tlabel behaviour
« Reply #1 on: April 21, 2010, 05:02:58 pm »
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

  • Full Member
  • ***
  • Posts: 171
    • http://www.jvdw.nl
Re: TButton.onExit event not fired and Tlabel behaviour
« Reply #2 on: May 09, 2010, 06:20:30 am »
I am way to uncertain about bugs. Usually I made a mistake myself and I hate to pollute the bugtracker with non-issues....

John

 

TinyPortal © 2005-2018