Recent

Author Topic: "ArrowKeysTraverseList" causes lost of first character with a Combobox.  (Read 593 times)

jamie

  • Hero Member
  • *****
  • Posts: 3524
If you try to use the Auto suggest feature in the TComboBox with ArrowKeysTraverseList not SET. when entering the first letter in a blank EDIT it gets shallowed up..

 Try it for yourself

 Drop a combobox on the form, add a couple of items, navigate to it, make sure you backspace any text if any then enter a letter. The Drop list will drop but you won't see your typed letter. Do this with "ArrowKeysTraverse" := False;
enter another letter and then you'll see your type..

Works ok when ArrowKeysTraverse := true;


 Should this be reported ?


Windows Widget....
The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 3524
I can't believe no one has ever noticed this bug ?

It is repeatable always with the windows widget...

 Actually I don't even know why that property is in there because it does not seem to be bringing any value to the table... Its actually costing more in maintenance issues than its worth by looking at it..

 This feature is done at the widget level however, it is obviously effecting some other code because some hack was placed in there to over come an issue with popups not traversing  the list If this property is off. to correct for such an issue a FOCUS test should be done instead to disallow this feature when popups are present..

The only true wisdom is knowing you know nothing

winni

  • Hero Member
  • *****
  • Posts: 1786
Hi!

Linux gtk2, fpc 3.04, Laz 2.08, 64 bit:

If Autodropdown is enabled then i can't write one char in the TEdit  of the Combo.
If it is disabled I can write anything in the Edit but there is no drop down.

Combo always was a problem child ....

Winni

jamie

  • Hero Member
  • *****
  • Posts: 3524
In the old days we used leather to correct problem child...

Today with this bug, I don't think there is enough leather in the world to correct this one..
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018