Commit Graph

125 Commits

Author SHA1 Message Date
paul
7fad68ae28 lcl: don't return incorrent ItemIndex (valid values are from -1 to Count - 1)
git-svn-id: trunk@17628 -
2008-11-29 10:41:48 +00:00
paul
efe9d531c3 widgetset: make WS classes method explicitly published
win32: fix WS classes. move methods to published sections

git-svn-id: trunk@17576 -
2008-11-25 02:29:28 +00:00
paul
c9899ebca4 lcl, widgetsets: hope fix misuse of TScrollBar.PageSize (#0011788 based on ideas of Sergey Bulba)
git-svn-id: trunk@16835 -
2008-10-02 01:47:29 +00:00
paul
898d951e30 lcl: introduce TListBox.GetItemAtXY, TListBox.GetItemAtY exists for compatibility with existing projects
interfaces: replace TWSCustomListBox.GetIndexAtY by TWSCustomListBox.GetIndexAtXY
win32, wince, qt, carbon: use X coord too
(based on patch of Yuriy Yeroshkin, #0011923)

git-svn-id: trunk@16801 -
2008-09-30 02:15:17 +00:00
paul
f5c5b2ab66 win32: improve column with calculation in multi column listbox
git-svn-id: trunk@16800 -
2008-09-30 02:04:03 +00:00
paul
ea198f3972 formatting
git-svn-id: trunk@16538 -
2008-09-11 03:14:24 +00:00
vincents
a1a13ca9cb win32 interface: implemented changing borderstyle of a memo (issue #11785)
git-svn-id: trunk@15993 -
2008-08-08 09:46:04 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
0116f76c8a win32 interface: fixed comment
git-svn-id: trunk@15627 -
2008-06-30 18:34:21 +00:00
paul
31c5d5d91e lcl: fix checklistbox item height under win32 (wince?)
git-svn-id: trunk@15373 -
2008-06-10 01:19:42 +00:00
paul
34cc6ccdbe win32: add horizontal scroll to listbox
git-svn-id: trunk@15354 -
2008-06-07 08:29:58 +00:00
vincents
a367413cf8 win32 interface: further fix to implement TComboBox.DropDownCount
git-svn-id: trunk@15171 -
2008-05-16 23:54:00 +00:00
vincents
83f7b59ba1 win32 interface: implemented SetDropDownCount for themed comboboxes.
git-svn-id: trunk@15156 -
2008-05-15 14:19:50 +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
paul
d94f02eac8 lcl: TCustomEdit.Undo, TCustomEdit.CanUndo
win32, qt: TCustomEdit "undo" support

git-svn-id: trunk@15089 -
2008-05-11 05:22:39 +00:00
paul
dbddffe2cb lcl: bidi mode patch from Ido with modifications
git-svn-id: trunk@14991 -
2008-04-27 14:24:22 +00:00
sekelsenmat
4bae6b0476 Implements CaretPos for TCustomEdit and TCustomMemo under win32.
git-svn-id: trunk@14943 -
2008-04-23 20:06:32 +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
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