Commit Graph

107 Commits

Author SHA1 Message Date
paul
929eef8853 win32: fix crash with combos w/o edit (csDropDownList for example)
git-svn-id: trunk@14292 -
2008-02-28 04:39:18 +00:00
paul
85e93e8f14 win32: dont send messages to LCL about internal combobox focus changes (fixes firing OnEnter, OnExit more than once, issue #0007241)
git-svn-id: trunk@14250 -
2008-02-26 03:32:38 +00:00
paul
a5b4f9d12f fix key handling of edit part of csSimple combobox (0007318)
git-svn-id: trunk@14249 -
2008-02-26 02:31:35 +00:00
paul
19820828de win32: remove last constraint code for csSimple combobox
git-svn-id: trunk@14243 -
2008-02-25 08:53:42 +00:00
paul
3d629400eb win32: don't constraint and autosize csSimple combobox
git-svn-id: trunk@14242 -
2008-02-25 07:42:01 +00:00
paul
e43614c705 decrease amount of win32 interface hints
git-svn-id: trunk@14241 -
2008-02-25 07:26:46 +00:00
sekelsenmat
8023d99e58 Various Windows unicode fixes.
git-svn-id: trunk@14146 -
2008-02-15 20:23:58 +00:00
paul
b670a88a3e trayicon - fix hWndTray value
git-svn-id: trunk@14102 -
2008-02-12 06:03:55 +00:00
sekelsenmat
3ff0a0bd5b Partial implementation of an utf-8 capable SetBlockWord on SynEdit. Enclosed on ifdef NEW_UTF8_SETWORDBLOCK. Also added helper functions on LCLProc for converting an utf-8 string into an array of chars for algorithms that require fast access to a char by position.
git-svn-id: trunk@13868 -
2008-01-24 20:56:30 +00:00
paul
789c8bbb0f protect TCustomCombobox.GetItemHeight from unallocated handle
git-svn-id: trunk@13271 -
2007-12-11 02:30:33 +00:00
sekelsenmat
7002561862 Fixes unicode support for win32proc.MeasureText and dialogs on win32.
git-svn-id: trunk@12818 -
2007-11-10 18:15:10 +00:00
paul
f67a4dec0f TStaticText:
- gtk1/gtk2: reimplemented through GtkFrame->GtkEventBox->GtkLabel
- win32: BorderStyle and ShowAccelChar now have effect
- qt: BorderStyle and ShowAccelChar now have effect 

git-svn-id: trunk@12754 -
2007-11-06 09:17:41 +00:00
paul
a1e7edc076 win32: prevent combobox height resizing since windows combobox has fixed height (by Mattias instructions)
git-svn-id: trunk@12638 -
2007-10-30 02:18:01 +00:00
paul
9aca1999ae win32:
- move ComboBoxWindowProc from win32callback.inc to Win32WSStdCtrls
- declare GetComboBoxInfo method in win32extra (this functions can be used to get listox and edit handles from combobox)

git-svn-id: trunk@12289 -
2007-10-02 07:00:20 +00:00
paul
abe113718c - move TWidgetset.GetListBoxXXX to TWSCustomListBox.GetXXX (where XXX in [GetIndexAtY, GetItemRect]) *untested on Carbon and wince*
- implement GetIndexAtY and GetItemRect for TQtWsListBox

git-svn-id: trunk@11875 -
2007-08-28 17:44:28 +00:00
paul
d5c7e43700 - BidiMode patch from Zaher Dirkey (0008996) part 1
git-svn-id: trunk@11408 -
2007-07-02 07:00:51 +00:00
vincents
baebd22616 LCL: moved TButton from buttons unit to stdctrls (bug #9137), compilation tested on windows for gtk2, qt and win32 widgetset
git-svn-id: trunk@11367 -
2007-06-25 08:34:41 +00:00
paul
0b6ce0bd99 BiDiMode patch from zaher dirkey (report 0008955)
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
paul
554e4107ef - Themes moved to interface section from implementation
- Build lazarus dialogs use ThemeServices to draw buttons (disabled through UseThemes define)

git-svn-id: trunk@11174 -
2007-05-22 06:06:11 +00:00
paul
e45bc069f0 - initial implementation of lazarus ThemeServices
- win32 calls to Widgetset.ThemesActive redirected to ThemeServices

git-svn-id: trunk@11161 -
2007-05-18 02:18:52 +00:00
paul
37bdf71f61 - changed handle check in combobox SetItemHeight to more correct
git-svn-id: trunk@11154 -
2007-05-16 14:07:03 +00:00
paul
c6b596f1c8 - call to RecreateWnd without check to HandleAllocated cause crash
git-svn-id: trunk@11142 -
2007-05-15 09:39:50 +00:00
paul
1ef92b0f0b - TMemo.Alignment implementation for win32, qt, gtk2
git-svn-id: trunk@11092 -
2007-05-07 07:31:14 +00:00
paul
45f07afcc1 - LCL and Win32 TListBox.Columns
git-svn-id: trunk@11083 -
2007-05-05 15:30:19 +00:00
paul
f83756a0d3 - request combobox item heights through onMeasureItem when style is ownerdraw variable + misc bugs with ItemHeight (report 0008113)
git-svn-id: trunk@11070 -
2007-05-04 01:26:23 +00:00
vincents
d082e56c6d LCL: fix showing empty filelistbox (bug #7465)
git-svn-id: trunk@10399 -
2007-01-08 21:19:52 +00:00
vincents
fcef497c0f LCL: tried to fix EchoMode and PasswordChar (bug #7924)
git-svn-id: trunk@10310 -
2006-12-06 20:04:45 +00:00
vincents
a4f24ffb45 win32 interface: implemented TEdit.EchoMode=emNone as PassWordChar=#32 (bug #7705)
git-svn-id: trunk@10268 -
2006-12-01 08:09:49 +00:00
mattias
d17fddefd2 LCL: TScrollBar: adding PageSize to scrollinfo Max
git-svn-id: trunk@10051 -
2006-10-10 06:52:57 +00:00
micha
a4bd9f7713 fix pointer type conversions
git-svn-id: trunk@10039 -
2006-10-04 22:21:04 +00:00
vincents
7b7bce0f48 win32 interface: add less extra space for buttoncontrols, because the LCL has already innerborder=4
git-svn-id: trunk@9918 -
2006-09-17 12:09:36 +00:00
micha
41947d6c28 better fix for combobox item selection, sync widgetset with itemindex (issue #7124)
git-svn-id: trunk@9574 -
2006-07-06 21:04:50 +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
micha
c3e60040cf fix drawing of listview in pagecontrol with winxp themes (issue #1588)
git-svn-id: trunk@9462 -
2006-06-21 15:22:43 +00:00
vincents
b442d5b996 removed -Rdirect compiler option from dialog
git-svn-id: trunk@9461 -
2006-06-21 15:03:50 +00:00
vincents
b8ef0bd35b add class method modifier to the implementation of class methods (fixes fpc 2.1.1 compilation)
git-svn-id: trunk@9366 -
2006-05-27 20:30:46 +00:00
mattias
e81c0f77a0 added WithThemSpace parameter to GetPreferredSize
git-svn-id: trunk@9331 -
2006-05-21 15:47:28 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
micha
d9e9f1570f win64 fixes (from peter, modified)
git-svn-id: trunk@9221 -
2006-05-01 21:45:12 +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
95a373e249 TListBox looks at borderstyle to determine if WS_EX_CLIENTEDGE should be set (issue #1261)
git-svn-id: trunk@8532 -
2006-01-16 15:44:25 +00:00
micha
0d63c21f78 easier readable code for storage decision of ReadOnly
recreate control in case readonly changed for win32

git-svn-id: trunk@8363 -
2005-12-24 20:53:58 +00:00
micha
84afc58a43 expand and implement ReadOnly for win32
git-svn-id: trunk@8200 -
2005-11-20 15:43:15 +00:00
micha
9793627ce5 implement float spinedit for win32 (issue #1386)
git-svn-id: trunk@8139 -
2005-11-12 23:02:05 +00:00
vincents
7b07d9012d fixed TListBox.OnSelectionChanged event (issue #1340)
git-svn-id: trunk@7987 -
2005-10-27 18:41:21 +00:00
vincents
c67e75e666 fixed autosize of Checkbox
git-svn-id: trunk@7960 -
2005-10-12 14:46:05 +00:00
micha
86a7e13da6 fix combobox selection of text when resizing (fixes #1180)
improve message debugging (display # in front of message when sent by win32 default handler)

git-svn-id: trunk@7821 -
2005-09-25 18:35:08 +00:00
micha
122df55eae implement preferred size calculation for buttons and bitbtns
seperate text size calculation into general function

git-svn-id: trunk@7746 -
2005-09-19 21:40:26 +00:00
micha
6a2d38bc49 implement autosizing for win32 checkbox and radiobutton
git-svn-id: trunk@7735 -
2005-09-18 20:58:04 +00:00