paul
a8da22e5ec
win32: rename Notebook to TabControl
...
git-svn-id: trunk@35198 -
2012-02-07 05:00:15 +00:00
sekelsenmat
fa02b703f1
Renames TNotebookOption and friends to TCTabControlOptions,etc because the old name was completely wrong since TNotebook is completely unrelated to this type
...
git-svn-id: trunk@33537 -
2011-11-15 07:28:07 +00:00
sekelsenmat
9992b8abe3
Fixes compilation of the win32 widgetset
...
git-svn-id: trunk@31770 -
2011-07-20 14:59:39 +00:00
sekelsenmat
73542b658a
Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
...
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
0c7f706dd4
Fixes the compilation of the wince widgetset and cleanup a useless define. Fixes bug #19739
...
git-svn-id: trunk@31701 -
2011-07-14 13:13:34 +00:00
sekelsenmat
ca84ba2f7f
Patch from Hans-Peter, starts fixing TTabControl, from bug #19575
...
git-svn-id: trunk@31686 -
2011-07-13 12:43:43 +00:00
sekelsenmat
fed392d7ed
Updates win32 and wince for the new TCustomNotebook location
...
git-svn-id: trunk@31553 -
2011-07-04 10:05:35 +00:00
zeljko
84d29ef869
LCL: TCustomListView, TListView added new properties SortDirection and AutoSort. All ws now use CompareItems() for sorting.
...
Implemented sorting for gtk2, fixed qt sorting, updated win32 and wince to use CompareItems().
git-svn-id: trunk@31458 -
2011-06-29 18:34:01 +00:00
zeljko
cd32bf59f0
LCL: preserve selection when moving items. Return cached checked item when moving items.
...
Win32: simplified LVItem assigning in case of exchange and move, fixed bugs
git-svn-id: trunk@31373 -
2011-06-25 08:31:57 +00:00
zeljko
48712541fc
Win32: started TListView.Exchange() TListView.Move() for win32 ws.Added todo.
...
git-svn-id: trunk@31360 -
2011-06-24 16:46:55 +00:00
paul
dd8e84b315
win32: fix typo which case vertical trackbar to had no focus rectangle (bug #0018957 )
...
git-svn-id: trunk@29995 -
2011-03-23 09:29:53 +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
c6ae8b8210
lcl: add TTrackBar.Reversed property, implement for win32. Zeljan will implement for other widgetsets
...
git-svn-id: trunk@28312 -
2010-11-18 09:28:03 +00:00
paul
2fd8aba64b
lcl: extent GetDefaultColor function to get default Brush and Font colors
...
git-svn-id: trunk@28306 -
2010-11-18 02:19:50 +00:00
paul
8e99ab359b
win32: use TaskDialogIndirect for MessageDlg and ShowMessage on windows vista+
...
git-svn-id: trunk@28198 -
2010-11-13 07:42:13 +00:00
paul
9bd782a63e
lcl:
...
- add GetDefaultColor to TControl which asks Parent in case widgetset returns clDefault color for it;
- return clDefault instead of clWindow for generic TControl
win32, wince: use TControl.GetDefaultColor in all the places where we used TWSControlClass
git-svn-id: trunk@28172 -
2010-11-10 04:15:43 +00:00
paul
b2aa415919
win32: teach statusbar to handle clDefault color
...
git-svn-id: trunk@28116 -
2010-11-07 13:28:08 +00:00
paul
229564f15d
lcl: add TTrackBar.SelStart, TTrackBar.SelEnd, TTrackBar.ShowSelRange based on patch of Justin Smyth (issue #0016299 )
...
git-svn-id: trunk@24728 -
2010-04-20 04:39:09 +00:00
paul
a20e1dcaac
lcl: change use of CreateParams:
...
- move TForm.PopupParent handling to CreateParams (it only chooses a right Parent handle)
- check also ParentWindow property when setting WndParent in CreateParams
win32: use TCreateParams WndParent property for CreateWindow
git-svn-id: trunk@23840 -
2010-03-05 08:14:49 +00:00
paul
3299c6aa4c
win32: move TrackBar code to own window message handlers
...
git-svn-id: trunk@23635 -
2010-02-05 07:49:42 +00:00
paul
40861cdaf8
win32: always call default window proc for WM_PAINT progressbar handler if it has marquee style (fixes bug #0015064 )
...
git-svn-id: trunk@22692 -
2009-11-20 10:35:09 +00:00
paul
5b9bce5f38
lcl: apply patch of Boian Mitov to support listview state images and HitTestInfo under win32 (issue #0014881 )
...
git-svn-id: trunk@22310 -
2009-10-28 09:41:02 +00:00
paul
ecfeff9149
win32: allow statusbar resizing (issue #0014814 )
...
git-svn-id: trunk@22213 -
2009-10-18 06:21:23 +00:00
paul
4a0461a558
lcl: ListView:
...
- add TIconOptions
- win32 implement support for different IconOptions (issue #0014460 )
git-svn-id: trunk@21546 -
2009-09-03 02:48:41 +00:00
paul
ae65b07221
lcl, win32, carbon: initial implementation of virtual TListView by Dmitry (issue #0007749 )
...
git-svn-id: trunk@21524 -
2009-09-01 16:44:31 +00:00
paul
87a2fea05c
win32: rename TWindowInfo -> TWin32WindowInfo, GetWindowInfo -> GetWin32WindowInfo, etc because of conflict with winapi functions and structures
...
git-svn-id: trunk@20836 -
2009-07-12 04:27:59 +00:00
paul
a8544fc87d
lcl: add TProgressBar.Style property, implement Marquee style for win32, qt, gtk2 (issue #0013807 )
...
git-svn-id: trunk@20161 -
2009-05-24 09:49:13 +00:00
paul
f02c53c71c
merge lcl-smartlink branch:
...
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line
lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line
changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line
fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line
Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line
Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line
merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line
cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line
finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line
register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line
remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line
Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line
Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line
Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line
Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line
moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line
corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line
removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line
qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line
Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line
wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +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
3e01ab5302
lcl: publish TListView.BorderStyle, implement it for win32 (already works for gtk2 issue #0013182 )
...
git-svn-id: trunk@18732 -
2009-02-17 14:31:56 +00:00
paul
f8c7a97600
win32: set statubar update flag before actual update since actual update cause direct call of wm_paint on windows 98 and wm_paint do direct call of update (and we have endless loop)
...
git-svn-id: trunk@18664 -
2009-02-13 15:15:31 +00:00
paul
be1f7a30e1
win32: follow msdn suggest to update statubar text on wm_paint message to reduce flickering (fixes issue #0012816 )
...
git-svn-id: trunk@18619 -
2009-02-09 15:01:16 +00:00
paul
43212b3449
win32: use SendMessageW when pass statusbar text
...
git-svn-id: trunk@18600 -
2009-02-08 12:10:29 +00:00
paul
a1ea9760c4
win32: implement color applying for TStatusBar (bug #0012560 )
...
git-svn-id: trunk@18419 -
2009-01-24 17:49:13 +00:00
paul
50714a86e0
win32: sort listview items by index if handle is allocated (fixes bug #0009611 )
...
git-svn-id: trunk@18409 -
2009-01-24 13:53:47 +00:00
paul
3effa2d5fa
win32: set correct bg color and text bg color when we set color to the ListView control (bug #0011051 )
...
git-svn-id: trunk@18400 -
2009-01-23 18:08:43 +00:00
paul
f71d89b2b3
lcl: fix owner drawn statusbar panels
...
- don't skip TStatusPanel.Bevel
- assign passed in the WM_DrawItem Message DC to the Canvas.Handle
git-svn-id: trunk@18318 -
2009-01-17 10:41:01 +00:00
vincents
38adeef869
lcl: implemented owner drawn statusbar in the LCL and the win32 widget set (issue #1679 )
...
* based on a patch from Leslie Kaye
* doesn't work yet for themed windows XP
git-svn-id: trunk@18312 -
2009-01-16 19:22:58 +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
48793b3843
win32: also handle correct when themes are not enabled
...
git-svn-id: trunk@17092 -
2008-10-22 05:21:41 +00:00
paul
1628077528
lcl: undo CN_NOTIFY overriding for trackbar
...
win32:
- handle CN_NOTIFY in the default handler and redirect it to the window proc in case of trackbar
- use ThemeManager code to draw themed trackbar
git-svn-id: trunk@17091 -
2008-10-22 05:12:23 +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
75bb6cfe41
formatting
...
git-svn-id: trunk@15448 -
2008-06-17 07:32:09 +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
9d77486ba0
simplify code
...
git-svn-id: trunk@14596 -
2008-03-20 09:26:25 +00:00
paul
9642488f11
statusbar:
...
- better fix for statusbar jumping (from top to bottom)
- add SizeGrip property and implement it for win32 (0001705)
git-svn-id: trunk@14591 -
2008-03-20 07:27:55 +00:00
paul
f0081cc693
statusbar: draw themed statusbar if themes are enabled (from ThemeManager of Mike Lischke)
...
git-svn-id: trunk@14589 -
2008-03-20 06:24:42 +00:00
paul
df0c6930b5
TStatuBar:
...
- publish more events and properties
- allow have any align/anchors
- win32: don't reposition StatusBar to bottom if it have another align (0010386)
git-svn-id: trunk@14588 -
2008-03-20 03:54:21 +00:00
paul
4e33251c35
bunch of compatibility fixes with fpc 2.2 rtl if win32extra will be cleaned
...
git-svn-id: trunk@14098 -
2008-02-12 05:40:57 +00:00