Commit Graph

80 Commits

Author SHA1 Message Date
paul
d3caac78b7 win32: cleanup
git-svn-id: trunk@30013 -
2011-03-25 08:56:24 +00:00
paul
7214b124da win32:
- update combobox interface constraints on WM_SIZE message, 
  - fix combobox window proc - it had double processing for some messages
  - don't use FItemHeight, FEditHeight stored on initialization - they can be not valid if something has changed (like font, theme, metrics)

git-svn-id: trunk@29880 -
2011-03-17 06:19:18 +00:00
paul
28fcb60f75 win32: cleanup
git-svn-id: trunk@29878 -
2011-03-17 02:03:10 +00:00
paul
dd4583c8bf win32: check win32 code for correctness after Assert->DebugLn replacement, fix ObjectToHWND, remove TraceEvent, remove all commented DebugLn
git-svn-id: trunk@29828 -
2011-03-14 02:32:50 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
paul
f82013575c lcl: redo fixing issue #0016354, don't set ItemIndex = -1 after loading
git-svn-id: trunk@25095 -
2010-05-01 11:51:32 +00:00
paul
18a0946b92 win32: restore not only combobox text but also cursor position and selection after items clear
git-svn-id: trunk@22301 -
2009-10-27 02:15:35 +00:00
paul
c6ba3e76d8 win32: TCheckListBox:
- move TCheckListBox code from the general WindowProc to the private one
  - preserve data on ListBox item change and appropriate code for TCheckListBox

git-svn-id: trunk@22039 -
2009-10-05 07:57:09 +00:00
vincents
299f68fb06 win32 interface: don't restrict the height of a csSimple combobox (issue #13765)
git-svn-id: trunk@20109 -
2009-05-21 20:19:16 +00:00
vincents
1f3f833a84 win32 interface: use UTF16 <-> UTF8 conversion functions from LCLProc instead of UTF8Encode/UTF8Decode from the RTL to work around fpc bug #13075
patch by: Theo
fixes issue #13067

