Commit Graph

68 Commits

Author SHA1 Message Date
Juha
c3891ad820 Reduce compiler warnings. 2023-07-03 06:23:49 +03:00
Ondrej Pokorny
96291eb9a5 TPanel: fix csOpaque style inconsistency (it depended on the order of ParentColor/ParentBackground change) 2022-12-14 21:49:24 +01:00
wp_xyz
eff48575cf LCL/TPanel: New property ShowAccelChar to improve Delphi compatibility in rendering of ampersands. Issue #39973. 2022-10-28 00:09:56 +02:00
wp_xyz
13f4f576ab LCL/extctrls: Add new TCustomPanel/TPanel property VerticalAlignment which exists in Delphi. 2022-07-19 19:28:16 +02:00
ondrej
e23aff2283 LCL: TPanel: add ParentBackground property. Issue #32085
git-svn-id: trunk@55777 -
2017-09-03 09:55:22 +00:00
michl
18ed0a8978 LCL: TLabel, TPanel: draw themed grayed caption if disabled
git-svn-id: trunk@53914 -
2017-01-10 16:14:08 +00:00
juha
02052bcaa9 LCL: New BevelColor property for TCustomPanel. Issue #31009, patch from AlexeyT.
git-svn-id: trunk@53634 -
2016-12-11 15:18:24 +00:00
wp
dfa022a41e lcl: Add property WordWrap to panel
git-svn-id: trunk@52502 -
2016-06-13 19:18:55 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
mattias
925be78561 LCL: clean up
git-svn-id: trunk@36863 -
2012-04-17 07:56:41 +00:00
sekelsenmat
b8c8be3925 Adds accessibility info for TPanel and TSplitter. Adds current accessibility descriptions to the LCL translations. Fixes a bug in the Carbon handling of AXChildren for TCustomControl descendents: Add TControl children to the Array
git-svn-id: trunk@35138 -
2012-02-04 22:36:41 +00:00
juha
1a06a347f7 LCL: add BiDi support to Panel. Patch from Avishai, issue #19255
git-svn-id: trunk@30592 -
2011-05-07 09:12:29 +00:00
paul
d35e85a332 win32: restore wm_erasebkgnd default handler after clDefault experiments
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls

