Commit Graph

884 Commits

Author SHA1 Message Date
ondrej
592b495a47 LCL: HighDPI: use relative font scaling, not the absolute PPI (fix for r54210 #eb28e06e83). Issue #31276
git-svn-id: trunk@54211 -
2017-02-20 15:04:02 +00:00
ondrej
eb28e06e83 LCL: HighDPI: fix font scaling. Issue #31276
git-svn-id: trunk@54210 -
2017-02-20 13:59:36 +00:00
ondrej
d45b1fe5cd win32: group box: highDPI: force reposition of children after font change. Issue #23415
git-svn-id: trunk@54195 -
2017-02-19 16:03:57 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
ondrej
e7b8a7cf27 lcl: highDPI: rename AScaleFonts parameter to AScale0Fonts and change its behavior. Issue #31083
git-svn-id: trunk@53594 -
2016-12-07 22:22:50 +00:00
ondrej
110955f1da lcl: TControl: highDPI: scale margins and constraints.
git-svn-id: trunk@53576 -
2016-12-06 14:50:02 +00:00
ondrej
4a214df8bf lcl: TControl: add ScaleCoord96 and -Back for 96 PPI
git-svn-id: trunk@53571 -
2016-12-06 13:35:18 +00:00
ondrej
58c2446357 lcl: highDPI: handle right and bottom anchored controls in AutoAdjustLayout.
git-svn-id: trunk@53555 -
2016-12-03 23:07:10 +00:00
ondrej
616bcee2d1 lcl: controls: highDPI: add ScaleCoord and ScaleCoordBack
git-svn-id: trunk@53543 -
2016-12-03 08:19:52 +00:00
ondrej
d67b3f014e lcl: highDPI: refactor AutoAdjustLayout, move adjust code into protected DoAutoAdjustLayout
git-svn-id: trunk@53541 -
2016-12-03 07:13:00 +00:00
ondrej
adf87c511a lcl: merge ShouldAutoAdjust* into one method. Fix Width and Height adjustment in relation to Align.
git-svn-id: trunk@53538 -
2016-12-03 06:52:15 +00:00
ondrej
c186773b00 lcl: controls: highDPI: add AScaleFonts parameter to AutoAdjustLayout
git-svn-id: trunk@53516 -
2016-12-01 22:43:50 +00:00
ondrej
a55241308e revert r52494, r52500 #48fe37a204: they caused crashes in Carbon interface. Issue #30003
git-svn-id: trunk@52703 -
2016-07-17 04:12:46 +00:00
ondrej
dd7ec70032 lcl: TControlCanvas: don't allow to empty handle if there is a pre-allocated FDeviceContext handle. Solves issue #30003
git-svn-id: trunk@52494 -
2016-06-12 19:41:44 +00:00
ondrej
33de4ee12d lcl: do CheckTransparentWindow also for TWinControl tree within a form.
git-svn-id: trunk@52385 -
2016-05-24 20:16:28 +00:00
ondrej
7775747072 lcl: controls: do CheckTransparentWindow only for a form.
git-svn-id: trunk@52384 -
2016-05-24 18:48:33 +00:00
ondrej
92c16d5513 lcl: revert r52377 #a7f5af9c78, it collided with Gtk2 WS code.
git-svn-id: trunk@52380 -
2016-05-24 03:50:42 +00:00
ondrej
a7f5af9c78 lcl: add new form style fsIgnoreMouseEvents. use it instead of windows-specific WM_NCHITTEST=HTTRANSPARENT.
git-svn-id: trunk@52377 -
2016-05-23 21:47:00 +00:00
ondrej
744b5e7ca8 lcl: CheckTransparentWindow: ignore nested transparent windows.
git-svn-id: trunk@52370 -
2016-05-23 17:13:54 +00:00
ondrej
30f2c5f007 LCL: add CheckTransparentWindow procedure to add support for WM_NCHITTEST=HTTRANSPARENT windows on non-win32 widgetsets.
git-svn-id: trunk@52356 -
2016-05-23 13:55:01 +00:00
ondrej
0897600234 LCL: add TControlAtPosFlag.capfOnlyWinControls
git-svn-id: trunk@52355 -
2016-05-23 13:51:54 +00:00
ondrej
7da309900e LCL: support CM_CHANGED message (Delphi compatibility).
git-svn-id: trunk@52321 -
2016-05-17 16:41:32 +00:00
ondrej
87c63ee431 lcl: add TControlBorderSpacing.Around* properties
git-svn-id: trunk@52146 -
2016-04-08 11:03:11 +00:00
ondrej
9ed3c75499 lcl: add TControlBorderSpacing.ControlRight and -Bottom
git-svn-id: trunk@52024 -
2016-03-23 08:43:01 +00:00
ondrej
e26b2a0a3c lcl: change anchor space parameters to TSpacingSize. Issue #29567
git-svn-id: trunk@52006 -
2016-03-21 11:22:28 +00:00
ondrej
37913b5e66 lcl: allow negative values for TSpacingSize, allow negative offsets.
git-svn-id: trunk@51931 -
2016-03-14 07:26:55 +00:00
ondrej
23f31975f0 lcl: fix Linux compilation after r51821 #be5322bd6d, Issue #29766
git-svn-id: trunk@51822 -
2016-03-04 06:44:48 +00:00
ondrej
be5322bd6d lcl: fix overflows in mouse messages if mouse position exceeds smallint. Issue #29766
git-svn-id: trunk@51821 -
2016-03-04 06:06:04 +00:00
ondrej
dfaba8f0d8 lcl: add WinHandle check into CheckMouseButtonDownUp in case AWinControl is nil. Issue #29769
git-svn-id: trunk@51803 -
2016-03-02 14:29:31 +00:00
ondrej
8d04ffd73b lcl: force use only double clicks in design time
git-svn-id: trunk@51790 -
2016-03-01 16:20:52 +00:00
ondrej
7b141be77b lcl: fix multi click control style to target control.
git-svn-id: trunk@51735 -
2016-02-28 03:53:45 +00:00
ondrej
84a559fbad lcl: unify multiclick mouse message handling for all widgetsets
git-svn-id: trunk@51722 -
2016-02-27 06:21:22 +00:00
mattias
16ca8935b5 lcl: added SM_LCLHasFormAlphaBlend to GetSystemMetrics, added OnDrawDockImage, when widgetset supports alphablend use a transparent hint window for dock (preview) image, patch #29426
git-svn-id: trunk@51340 -
2016-01-19 17:15:03 +00:00
juha
6bb18f6fbd LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067.
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00
ondrej
a562122e19 LCL: move BorderSpacing.Control* properties in public section.
git-svn-id: trunk@50383 -
2015-11-18 06:30:18 +00:00
ondrej
7f3a0f94b2 LCL: added TControlBorderSpacing.Control* properties (compatibility to Delphi's TMargins.Control*)
git-svn-id: trunk@50356 -
2015-11-17 10:38:42 +00:00
juha
fdde7f3583 LCL: Make TUpDown.ArrowKeys work. Issue #28537, patch from Denis Kozlov.
git-svn-id: trunk@49726 -
2015-08-29 11:59:12 +00:00
juha
64e74b9e18 LCL: Show all Cursor values in Object Inspector. Issue #28402.
git-svn-id: trunk@49555 -
2015-07-18 08:20:56 +00:00
juha
41ca5227fd LCL: New CanSetFocus function with whole parent tree check. Work better than CanFocus in many cases. Issue #21708, patch from Ondrej Pokorny.
git-svn-id: trunk@49526 -
2015-07-11 23:27:51 +00:00
juha
11612bcf6b LCL: Use "real" system capture for TMouse.capture property. Issue #28238, patch from Andrew G. Khodotov.
git-svn-id: trunk@49254 -
2015-06-03 17:23:21 +00:00
mattias
2d13dc3be6 LCL: fixed typo
git-svn-id: trunk@48683 -
2015-04-08 20:58:23 +00:00
mattias
094fd462f5 LCL: TScrollingWincontrol: GetLogicalClientRect: independent of AutoScroll to avoid cycle, GetPreferredSize: independent of AutoScroll, added extra checks if LCL clientrect is not in sync with widgetset, improved debugging preferredsize
git-svn-id: trunk@47873 -
2015-02-17 23:58:41 +00:00
giuliano
ed5fd30d67 LCL: issue #0014257 - SetCursor faulty under GTK2 - changes cursor for
wrong control

files controls.pp and include/graphiccontrol.inc

git-svn-id: trunk@47814 -
2015-02-15 23:26:26 +00:00
mattias
9e66742aeb LCL: comments
git-svn-id: trunk@46496 -
2014-10-09 16:22:34 +00:00
mattias
dd86099d37 LCL: comments
git-svn-id: trunk@46474 -
2014-10-07 23:55:26 +00:00
juha
e89095b1a4 LCL: Implement TControl.EndDrag. Issue #25138, patch from ocean.
git-svn-id: trunk@46392 -
2014-10-01 14:41:15 +00:00
juha
4b38ed7b2b LCL: use constants in controlconsts.inc. Issue #26673, patch from ocean.
git-svn-id: trunk@46216 -
2014-09-13 21:28:55 +00:00
mattias
9d3226d369 LCL: removed TControl.ParentVisibleChanged
git-svn-id: trunk@46188 -
2014-09-11 16:52:52 +00:00
mattias
db564054c4 LCL: added TControl.ParentVisibleChanged
git-svn-id: trunk@46184 -
2014-09-11 16:40:12 +00:00
mattias
cc8a8f9740 LCL: clean up
git-svn-id: trunk@46181 -
2014-09-11 16:03:48 +00:00
juha
9d6fca6e69 LCL + Designer: A new flag TWinControl.DesignerDeleting. Make TPairSplitter use it. Issue #26618
git-svn-id: trunk@46072 -
2014-08-24 15:58:09 +00:00
juha
90b05dca85 LCL: Remove deprecated TWinControl.AutoSizeCanStart.
git-svn-id: trunk@45788 -
2014-07-05 14:56:46 +00:00
mattias
debddcec44 LCL: gtk2: dropfiles for sub forms
git-svn-id: trunk@45559 -
2014-06-16 22:24:44 +00:00
mattias
1417fc6edf LCL: comment
git-svn-id: trunk@44868 -
2014-05-01 14:00:37 +00:00
mattias
0f7890690f lcl: made TControlBorderSpacing.GetSpace/GetSpaceAround virtual, patch #26048
git-svn-id: trunk@44805 -
2014-04-26 08:29:52 +00:00
mattias
2f637d4295 LCL: fixed typo GetChildsRect GetChildrenRect
git-svn-id: trunk@44663 -
2014-04-09 15:12:36 +00:00
juha
41f1295739 LCL: GetParentHandle and GetTopParentHandle for TWinControl. Issue #25813, patch from ocean.
git-svn-id: trunk@44453 -
2014-03-16 23:26:56 +00:00
mattias
1fe37e15a2 fixed spelling mistakes, found by lintian
git-svn-id: trunk@43900 -
2014-02-05 12:07:46 +00:00
juha
5c1f0c896b Revert r42752 #8caba4283d making TWinControl.GetChildren public. It was incomplete.
git-svn-id: trunk@42757 -
2013-09-12 15:34:02 +00:00
juha
8caba4283d LCL: Make TWinControl.GetChildren public. Issue #24974, patch from Stephano.
git-svn-id: trunk@42752 -
2013-09-12 10:13:03 +00:00
juha
023fd6ba9b LCL: rename TCMMouseWheel.WheelData to WheelDelta. Issue #24989, patch from Stephano
git-svn-id: trunk@42751 -
2013-09-12 10:07:30 +00:00
juha
aa33021670 LCL: Make TWinControl.GetTabOrderList virtual. Issue #24969, patch from Stephano
git-svn-id: trunk@42672 -
2013-09-07 23:20:33 +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
mattias
fe0a06d109 LCL: fixed check for unicode widestring, patch from FPK
git-svn-id: trunk@42308 -
2013-08-04 10:06:07 +00:00
mattias
533ea4f496 LCL: getmousecapture: check if handleallocated
git-svn-id: trunk@42305 -
2013-08-04 09:52:54 +00:00
mattias
ccc2a1903a LCL: comments
git-svn-id: trunk@41995 -
2013-07-04 14:37:02 +00:00
mattias
49eae20cfe LCL: dbgs for TContolStyle, comments
git-svn-id: trunk@41994 -
2013-07-04 14:34:51 +00:00
mattias
8e437bf7cd LCL: csReflector
git-svn-id: trunk@41993 -
2013-07-04 14:20:08 +00:00
mattias
66a30a311c LCL: setting Action.OnExecute no longer changes the TControl.OnClick, bug #24484
git-svn-id: trunk@41415 -
2013-05-26 12:36:40 +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
juha
9c0da1b60e LCL: remove fsSplash from fsAllStayOnTop set. Allows using other applications while a splash screen is shown. Issue #22837
git-svn-id: trunk@41034 -
2013-05-05 09:49:32 +00:00
martin
51657166be LCL: Revert Changes from 31132 (and partly 31577) which replaced TGraphicControl.Update by Invalidate
git-svn-id: trunk@40364 -
2013-02-22 16:05:54 +00:00
sekelsenmat
e155bfca39 Reimplements the cdintf control special case as a LCLIntf function, to be more conformant to the way of working for the LCL
git-svn-id: trunk@39475 -
2012-12-07 15:55:54 +00:00
sekelsenmat
547ebc6bc7 LCL-CustomDrawn: Adds a better identifier for CD injected controls and starts improving the tabbing between controls
git-svn-id: trunk@39447 -
2012-12-06 10:50:53 +00:00
juha
614327b055 Move ModalResult string representation array from PropEdit to Controls to be used by other code
git-svn-id: trunk@39426 -
2012-12-01 10:43:52 +00:00
blikblum
2d708f59bf lcl: add missing checks for FControl in TControlBorderSpacing
git-svn-id: trunk@39207 -
2012-10-31 02:44:08 +00:00
blikblum
70e7f9f4f3 lcl: cleanup
git-svn-id: trunk@39206 -
2012-10-31 00:43:30 +00:00
blikblum
40f8498835 lcl:
- revert 33020 #928292514b, 33082 #dd109fba91, 33086 #bd7b46c17a, part of 33089 and 33389. These changes made the hint behavior Delphi incompatible thus leading to a regression in third party control like VirtualTreeView that handles hints in CMHintShow
- Retrieve parent hint recursively if hintcontrol.hint is empty' (delphi compatible)
- Added sample project to test hints

git-svn-id: trunk@38802 -
2012-09-23 23:06:31 +00:00
mattias
60899d17a7 LCL: added TWinControl.GetEnumeratorControls,GetEnumeratorControlsReverse
git-svn-id: trunk@38570 -
2012-09-08 09:00:50 +00:00
mattias
e4298bec55 lcl: comments
git-svn-id: trunk@37449 -
2012-05-29 06:27:51 +00:00
paul
f8dcbb669b lcl: don't block special keys in common TControl handler - this is up to descendants.
SynEdit: use shorter inherited call since TControl does not have the handler now

git-svn-id: trunk@37150 -
2012-05-04 00:55:22 +00:00
paul
70fca72696 lcl: always ask control about special key using CM_WANTSPECIALKEY and LM_GETDLGCODE, simplify DoCancelKey, DoReturnKey, remove old WantKeyBeforeInterface
git-svn-id: trunk@37142 -
2012-05-03 01:38:51 +00:00
mattias
e5ffde0bbc LCL: clean up
git-svn-id: trunk@36877 -
2012-04-17 08:29:01 +00:00
mattias
eb05b8141f LCL: SetAlign: restore the basebounds set before changes
git-svn-id: trunk@36870 -
2012-04-17 08:15:46 +00:00
paul
c11192b6a5 lcl: implement ClientToParent, ParentToClient based on patch of David Jenkins (issue #0021763)
git-svn-id: trunk@36775 -
2012-04-14 14:18:08 +00:00
mattias
47c24e80ad LCL: more verbose form updateshowing
git-svn-id: trunk@36385 -
2012-03-27 16:27:45 +00:00
sekelsenmat
83a68ea2d7 LCL-CustomDrawn-Cocoa: Greatly improves the accessibility, now child objects start to appear
git-svn-id: trunk@36213 -
2012-03-22 08:46:04 +00:00
sekelsenmat
c0143743b4 Changes the AccessibleValue getter to overridable, to allow a more efficient implementation of it for TLabel for example
git-svn-id: trunk@36135 -
2012-03-17 19:41:46 +00:00
sekelsenmat
0bc23ed6ad LCL-CustomDrawn-Cocoa: Advances the accessibility support, nothing working yet
git-svn-id: trunk@36105 -
2012-03-17 10:08:21 +00:00
mattias
f1f99b4a6e LCL: added TLazAccessibleObject enumerator
git-svn-id: trunk@35394 -
2012-02-16 09:17:30 +00:00
mattias
45d0b49083 LCL: TLazAccessibleObject: using a tree for children for faster search
git-svn-id: trunk@35374 -
2012-02-15 14:57:15 +00:00
sekelsenmat
015279a045 Adds more method for TLazAccessibleObject to manipulate the list of children
git-svn-id: trunk@35239 -
2012-02-08 17:58:06 +00:00
paul
8d364b03df lcl:
- Extend FindLCLWindow method by AllowDisabled argument to skip disabled windows
  - Fix FindControlAtPosition - it previously ignored AllowDisabled option
  - Don't allow disabled window to be an internal MouseControl (fixes bug #0017993 for win32)

git-svn-id: trunk@35204 -
2012-02-07 07:49:42 +00:00
sekelsenmat
1130c0fb47 Patch from bug #20121, also added ssModifier constant in the unit Controls for global usage, but use it with care not to do something like [ssModifier, ssMeta] which wont compile in Macs
git-svn-id: trunk@35131 -
2012-02-04 17:39:11 +00:00
mattias
aad4d125c5 LCL: added TControl.AddHandlerBeforeDestruction
git-svn-id: trunk@35090 -
2012-02-02 16:46:20 +00:00
sekelsenmat
1fb90cb1f1 Improves the accessibility code to allow for initializing the Handle later. Also attempts to fix the accesssibility issues of TEdit/TMemo, but still not successful
git-svn-id: trunk@35070 -
2012-02-01 07:25:28 +00:00
juha
62fcc662c6 LCL: remove IFDEFs for old FPC versions. Lazarus won't compile anyway with old versions.
git-svn-id: trunk@34948 -
2012-01-26 10:47:37 +00:00
sekelsenmat
df68e05b3b Adds one more accessibility Role
git-svn-id: trunk@34926 -
2012-01-25 15:12:18 +00:00
sekelsenmat
d469685cc6 Adds many property implementations for non-windowed accessible objects in Carbon
git-svn-id: trunk@34831 -
2012-01-21 11:35:37 +00:00
sekelsenmat
ec6c831a3b Implements AccessibleValue for TTreeView items even when reading from the lfm. Improves the Carbon accessibility code for lists
git-svn-id: trunk@34830 -
2012-01-21 08:37:45 +00:00
sekelsenmat
5f9824929d Changes a little bit the Accessibility API. Removes notifications which were added to reflect the Mac API and are redundant. Splitted the setters for accessibility fields.
git-svn-id: trunk@34820 -
2012-01-20 12:59:10 +00:00
sekelsenmat
5a33af4ebb More Carbon accessibility advances: Makes it less obstrusive for non-TCustomControl controls, implements a lot more of attributes, implements more events, increases the list of available roles and implements AX values for all LCL accessibility roles
git-svn-id: trunk@34814 -
2012-01-20 08:15:45 +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
sekelsenmat
46e5cbf514 Finally figured out how to properly create child non-windowed accessible objects in Carbon! Renames AccessibleName to the more useful AccessibleValue information. However it still doesnt work properly because the non-windowed accessible objects require a already created HIView so we need to figure out the proper place to do this after the HIView is created for TTreeView
git-svn-id: trunk@34788 -
2012-01-19 08:09:12 +00:00
sekelsenmat
c532802420 Moves SendNotification to WSControls, moves all accessibility types to Controls, starts changing TTreeView to use selected text changed messages instead of child objects. TTreeView accessibility not yet working in Carbon
git-svn-id: trunk@34769 -
2012-01-18 08:29:35 +00:00
sekelsenmat
034d195ca9 Advances implementing the WS class for TLazAccessibleObject
git-svn-id: trunk@34713 -
2012-01-12 01:29:32 +00:00
sekelsenmat
61d31cd4c2 Various improvements and attempts at creating a WS implementation for TLazAccessibleObject
git-svn-id: trunk@34712 -
2012-01-11 18:36:30 +00:00
sekelsenmat
ebb666cb58 Advances implementing accessible children for TTreeView, specially in Carbon. Not yet fully working
git-svn-id: trunk@34709 -
2012-01-11 12:48:55 +00:00
sekelsenmat
6201edbbac Rearchitectures the accessibility child objects and data storage as per Martin proposal
git-svn-id: trunk@34708 -
2012-01-11 09:19:36 +00:00
sekelsenmat
6a22f885c2 Adds the generic structure for arbitrary non-TControl accessible objects and starts implementing support for it in TTreeView
git-svn-id: trunk@34701 -
2012-01-11 00:10:13 +00:00
sekelsenmat
07b94b092f Now connects setting the accessible fields to LCLIntf via TControl.SetAccessibleFields and starts the carbon accessibility fields implementation
git-svn-id: trunk@34689 -
2012-01-09 19:23:10 +00:00
sekelsenmat
b3a3ec2fb9 Rearchitectures LazAccessibility_SetFields in order to support TControl
git-svn-id: trunk@34688 -
2012-01-09 18:05:00 +00:00
sekelsenmat
5b98ba7981 Upgrades the Accessibility structure to support roles, name, description and more easily extensible notifications
git-svn-id: trunk@34678 -
2012-01-09 13:25:26 +00:00
sekelsenmat
217b6bb45b Changes the lapDefault resolution into Application.Initialize
git-svn-id: trunk@34289 -
2011-12-19 18:59:14 +00:00
sekelsenmat
cc0e04b161 Finishes the basic implementation of dpi and screen rotation adjustment for Android. Not 100% perfect, but in general already functional.
git-svn-id: trunk@34279 -
2011-12-19 13:51:13 +00:00
paul
b839a5040a lcl: report ssMeta in GetKeyShiftState
git-svn-id: trunk@34276 -
2011-12-19 12:21:36 +00:00
sekelsenmat
b5a59868f9 Commits the first part of layout auto-adjustment support in the LCL
git-svn-id: trunk@34272 -
2011-12-19 10:25:13 +00:00
sekelsenmat
3270436597 Adds virtual keyboard support to LCL-CustomDrawn-Android
git-svn-id: trunk@34221 -
2011-12-16 14:31:57 +00:00
mattias
e5e20bfbe3 LCL: fixed result of standard anchored control, bug #20367
git-svn-id: trunk@33548 -
2011-11-16 04:21:00 +00:00
juha
43d521337d LCL: Set Result in TAnchorSide.CheckSidePosition. Solves issue #20367, patch from cobines
git-svn-id: trunk@33526 -
2011-11-14 11:26:45 +00:00
zeljko
a54eb80b2f LCL: added IsParentFont:Boolean and IsParentColor: Boolean to read protected ParentFont and ParentColor from TControl.Needed by widgetsets.
git-svn-id: trunk@33282 -
2011-11-04 09:30:36 +00:00
sekelsenmat
943326f458 Renames GetRGBBackgroundColor to GetRGBColorResolvingParent because the previous name was wrong. It has not necessarily to be a background color, it is really just the Color.
git-svn-id: trunk@33280 -
2011-11-04 08:54:55 +00:00
juha
123ceac181 LCL: remove obsolete AlignNames, AnchorNames and AutoSizePhaseNames. Use WriteStr
git-svn-id: trunk@33233 -
2011-11-02 23:15:07 +00:00
mattias
2cd66811f0 LCL: delay autosizing when form is minimized
git-svn-id: trunk@33145 -
2011-10-29 07:28:02 +00:00
sekelsenmat
1c344c9372 Renames GetRGBColor to make it more unique, the old name had too many conflicts
git-svn-id: trunk@33102 -
2011-10-26 17:32:31 +00:00
sekelsenmat
cae025b734 Adds helper routines to TControl to obtain the background color
git-svn-id: trunk@33093 -
2011-10-26 15:22:45 +00:00
zeljko
b8cb50f5ce LCL: added explanation for TControlStyles csNoStdEvents and csNoFocus
git-svn-id: trunk@33072 -
2011-10-24 19:14:29 +00:00
zeljko
928292514b LCL: added public TControl.IsParentShowHint:boolean function, to check parentShowHint property, since ParentShowHint is protected.For now it's used only in GetHintControl() in application.inc.Fixes issue #20518.
git-svn-id: trunk@33020 -
2011-10-22 12:47:44 +00:00
sekelsenmat
5e67d91117 applies patch from bug #20252: [Patch] BitBtn with Kind<>bkCustom should not save Caption to LFM but be translated via lclstrconsts
git-svn-id: trunk@32648 -
2011-10-03 08:55:56 +00:00
mattias
43bf91ff49 LCL: clean up
git-svn-id: trunk@32563 -
2011-09-30 07:53:38 +00:00
mattias
785a28d88e LCL: TControlBorderSpacing.GetSideSpace and GetSpace were swapped, fixed
git-svn-id: trunk@32543 -
2011-09-28 13:07:25 +00:00
zeljko
dabae664fe LCL: TGraphicControl.VisuallyEnabled moved to TControl.IsEnabled, also fixed var naming in some units from IsEnabled to AIsEnabled. issue #20291
git-svn-id: trunk@32492 -
2011-09-24 08:20:55 +00:00
juha
ea9e588d42 LCL: add EnabledChanging and EnabledChanged events for TControl. Issue #20300, patch from Silvio Clécio
git-svn-id: trunk@32465 -
2011-09-23 08:30:48 +00:00
zeljko
b21be873d3 LCL: Added TGraphicControl.VisuallyEnabled to track if control is really visually enabled (eg Enabled=True but Parent is disabled) during checking Enabled property inside paint and mouse methods.fixes issue #20247
git-svn-id: trunk@32393 -
2011-09-17 19:42:30 +00:00
zeljko
5c16268dbe LCL: added capfHasScrollOffset in Controls.FindControlAtPosition(), also fixed TGraphicControl.Update, it should take into account parent's scrolloffset if any. issues #12217,#18272
git-svn-id: trunk@31577 -
2011-07-06 20:52:09 +00:00
zeljko
649e6241af LCL: TGraphicControl.Update must be public.
Qt: cleanups

git-svn-id: trunk@31503 -
2011-07-02 13:49:54 +00:00
zeljko
23249c0b48 LCL: overrided TControl.Update in TGraphicControl, so it calls Update() only for TGraphicControl client rect, not whole parent handle.
git-svn-id: trunk@31132 -
2011-06-08 07:00:02 +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
juha
fdc466d76d Fix spelling from Childs to Children around Lazarus source. Patch from Mazen NEIFER
git-svn-id: trunk@30657 -
2011-05-10 09:13:38 +00:00
paul
bd8eb25ea6 lcl: add mrClose modal result value, map Help button to mrNone result (issue #0019185)
git-svn-id: trunk@30376 -
2011-04-19 03:00:14 +00:00
paul
9b4a80bc9c lcl: add delphi compatible messages by Stephano (issue #0019134)
git-svn-id: trunk@30356 -
2011-04-18 02:33:18 +00:00
paul
0373c8de84 lcl: make ScrollBy more delphi compatible:
- invert direction of scroll
  - add TWinControl.ScrollBy to scroll inner controls
  - scroll controls in TScrollingWinControl (fixes issue #0016721)

git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
paul
af80e73948 lcl: implement TControl.DesktopFont, add support for CM_SYSFONTCHANGED
git-svn-id: trunk@29879 -
2011-03-17 02:31:57 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
juha
fb73313173 LCL: Remove UTrace unit use from Controls. It was not used elsewhere.
git-svn-id: trunk@29825 -
2011-03-13 22:46:29 +00:00
paul
1f90a967b2 lcl: remove 'const' modifier from DoContextPopup declaration for delphi compatibility
git-svn-id: trunk@29694 -
2011-03-01 03:57:09 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
paul
24c97c70f6 lcl: declare TCMDesignHitTest message record
git-svn-id: trunk@29131 -
2011-01-20 04:43:39 +00:00
paul
7779bd4654 lcl: formatting
git-svn-id: trunk@28440 -
2010-11-24 02:40:01 +00:00
paul
fa4ada16f4 lcl: add lcl_defines include file which can be used for common lcl defines (like UseCLDefault)
git-svn-id: trunk@28343 -
2010-11-19 10:46:12 +00:00