Recent

Author Topic: Please, tell me the way how to move the focus among components?  (Read 4130 times)

mago

  • New member
  • *
  • Posts: 8
Please, tell me the way how to move the focus among components?
« on: October 18, 2009, 12:53:35 pm »
I put 5 buttons on then KOlCe form.
and I set taborder in 0..4 in order.

I tried to set KolForm Keypreview := True and Failed.

How can I move the focus with left, right arrow button?
I am using m620 anycall. u know, this cell phone withour touch screen.
So I have to control it with menu.
But I want to control it with button on the screen, using focus move.

BlueIcaro

  • Hero Member
  • *****
  • Posts: 576
Re: Please, tell me the way how to move the focus among components?
« Reply #1 on: October 18, 2009, 03:47:54 pm »
In win32 you can use:  Form1.SetFocusedControl(MIControl);

I didn't test it on wince. Did you tried?

/BlueIcaro   
Remenber, the lazarus wiki is your friend: http://wiki.lazarus.freepascal.org/Main_Page
General questions (several lenguages) http://wiki.lazarus.freepascal.org/