Commit Graph

77 Commits

Author SHA1 Message Date
bart
77aeb483c6 LCL: Implement TCustomCheckbox.Alignment (Windows only), partly resolves issue #0012343.
git-svn-id: trunk@46963 -
2014-11-22 14:38:26 +00:00
mattias
fe227ded7f LCL: fixed GetDefaultColor for TStaticText, TNoteBook, TTabSheet, TGroupBox, bug #26535
git-svn-id: trunk@46021 -
2014-08-06 16:54:36 +00:00
bart
409cedc9c4 LCL: Implement TCustomEdit.NumbersOnly property.
Currently only effective on Windows.

git-svn-id: trunk@43678 -
2014-01-09 13:36:11 +00:00
paul
2b9bef5afa lcl: move TWSControl.DragStart to TWSCustomListBox.DragStart because of limitation of TWS classes
git-svn-id: trunk@42631 -
2013-09-06 07:29:10 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
mattias
577bc9d322 LCL: gtk2: disabled optimization REMOVEEMPTYPROCS for fpc 2.7.1
git-svn-id: trunk@40321 -
2013-02-14 23:34:15 +00:00
juha
9adcf1b232 LCL: Register some new Delphi properties to be skipped by form loader. Issue #20273
git-svn-id: trunk@34800 -
2012-01-19 18:26:48 +00:00
juha
a0912487d5 LCL: Add and move some properties to be skipped by form loader.
git-svn-id: trunk@34798 -
2012-01-19 16:32:56 +00:00
zeljko
01f454abce LCL: introduced TWSScrollBar.SetKind() to avoid usage of RecreateWnd when changing kind of TScrollBar, because it crashes on 64bit installations.Fixed AV with qt and gtk2 under 64bit
git-svn-id: trunk@30853 -
2011-05-22 09:53:34 +00:00
juha
b01be5b936 LCL: Register more Delphi-only properties to skip when loading a project.
git-svn-id: trunk@30787 -
2011-05-17 21:56:42 +00:00
paul
aecfd2f738 lcl: implement TListBox.ScrollWidth:
- win32, wince: set/get scrollwidth using LB_SETHORIZONTALEXTENT/LB_GETHORIZONTALEXTENT (issue #0018912)
  - qt, gtk2: don't show listbox horizontal scrollbar by default. show it only when scrollwidth > content area

git-svn-id: trunk@30138 -
2011-04-02 17:30:44 +00:00
juha
5d796b9cbb LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +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
8944d373f9 win32, lcl: further work on clDefault implementation
git-svn-id: trunk@28111 -
2010-11-07 12:54:33 +00:00
blikblum
bbfbce8fdd lcl: fix compilation after rev 27070 #69b2b72516
git-svn-id: trunk@27073 -
2010-08-12 12:49:38 +00:00
blikblum
69b2b72516 lcl: move RegisterPropertyToSkip calls to Register* procedures or unit initialization so it's called only once and not on every component created
git-svn-id: trunk@27070 -
2010-08-12 12:24:11 +00:00
paul
321a2f3d30 lcl, win32, wince: use system cut, copy, paste operations for TEdit control and descendants
git-svn-id: trunk@26480 -
2010-07-06 11:43:02 +00:00
paul
964dd239b9 lcl: add TCustomEdit.HideSelection, publish it for TEdit, TMemo (requested by Marco van de Voort)
git-svn-id: trunk@22729 -
2009-11-24 03:29:11 +00:00
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
jesus
84cead9009 LCL, custom handling of checkbox states (windows, this enables the use of allowgrayed without cbGrayed state, specially useful for dbcheckbox), fix cbGrayed state under gtk2
git-svn-id: trunk@20012 -
2009-05-17 17:00:47 +00:00
jesus
a849d36c9a LCL, changing AllowGrayed at runtime has no effect (windows), fixed
git-svn-id: trunk@19892 -
2009-05-10 03:34:08 +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
paul
4e59427231 lcl: remove dummy initialization sections
git-svn-id: trunk@19282 -
2009-04-09 05:52:37 +00:00
paul
14a26422f9 lcl: formatting
git-svn-id: trunk@18552 -
2009-02-04 08:03:37 +00:00
paul
aa6305c562 lcl: implement TEdit.Alignment (patch of Zeljan with small mine modifications)
git-svn-id: trunk@18139 -
2009-01-05 18:22:41 +00:00
sekelsenmat
226434bc52 Moves freeing TStrings from standard controls to the widgetset. Necessary for widgets with a native TStrings.
git-svn-id: trunk@17787 -
2008-12-10 21:12:10 +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
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
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +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
sekelsenmat
4bae6b0476 Implements CaretPos for TCustomEdit and TCustomMemo under win32.
git-svn-id: trunk@14943 -
2008-04-23 20:06:32 +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
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
5f5b46fe5d (Qt): workaround for adding items into combobox on DropDown event
git-svn-id: trunk@11646 -
2007-07-27 17:18:41 +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
3c6665616c - TCustomMemo.WantReturns implementation (0008352)
git-svn-id: trunk@11124 -
2007-05-10 14:12:03 +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
paul
78187ac487 - added WsWinControl.CanFocus that inform about ability of control to be focused with default widgetset value = True (overrided for gtk)
- changed CanTab of TWinControl to use TWSWinControlClass.CanFocus
- published TRadioGroup.TabStop

git-svn-id: trunk@10829 -
2007-03-30 05:22:36 +00:00
micha
dc66dedc3b add wanttabs property to tcustommemo to disable grabbing of tab key; compatibility (issue #1811)
git-svn-id: trunk@9570 -
2006-07-06 15:23:01 +00:00
mattias
bfb3fd9685 added class keyword to proc bodies for fpc 2.1.1
git-svn-id: trunk@9364 -
2006-05-27 17:40:59 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
862a04296b added TComboBox.ReadOnly - only partially working under gtk1
git-svn-id: trunk@7546 -
2005-08-22 19:02:06 +00:00
mattias
6697af3196 accelerated TMemo on gtk, gtk2 and win32 interface from Andrew Haines
git-svn-id: trunk@7060 -
2005-04-05 19:41:19 +00:00
micha
d1ef6f2b88 remove TStaticText.Layout property, not supported by delphi, hard to implement
git-svn-id: trunk@6549 -
2005-01-11 21:36:36 +00:00
micha
b63e712b19 swap TCustomStaticText and TCustomLabel
git-svn-id: trunk@6500 -
2005-01-07 20:51:11 +00:00
mattias
965c1e6b30 fixed loading TRadioButton.Checked
git-svn-id: trunk@6452 -
2005-01-01 19:36:40 +00:00
mattias
c49518c55c published BorderSpacing for many controls
git-svn-id: trunk@6429 -
2004-12-27 19:40:59 +00:00