Commit Graph

203 Commits

Author SHA1 Message Date
Juha
9f5be67e36 LCL: Update TCombobox.ItemIndex when AutoCompleteing. Issue , patch by Iluha Companets. 2025-01-31 02:20:42 +02:00
zeljan1
4edf9681f2 LCL: All normal chars are handled by combobox. issue 2025-01-03 16:36:18 +01:00
Juha
f7ab06f51d LCL: Hide emulated TextHint in TCustomComboBox.SetItemIndex. Issue , based on patch by Iluha Companets. 2024-09-02 12:00:07 +03:00
Juha
d784606f77 LCL: Fix deprecation warnings. Issue , patch by Don Siders. 2024-04-26 00:59:26 +03:00
Juha
c285b58aa3 LCL: Remove UTF8CompareLatinTextFast calls. 2024-02-09 01:20:36 +02:00
Maxim Ganetsky
469e1318dd LCL: Do not force-clear mouse capture flag on creation of TCustomEdit and TCustomComboBox, issue .
Fixes text selection of TEdit and TComboBox on Gtk2 widgetset.

This effectively reverts the following commits:

Commit 27d0c29fb7 (introduced long time
ago to workaround Qt* widgetsets problems, which will be fixed
separately).

Commit e4494cf4cd (workaround for Gtk2
problems caused by the first one).
2023-12-05 17:25:51 +03:00
Juha
13d54fc4cb LCL: Refactor Colorbox code. Issue , patch by n7800. 2023-08-01 11:55:14 +03:00
rich2014
280c57e91d LCL/TCustomComboBox: replace cbactEnabled with AutoComplete 2023-06-16 22:07:47 +08:00
rich2014
3eccd94680 LCL/TCustomComboBox: refactor in TCustomComboBox.MatchListItem() 2023-06-16 21:58:16 +08:00
rich2014
055ae4d900 LCL/TCustomComboBox: fix CaseSensitive in MatchListItem() 2023-06-16 00:01:16 +08:00
rich2014
6d9db64d24 LCL/TCustomComboBox: CaseSensitive supported in RealSetText() 2023-06-14 23:43:42 +08:00
rich2014
062bacda7a LCL/TCustomComboBox: Sorted supported (Cocoa first) 2023-06-14 22:39:47 +08:00
Bart
a669e08450 TComboBox: update ItemIndex in RealSetText also if Text is empty string. Issue . 2021-10-03 10:05:51 +02:00
Jesus Reyes A
fef094c56f LCL: Fix updating list dataset on dblookupcombobox on selection or autocomplete, issue 2021-08-29 00:49:48 -05:00
juha
a542627231 LCL: Use a faster compare method for case-insensitive StringList.
git-svn-id: trunk@64443 -
2021-01-30 18:36:54 +00:00
juha
751852a44a LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00:00
juha
dc8ca7a17f LCL: Restore type TEmulatedTextHintStatus. The state thsChanging was needed after all.
git-svn-id: trunk@63734 -
2020-08-13 17:34:01 +00:00
juha
728e2b9639 LCL: Move function CreateEmulatedTextHintFont to unit StdCtrls as a global function.
git-svn-id: trunk@63733 -
2020-08-13 17:33:59 +00:00
juha
0011948d52 LCL: Implement TextHint for TComboBox. Issue .
git-svn-id: trunk@63731 -
2020-08-13 11:23:38 +00:00
dmitry
bc8507e6b6 lcl: adding combobox readonly back. The indentation for the property is to work like TEdit.ReadOnly preventing user from editing combobox text field by manipulating the text.
Changes by selecting combobox items are to be allowed