git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
paul
622f0ba392 lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
mattias
6f3d675400 LCL: added ControlStyle csAutoSize0x0 to allow shrinking controls to 0,0 - the widgetset constraints will still apply, TPanel uses this
git-svn-id: trunk@24444 -
2010-04-05 18:49:54 +00:00
paul
2b7d5c5b63 lcl: fix TPanel AdjustClientRect and Paint
git-svn-id: trunk@23919 -
2010-03-10 13:13:51 +00:00
mattias
a146e3b1e7 LCL: TPanel: fixed AdjustClientRect
git-svn-id: trunk@23915 -
2010-03-10 12:04:34 +00:00
paul
89bfcf7006 lcl: don't deflate rectangle after Frame3d drawing in TPanel.Paint code since Frame3d performs that deflation itself (issue #0013776)
git-svn-id: trunk@20104 -
2009-05-21 12:41:19 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03: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
paul
8c52991db1 formatting
git-svn-id: trunk@18824 -
2009-02-26 02:04:33 +00:00
paul
748f663981 lcl: BorderWidth
- TWinControl: send CM_BORDERCHANGED when borderwidth property is changed
  - TPanel: move DoAdjustClientRectCache to the TWinControl CM_BORDERCHANGED handler; use that handler to handle bevel changes; use TWinControl BorderWidth property instead of own
  - implement TForm.BorderWidth (part of issue #0001182)
  

git-svn-id: trunk@18513 -
2009-01-31 11:27:20 +00:00
paul
983e3633ec lcl: fix some autosize problems
git-svn-id: trunk@18501 -
2009-01-30 07:44:06 +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
c246a4e243 lcl: ClientRect had not been recalculated on TPanel.BorderWidth/BevelWidth change (#0011351)
git-svn-id: trunk@15246 -
2008-05-27 01:50:06 +00:00
paul
be879539ca - move OnGetDockCaption and friends to TWinControl
- some improvements to dock header drawing

git-svn-id: trunk@13681 -
2008-01-09 09:08:12 +00:00
paul
6343b3f025 TCustomPannel should use DockManager for delphi compatibility
git-svn-id: trunk@13618 -
2008-01-04 17:24:38 +00:00
mattias
fd641213fc LCL: undo docking patch
git-svn-id: trunk@13349 -
2007-12-16 11:00:25 +00:00
mattias
767859d068 IDE: implemented short cuts for ecSetFreeBookmark, ecPrevBookmark, ecNextBookmark
git-svn-id: trunk@13348 -
2007-12-16 10:58:01 +00:00
mattias
6264aac23c LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885 translations: german: added lazreport maincalleditor.de.po from Joerg Braun
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +00:00
vincents
a783783930 LCL: you can tab to a TPanel, if it has tabstop = true (issue #8044)
git-svn-id: trunk@10365 -
2007-01-02 10:59:43 +00:00
vincents
5e11231e28 LCL: fixed typos in comments (issue #7326)
git-svn-id: trunk@9767 -
2006-08-29 18:06:04 +00:00
mattias
ba90235cdf TPanel: fixed missing inherited in Loaded
git-svn-id: trunk@9712 -
2006-08-10 21:41:50 +00:00
micha
df5da59ff1 do not do transparent theme drawing for opaque controls
git-svn-id: trunk@9707 -
2006-08-07 22:23:53 +00:00
mattias
760fe6159f TLabel: not painting background when Transparent=true, and when disabled paint label embossed from Darek
git-svn-id: trunk@9615 -
2006-07-14 22:51:00 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
79d61cc68b reduced TPanel flickering with custom colors from Darek
git-svn-id: trunk@9109 -
2006-04-09 20:57:54 +00:00
mattias
4b193a4407 improved color for gtk widgets from Darek
git-svn-id: trunk@8625 -
2006-01-26 20:53:59 +00:00
mattias
115184dccb fixed creating child handles on Visible=false parent at designtime
git-svn-id: trunk@8094 -
2005-11-07 18:50:28 +00:00
mattias
9dc5379f89 cleanup
git-svn-id: trunk@8027 -
2005-11-01 23:38:43 +00:00
mattias
20f205ab1d published TPanel.Font
git-svn-id: trunk@7871 -
2005-10-01 00:53:07 +00:00
mattias
733f344443 added some resourcestrings and autosizing for checklistbox editor
git-svn-id: trunk@7341 -
2005-07-13 17:25:06 +00:00
mattias
2c8db8bb68 fixed TCanvas.TextRect Delphi compatible Rect and added TBarChart from Michael VC
git-svn-id: trunk@6064 -
2004-09-24 13:45:32 +00:00
mattias
b70dfc1592 fixed tab for TPanel and TPage
git-svn-id: trunk@5692 -
2004-07-17 15:08:36 +00:00
mattias
7a1717487a fixed uninitialsed vars from Jeroen
git-svn-id: trunk@5629 -
2004-07-01 10:23:27 +00:00
micha
69017c434d make flat speedbuttons nicer
git-svn-id: trunk@5586 -
2004-06-20 12:29:26 +00:00
micha
0ebc945aa3 implement new borderstyle
- centralize to twincontrol (protected)
- public expose at tcustomcontrol to let interface access it

git-svn-id: trunk@5490 -
2004-05-21 09:03:55 +00:00
marc
05f9bbe917 * Applied patch from Ladislav Michl
* Changed the way TControl.Text is resolved
* Added setting of text to TWSWinControl

git-svn-id: trunk@5413 -
2004-04-18 23:55:39 +00:00