git-svn-id: trunk@18769 -
2009-02-20 08:33:44 +00:00
paul
a7c0eda865 win32: save and restore combobox text if we clear combobox items and combobox is not readonly (bug #0009736)
git-svn-id: trunk@18527 -
2009-02-01 09:54:56 +00:00
paul
2e44efcd0b win32: formatting
git-svn-id: trunk@18526 -
2009-02-01 09:48:04 +00:00
paul
9aa3d3facd win32: invalidate not only window which holds a list but also all child windows on EndUpdate
git-svn-id: trunk@18327 -
2009-01-18 14:44:06 +00:00
paul
2c2126066b win32: fix range check error in TWin32ListStringList.GetObject
git-svn-id: trunk@17371 -
2008-11-13 14:56:45 +00:00
paul
5f76c9b083 win32: TCustomListBox: don't recreateWnd if we are destroying handle
git-svn-id: trunk@16410 -
2008-09-04 12:15:08 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
72096b4856 lcl:
- add TCheckListBox.ItemEnabled property
- implement ItemEnabled for win32, qt, gtk2

git-svn-id: trunk@15295 -
2008-06-03 02:02:42 +00:00
vincents
4a64a58cce win32 interfaces: implemented changing ComboBox.DropDownCount after window creation (bug #11294)
git-svn-id: trunk@15129 -
2008-05-14 07:11:16 +00:00
vincents
9ed9aa3295 win32 interfaces: added some defines to enable unicode support easily.
git-svn-id: trunk@14801 -
2008-04-11 11:22:20 +00:00
paul
8a48e510c8 qt: take Combobox.DropDownCount into account
git-svn-id: trunk@14728 -
2008-04-02 09:29:47 +00:00
paul
d409bf4ad2 decapitalize Constructor and Destructor
git-svn-id: trunk@14378 -
2008-03-03 08:28:46 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
sekelsenmat
def1546d06 Further removes clistbox.
git-svn-id: trunk@14233 -
2008-02-22 18:09:03 +00:00
sekelsenmat
e81c05ee66 Starts removing the deprecated CList from win32 and wince.
git-svn-id: trunk@14165 -
2008-02-16 21:46:19 +00:00
paul
2bb622e3e8 TCheckListBox.State property and support for grayed states:
- win32 and gtk2 working
- wince - only setting state. drawing of state is not implemented as before
- gtk - only setting state, drawing of grayed state to be implemented
- carbon - mapped to UnChecked, Checked (grayed is also treated as checked)

git-svn-id: trunk@13356 -
2007-12-17 10:21:56 +00:00
vincents
46ca875004 win32 interface: made ListBox.Item[0] := 'bla' unicode aware
git-svn-id: trunk@13278 -
2007-12-11 15:37:28 +00:00
sekelsenmat
2e324f401a Improved UTF-8 support on the Unicode Windows IDE and fixed Unicode version of ListBox, ComboBox and other TStrings based controls on Unicode Windows.
git-svn-id: trunk@11621 -
2007-07-25 14:11:19 +00:00
sekelsenmat
23cfb3f41c Implemented unicode support for TStrings based controls under Windows.
git-svn-id: trunk@11610 -
2007-07-24 08:50:07 +00:00
paul
051e47f08a ComboHeight := ComboHeight replaced with UpdateComboHeight
git-svn-id: trunk@11077 -
2007-05-04 15:11:39 +00:00
paul
5629cad996 - prevent csSimple combobox to have double height in runtime
- some win32 intf combobox related code moving

git-svn-id: trunk@11071 -
2007-05-04 02:24:45 +00:00
vincents
c64b39bc07 win32 interface: implemented Items.BeginUpdate and Items.Capacity for Listbox and Combobox
git-svn-id: trunk@10722 -
2007-03-08 23:02:40 +00:00
jesus
a4664b8977 fix for TWin32ListStringList to preserve special chars and status on assign operation
git-svn-id: trunk@10233 -
2006-11-22 23:56:03 +00:00
micha
aac5c510b4 preserve combobox text when changing string in list (issue #1734)
git-svn-id: trunk@9566 -
2006-07-05 20:31:49 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
vincents
599bce7c87 revert wrong commits of revision 8804 #3c90c0bcc8
git-svn-id: trunk@8805 -
2006-02-23 09:40:21 +00:00
vincents
3c90c0bcc8 added TWidgetSet.AppSetTitle, implemented for TWin32WidgetSet (fixes issue #1758)
git-svn-id: trunk@8804 -
2006-02-23 09:35:39 +00:00
vincents
69498e8919 fixed TWin32ListStringList.Assign (issue #1750)
git-svn-id: trunk@8798 -
2006-02-22 22:55:30 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
micha
e449af4c82 remove TWin32WidgetSet.RecreateWnd, use the one from Controls unit
git-svn-id: trunk@7369 -
2005-07-18 12:37:58 +00:00
vincents
6ee528e57c fixed objects with a sorted listbox from Jesus
git-svn-id: trunk@7232 -
2005-06-10 18:57:12 +00:00
micha
b6deeb5694 fix double-clicking in combobox in object inspector, set itemindex when assigning list of strings
git-svn-id: trunk@7116 -
2005-04-29 09:44:56 +00:00
micha
b2c1d425e5 fixed: listbox loses selection when updating selected item (fixes #780)
git-svn-id: trunk@7068 -
2005-04-11 12:35:17 +00:00
vincents
90c4d52283 Call inherited in TWin32ComboBoxStringList.Insert and Delete.
git-svn-id: trunk@6222 -
2004-11-08 21:35:16 +00:00
micha
76b630a62d remove usage of fcompstyle in twin32liststringlist by using descendent class for combobox specific things
git-svn-id: trunk@6200 -
2004-11-04 15:12:35 +00:00
micha
17ad66bb2a fix remember edit string in combobox after assigning strings to list (fixes find in files dialog search in lazarus)
git-svn-id: trunk@6199 -
2004-11-04 12:05:14 +00:00
micha
6ec01de193 remove LM_RECREATEWND message, as it is not used by LCL
git-svn-id: trunk@6026 -
2004-09-18 11:06:47 +00:00
micha
27896971f5 fix forget text after assigning items, need to give exact right class
git-svn-id: trunk@5967 -
2004-09-11 12:15:45 +00:00
micha
963bdc89c2 convert lm_gettext to new interface methods
remove lm_settext replacement settext methods in twidgetsets

git-svn-id: trunk@5956 -
2004-09-10 14:38:30 +00:00
micha
d189d5601f convert LM_SETLABEL message to interface methods
git-svn-id: trunk@5954 -
2004-09-10 09:43:13 +00:00