git-svn-id: branches/comboboxreadonly@63237 -
2020-05-28 12:46:33 +00:00
ondrej
a46759822f combobox: fix FSelLength condition in InitializeWnd
git-svn-id: trunk@63230 -
2020-05-26 22:51:35 +00:00
ondrej
d8adb758e5 ComboBox: implement TComboBoxStyle.SetEditBox
git-svn-id: trunk@63229 -
2020-05-26 22:42:13 +00:00
ondrej
ef8d6a825e ComboBox: implement TComboBoxStyle.IsOwnerDrawn and .IsVariable and use them instead of the in [] syntax
git-svn-id: trunk@63228 -
2020-05-26 22:25:15 +00:00
ondrej
1c63f54328 ComboBox: more fixes with TComboBoxStyle.HasEditBox
git-svn-id: trunk@63225 -
2020-05-26 21:53:31 +00:00
ondrej
34e6f40639 ComboBox: implement TComboBoxStyle.HasEditBox as a replacement for the old and removed TCustomComboBox.ReadOnly property
git-svn-id: trunk@63224 -
2020-05-26 21:30:13 +00:00
michl
47ba57fd3a LCL: ComboBox: Fixed data lost, Style csSimple, leaving with TAB. Issue . Patch by Gernot Riebold
git-svn-id: trunk@63204 -
2020-05-21 22:15:42 +00:00
juha
47bfab75ef LCL: Remove also public property TCustomComboBox.ReadOnly.
git-svn-id: trunk@63112 -
2020-05-02 14:13:43 +00:00
juha
368225808a LCL: Remove deprecated TComboBox.ReadOnly.
git-svn-id: trunk@63110 -
2020-05-01 21:12:54 +00:00
juha
0c7fee62f3 IDE: Use configurable DropDownCount for IDE's ComboBoxes. Issue , patch from Vojtech Cihak.
git-svn-id: trunk@62278 -
2019-11-22 00:14:36 +00:00
juha
74f527f75c LCL: Call TComboBox.OnMeasureItem also for csOwnerDrawEditableVariable. Issue .
git-svn-id: trunk@61574 -
2019-07-11 22:19:58 +00:00
michl
71a9406fd6 LCL: TComboBox: Fixed invisible mouse. Issue
git-svn-id: trunk@60126 -
2019-01-20 21:39:36 +00:00
juha
af653f96cb LCL: Support autocompletion in TComboBox for single-letter text, too. Issue , patch from Serge Anvarov.
git-svn-id: trunk@59651 -
2018-11-25 11:27:47 +00:00
michl
e355e20721 LCL: TComboBox: Fixed OnEditingDone is fired twice when pressing ENTER. Issue
git-svn-id: trunk@59184 -
2018-09-29 19:40:13 +00:00
michl
72252baee8 LCL: Win32: Fixed TComboBox tab key isn't working with style csSimple. Issue
git-svn-id: trunk@56086 -
2017-10-16 20:56:13 +00:00
juha
475249d4fa LCL: Handle TComboBox.ItemHeight with new csOwnerDrawEditableXXX styles. Issue , patch from Andrey Zubarev.
git-svn-id: trunk@55707 -
2017-08-19 22:47:32 +00:00
ondrej
d1886ddb8d LCL: combobox: sanity check for ItemIndex
git-svn-id: trunk@55598 -
2017-07-27 19:25:38 +00:00
ondrej
0cd8ed04e5 LCL: combobox, listbox: fix drawing of customdrawn items. Change TOwnerDrawStateType.odPainted to odBackgroundPainted
git-svn-id: trunk@55304 -
2017-06-10 11:43:19 +00:00
ondrej
c68b93c58e lcl: combo box: add new styles csOwnerDrawEditableFixed and csOwnerDrawEditableVariable as replacement for the old ReadOnly property
git-svn-id: trunk@55245 -
2017-06-05 19:27:43 +00:00
ondrej
2276076e95 LCL: combo box: fix typo
git-svn-id: trunk@55244 -
2017-06-05 19:09:38 +00:00
ondrej
9a9e336851 LCL: combo box: deprecate ReadOnly property
git-svn-id: trunk@55243 -
2017-06-05 19:07:31 +00:00
ondrej
3f56e69dc6 lcl: combobox, listbox: assign Font.PixelsPerInch to Canvas for custom draw events.
git-svn-id: trunk@54914 -
2017-05-14 08:43:35 +00:00
ondrej
fb53b10290 LCL: combo box: High-DPI. Issue
git-svn-id: trunk@54369 -
2017-03-08 15:54:45 +00:00
ondrej
ede622b2a3 LCL: TComboBox: keep Items sorted on handle destroy. Issue
git-svn-id: trunk@54090 -
2017-02-04 20:10:08 +00:00
michl
2f58813eed LCL: TComboBox: Make keys Delphi compatible with AutoDropDown = True. Issue
git-svn-id: trunk@54056 -
2017-02-01 19:16:06 +00:00
michl
f09fd93cc5 LCL: TComboBox: Fixed closing app with <Alt> + <F4> when AutoDropDown = True, make it Delphi compatible. Issue
git-svn-id: trunk@54055 -
2017-02-01 14:15:37 +00:00
michl
27e3118627 LCL: TComboBox: prevent hiding dropdown window, like Delphi. Issue
git-svn-id: trunk@54053 -
2017-02-01 11:08:53 +00:00
michl
7650468f69 LCL: TComboBox: make tabbing Delphi compatible. Issue
git-svn-id: trunk@54045 -
2017-01-31 20:17:42 +00:00
juha
b2658d37bc LCL: Temporary fix for focus jumping on Arrow keys between controls. Will be moved to WS code. Issue , patch from AlexeyT.
git-svn-id: trunk@53933 -
2017-01-12 15:44:56 +00:00
juha
80328f4ead LCL: Set TComboBox ItemIndex with duplicate text elements correctly. Issue , patch from AlexeyT.
git-svn-id: trunk@53676 -
2016-12-14 11:14:28 +00:00
ondrej
58c2446357 lcl: highDPI: handle right and bottom anchored controls in AutoAdjustLayout.
git-svn-id: trunk@53555 -
2016-12-03 23:07:10 +00:00