Recent

Author Topic: TFloatSpinEdit erroneous Tabbing...  (Read 4817 times)

arrow

  • Guest
TFloatSpinEdit erroneous Tabbing...
« on: March 25, 2006, 02:49:09 pm »
Hi,

i tried to use the TFloatSpinEdit-Control for getting double values in a dialog window. If you press the TAB-key the focus will be moved to the next spin control and you can't do anything but it should be moved to its buddy.

I think a good workaround could be to save the buddys handle in the TFloatSpinEdit.Handle property.

By the way it's not possible to move any further with the TAB-key if a TFloatSpinEdit-Control has the focus.

Furthermore i miss the functionality to align text in edit or floatspin controls.

At first i will write a workaround for Win32 in the OnEnter-Event.

Please inform me, when a bugfix is available or you know good workarounds.

Thanks,

arrow

Bart

  • Hero Member
  • *****
  • Posts: 5575
    • Bart en Mariska's Webstek
Re: TFloatSpinEdit erroneous Tabbing...
« Reply #1 on: March 25, 2006, 06:46:27 pm »
Quote from: "arrow"
If you press the TAB-key the focus will be moved to the next spin control and you can't do anything but it should be moved to its buddy.


I do not understand what you mean by that.

What did you do (how many spin controls are there)?
What happens if you press the Tab key to cycle through the controls?
What did you expect to happen, but found out to be different?

May or maybe not relevant: Lazarus/FPC version, OS?

Bart

arrow

  • Guest
Re: TFloatSpinEdit erroneous Tabbing...
« Reply #2 on: March 26, 2006, 03:58:09 pm »
Hi,

thanks for your fast answer.

Quote from: "Bart"

What did you do (how many spin controls are there)?


Well, I have at least 10 TFloatSpinEdit-Controls. Maybe more because the dialog isn't complete, yet.

Quote from: "Bart"

What happens if you press the Tab key to cycle through the controls?


When you click at the edit part of the control you can change the value either by typing a value or by incrementing or decrementing with the up/down-keys. If you press the tab key - while the edit part of the floatspin-control has the focus - only a windows beep occurs.

Quote from: "Bart"

What did you expect to happen, but found out to be different?


I think there should not be a windows beep and the next TFloatSpinEdit-Control should get the input focus.

Furthermore when lazarus try to give a TFloatSpinEdit-Control the input focus, the Up-Down-Control gets the input focus but I think the edit part of the control should get the focus.

Quote from: "Bart"

May or maybe not relevant: Lazarus/FPC version, OS?


Sorry, it was my first post.

Lazarus: 0.9.12 beta
FPC: 2.0.2 [2006/02/07]
OS: Windows XP

Hopefully this are enough information.

Thanks,

arrow

 

TinyPortal © 2005-2018