Commit Graph

475 Commits

Author SHA1 Message Date
paul
2f6201ed2e lcl: publish OnMouseEnter, OnMouseLeave for some controls (patch of Zeljan, issue #0014575)
git-svn-id: trunk@21683 -
2009-09-13 11:31:57 +00:00
paul
3faec5e74c lcl: TControlScrollBar.Range:
- manual change of this property should set owner control AutoScroll to False
  - property should not be stored if owner control AutoScroll = True

git-svn-id: trunk@21679 -
2009-09-13 09:21:44 +00:00
paul
bbda022560 lcl: always update scroll visibility when changing other params (fixes #0014494)
git-svn-id: trunk@21568 -
2009-09-04 12:29:34 +00:00
paul
9ce421e78e lcl: various TControlScrollBar, TScollingWinControl fixes:
- fix scrollbar visibility when AutoScroll = False, scrollbars must appear if visible = True and range > page (with help of patch of Sven Barth, issue #0014279)
  - fix class definition (no need to handle writing of properties using stored modifier - fpc bug was fixed long ago)

git-svn-id: trunk@21501 -
2009-08-31 14:54:29 +00:00
paul
0dafbae6a4 lcl: better protect Form.AutoScroll from change when BorderStyle does not allow this
git-svn-id: trunk@21479 -
2009-08-29 03:50:50 +00:00
paul
56c45690de lcl: make AutoScroll delphi compatible:
- set AutoScroll to False by default for TForm and TFrame. Leave it True for TScrollBox
  - allow AutoScroll change for forms with bsSizeable, bsSizeToolWin BorderStyle

git-svn-id: trunk@21478 -
2009-08-29 03:03:10 +00:00
paul
92fc448dae lcl: formatting
git-svn-id: trunk@21465 -
2009-08-27 16:30:28 +00:00
mattias
766a2fcfb4 LCL: fixed calling finalization handlers when Application=nil
git-svn-id: trunk@21397 -
2009-08-22 17:01:30 +00:00
sekelsenmat
9d1b80451a Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
mattias
d4eeeafe50 LCL: added flag EnableAsyncDeactivate for possible workaround for too early/many deactivate events
git-svn-id: trunk@21188 -
2009-08-12 11:38:37 +00:00
mattias
236c316138 LCL: calendarpopup: missing semicolon
git-svn-id: trunk@21187 -
2009-08-12 11:33:53 +00:00
martin
2f8fc1ed97 LCL: cleanup, unused Member
git-svn-id: trunk@21081 -
2009-08-02 22:37:05 +00:00
paul
89c8026bc3 lcl: make TScrollingWinControl.ScrollBy public for delphi compatibility
git-svn-id: trunk@21000 -
2009-07-29 03:16:23 +00:00
paul
9cd1098625 lcl: start implementation of TApplication.HelpCommand method, remove InvokeHelp private method
git-svn-id: trunk@20822 -
2009-07-11 05:45:37 +00:00
paul
191d01a82d lcl: make hint handling more delphi compatible by patch of Luiz Americo with modifications (issue #0014039)
git-svn-id: trunk@20740 -
2009-06-25 02:14:59 +00:00
paul
b5026985e2 lcl: TCustomForm - handle CM_RELEASE message for compatibility with VCL applications
git-svn-id: trunk@20711 -
2009-06-22 08:46:31 +00:00
paul
67b08ac58d win32: add more checks in UpdateUIState (maybe fixes bug #0014014)
git-svn-id: trunk@20686 -
2009-06-21 03:00:13 +00:00
mattias
a3500f17a9 LCL: published TFrame.CHildSzing
git-svn-id: trunk@20639 -
2009-06-16 07:33:53 +00:00
paul
dc4763f6ad lcl: redo HideFormWithStayOnTop with RemoveStayOnTop which is only sets fsNormal instead of fsStayOnTop, add RestoreStayOnTop method. Add AppRemoveStayOnTopFlags, AppRestoreStayOnTopFlags to TWidgetset, implement them on windows (fixes issue #0013953)
git-svn-id: trunk@20580 -
2009-06-11 01:37:06 +00:00
paul
d5c624193e lcl: change KeysToShiftState and ShiftStateToKeys to get, return PtrUInt instead of word
git-svn-id: trunk@20547 -
2009-06-09 11:11:03 +00:00
paul
8140fd8755 lcl: add more extra mouse buttons support
git-svn-id: trunk@20536 -
2009-06-09 04:25:32 +00:00
paul
681610137f lcl: TButtonPanel: pass CM_APPSHOWBTNGLYPHCHANGED to owned buttons
git-svn-id: trunk@20533 -
2009-06-09 03:03:54 +00:00
paul
300a1514ea lcl: cleanup, formatting
git-svn-id: trunk@20346 -
2009-06-02 12:46:51 +00:00
paul
077b9c0616 lcl: fonts:
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
  - replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848

git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
823051d231 gtk2: finish menu change on show menu images option change in gtk2 theme
git-svn-id: trunk@20202 -
2009-05-25 12:03:58 +00:00
paul
3f5dc06930 lcl: implement TMenuItem.GlyphShowMode, TApplication.ShowMenuGlyphs, TApplicationProperties.ShowMenuGlyphs
git-svn-id: trunk@20192 -
2009-05-25 08:38:20 +00:00
paul
e30c0905a2 lcl: allow form dragging by client area only if it is docked into docksite without dock manager
git-svn-id: trunk@20070 -
2009-05-20 07:30:39 +00:00
paul
3cd340fe31 lcl: formatting
git-svn-id: trunk@19966 -
2009-05-15 01:57:42 +00:00
paul
ac4b855749 lcl: TApplicationProperties:
- set default values for most of properties (where it has sense)
  - add ShowButtonGlyphs property
  - minor formatting

git-svn-id: trunk@19946 -
2009-05-13 01:23:16 +00:00
paul
3005b7d87f lcl: add TApplication.ShowButtonGlyphs property and handle change
git-svn-id: trunk@19938 -
2009-05-12 08:02:36 +00:00
paul
793393a8d6 lcl: start native drawing of tooltip windows
- add TThemeServices.DrawTooltip
  - reimplement tooltip drawing through ThemeServices in case of color = clInfoBk
  - implement native tooltip drawing in ThemeServices for Windows with enabled themes

git-svn-id: trunk@19616 -
2009-04-25 12:56:04 +00:00
paul
022fd0992b lcl: update comments
git-svn-id: trunk@19405 -
2009-04-13 06:48:31 +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
101eedbc8f lcl: add TCustomForm.DefaultMonitor and appropriate implementation, publish this property it in TForm
git-svn-id: trunk@19278 -
2009-04-08 06:27:26 +00:00
mattias
321c5d0828 LCL: added comments
git-svn-id: trunk@19277 -
2009-04-07 12:53:20 +00:00
paul
ab5b649d39 lcl: TCustomForm
- EnsureVisible - use work area instead of full monitor bounds,
  - MakeFullyVisible - use full width, height instead of half to check position, add UseWorkArea argument

git-svn-id: trunk@19272 -
2009-04-07 09:22:12 +00:00
paul
31974b5e84 lcl: TCustomForm
- add MakeFullyVisible, 
  - reimplement EnsureVisible
  - rearrange public methods

git-svn-id: trunk@19269 -
2009-04-07 08:47:24 +00:00
paul
4e17e34447 wince:
- implement monitor search functions,
  - fix calling conventions from stdcall to cdecl where is needed

git-svn-id: trunk@19267 -
2009-04-07 07:30:09 +00:00
paul
752897afdc lcl: further monitor support
- add TScreen.MonitorFromPoint, TScreen.MonitorFromRect, TScreen.MonitorFromWindow
  - add TForm.Monitor
win32: add support for new TScreen methods

git-svn-id: trunk@19264 -
2009-04-07 05:29:35 +00:00
paul
5600446d97 lcl: add TScreen.PrimaryMonitor
git-svn-id: trunk@19262 -
2009-04-07 02:52:51 +00:00
paul
3a19dfff75 lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo

git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +00:00
paul
ea305d04d4 win32: initial support for fonts with national names (issue #0013141)
git-svn-id: trunk@19131 -
2009-03-27 08:15:34 +00:00
paul
ffe4e89cf0 lcl: improve exceptions handling (fixes issue #0013394)
- fix Application.HandleException usage - Sender must be an object where exception occurred, not an exception itself
  - catch exceptions in more places
  - add HandleCreateException for delphi compatibility and HandleDestroyException, HandleShowHideException for similarity

git-svn-id: trunk@19097 -
2009-03-25 10:01:24 +00:00
paul
5c9f7efdf3 lcl: set default value for TScrollBox.BorderStyle to bsSingle
win32, wince: handle TScrollBox.BorderStyle on window creation
(issue #0013346)

git-svn-id: trunk@19023 -
2009-03-18 10:48:43 +00:00
paul
c99a91c256 lcl: don't show exception using forms while application is not initialized
- add new application flag AppInitialized,
  - check if application is initialized before trying to show exception message using MessageBox

git-svn-id: trunk@19019 -
2009-03-18 09:07:41 +00:00
paul
53a4ae0a3e win32: remove few workarounds regards window focus and application z-order
lcl: remove code which focused control on every window show. it caused errors with z-order of forms after minimize-restore (issue #0012635)
lcl: restore last active control/form on application restore

git-svn-id: trunk@18645 -
2009-02-12 10:21:33 +00:00
paul
1d777bebeb lcl: introduce TScreen.DisableForms, TScreen.EnableForms,
lcl: Disabling/Enabling forms before/after showing of modal form
win32: remove win32 specific methods of disabling/enabling windows. Use new TScreen methods instead
win32: disable/enable forms before/after showing some system dialog (fixes bug #0012366, bug #0012382)

git-svn-id: trunk@18629 -
2009-02-10 14:38:01 +00:00
paul
6fc8235611 lcl: apply patch of Stephano to make some method declarations more delphi compatible (issue #0013125)
git-svn-id: trunk@18593 -
2009-02-06 17:50:50 +00:00
mattias
8a04802fc6 LCL: added TLCLComponent.LCLRefCount, TApplication.ReleaseComponent now delays free until DeliverMessage completed
git-svn-id: trunk@18578 -
2009-02-05 12:23:33 +00:00
paul
68603b956b lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
0c3dd5eb0e lcl: skip properties which exists in VCL and does not exists in LCL TForm.OldCreateOrder and TBitBtn.Style (part of issue #0001182)
git-svn-id: trunk@18514 -
2009-01-31 11:36:09 +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
mattias
204d1aa9b5 LCL: not focusing THintWindow on show
git-svn-id: trunk@18474 -
2009-01-28 15:39:55 +00:00
paul
75fcdb8abe lcl: initial support for arrow keys, handle CM_WANTSPECIALKEY for tabs and arrows
git-svn-id: trunk@18461 -
2009-01-27 09:05:42 +00:00
paul
c058184341 lcl: store ClientWidth, ClientHeight for TScrollBox as we do for forms, frames and other TScrollingWinControl descendants (fixes bug #0011000)
git-svn-id: trunk@18398 -
2009-01-23 17:12:08 +00:00
paul
342531bc74 lcl: misc formatting
git-svn-id: trunk@18096 -
2009-01-04 09:32:21 +00:00
paul
1db29cfe4c lcl: don't update mouse control on idle (bug #0012806)
git-svn-id: trunk@18017 -
2009-01-01 18:28:23 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
sekelsenmat
27ef199c26 Workaround for gettext bug in windows ce
git-svn-id: trunk@17661 -
2008-12-02 13:50:11 +00:00
paul
12aeba4f6f lcl: set defaults for TBorderSpacing and TChildSizing properties
git-svn-id: trunk@17611 -
2008-11-27 07:57:27 +00:00
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
mattias
0b0d219245 fixed some visibilities
git-svn-id: trunk@17521 -
2008-11-22 16:13:03 +00:00
paul
0392c33c7f lcl: set default values for some properties
git-svn-id: trunk@17403 -
2008-11-16 02:21:19 +00:00
paul
69f9aff08a lcl: TApplication.BidiMode from Ido with modifications (#0012542)
git-svn-id: trunk@17177 -
2008-11-01 18:11:31 +00:00
paul
06924525ea lcl, widgetsets: reimplement form, application icon setting to allow set 2 icons: small and big (#0012401)
git-svn-id: trunk@17015 -
2008-10-16 03:23:40 +00:00
mattias
405932ec23 IDE: enabled TFrame by default
git-svn-id: trunk@16909 -
2008-10-07 11:56:03 +00:00
vincents
35ad9258fb LCL: published TForm.OnShowHint (issue #11766)
git-svn-id: trunk@16793 -
2008-09-29 12:07:50 +00:00
paul
07f06787ff lcl: allow setting Size for TIcon, TCursorImage, TicnsIcon before loading or before changing Current property. fixes #0011983
git-svn-id: trunk@16279 -
2008-08-28 00:54:58 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32: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
mattias
b8abd98a33 IDE: registering TFrame
git-svn-id: trunk@15565 -
2008-06-24 18:37:31 +00:00
mattias
f3ae482691 IDE: implemented putting a frame onto a designer
git-svn-id: trunk@15561 -
2008-06-24 15:05:51 +00:00
paul
ad0c55e479 lcl:
- create, destroy TIcon.Handle when needed
- repair TCustomForm.SetIcon, TApplication.SetIcon

git-svn-id: trunk@15503 -
2008-06-21 14:23:02 +00:00
mattias
96e855ad53 LCL: TControlScrollBar: implemented hiding scrollbar, bug #11491
git-svn-id: trunk@15470 -
2008-06-19 10:41:09 +00:00
paul
194a5e0b3c lcl: publish wheel events for TForm
git-svn-id: trunk@15383 -
2008-06-11 03:34:17 +00:00
vincents
d99a049461 LCL: TScrollingWinControl.AutoScroll (bug #10774)
* moved TScrollingWinControl.AutoScroll from published to protected section
* set default value to true
* published AutoScroll in descendant classes

git-svn-id: trunk@15375 -
2008-06-10 14:30:57 +00:00
mattias
a75241f932 IDE: using DesignInfo for frames to store position, LCL: TFrame storing DesignLeft and DesignTop
git-svn-id: trunk@15227 -
2008-05-25 20:50:07 +00:00
paul
1fe620b00a lcl: add TCustomForm.GetFormImage from Gerard Visent (issue #0011292 with modifications)
git-svn-id: trunk@15127 -
2008-05-14 06:43:38 +00:00
paul
1bbabe9c0f lcl: publish more TScrollBox properties
git-svn-id: trunk@15061 -
2008-05-06 12:57:01 +00:00
paul
906fc15355 ide:
- set parent for frame to show its content
- fix frame positioning in the designer

git-svn-id: trunk@15057 -
2008-05-06 07:57:31 +00:00
paul
d2d5ce2407 lcl: add TFrame to the component palette if -dEnabledTFrame is passed
git-svn-id: trunk@15042 -
2008-05-04 09:19:54 +00:00
mattias
ae532864a2 LCL: added TFrame.LCLVersion
git-svn-id: trunk@15035 -
2008-05-03 11:20:40 +00:00
mattias
a42e97ccfc LCL: published TFrame.ClientWidth/ClientHeight
git-svn-id: trunk@15034 -
2008-05-03 11:15:12 +00:00
paul
34642accc0 remove own declaration of TDataModule => use rtl instead
git-svn-id: trunk@14745 -
2008-04-04 00:31:33 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
mattias
d00602020a LCL: added TScreen.DataModules form Aleksey Lagunov
git-svn-id: trunk@14331 -
2008-02-29 20:11:29 +00:00
mattias
3e7f7a99cc LCL: added hidden published property TForm.LCLVersion, bug #10069
git-svn-id: trunk@14270 -
2008-02-27 11:15:16 +00:00
mattias
7fb3c565e0 LCL: TForm: sorted published properties
git-svn-id: trunk@14269 -
2008-02-27 11:01:23 +00:00
mattias
6632151a96 LCL: removed TCustomForm.TextHeight
git-svn-id: trunk@14196 -
2008-02-19 19:02:37 +00:00
paul
6974762fd6 - formatting, cosmetic changes and cleanup
git-svn-id: trunk@13774 -
2008-01-16 04:05:34 +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
mattias
92861f6679 LCL: made TControl.SetVisible virtual. This fixes using TControl(AForm).Visible:=true during creation
git-svn-id: trunk@13621 -
2008-01-04 19:14:18 +00:00
mattias
525fec94be LCL: replaced drag/dock messages with a cleaner TDragManager from Marius
git-svn-id: trunk@13564 -
2008-01-01 23:35:52 +00:00
mattias
30a0f52908 LCL: TApplicationProperties now uses handler lists instead of global events
git-svn-id: trunk@13358 -
2007-12-17 19:31:44 +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
d01719fc58 LCL: TCustomForm: not calling LCLIntf.SetFocus if Parent<>nil, choosing a default for ActiveControl in TCustomForm.WndProc
git-svn-id: trunk@13131 -
2007-12-03 21:30:32 +00:00
paul
c828678066 LCL:replace direct call of TXXWidgetset.Create by indirect CreateWidgetset(TXXWidgetset) to move some initialization code from units initialization (from graphics.pp) to that new procedure. This fix memory leaks in lazbuild tool which indirectly uses many lcl units but doesnot work with widgetset.
git-svn-id: trunk@13062 -
2007-11-28 10:03:28 +00:00
mattias
f1d8c5a0e9 LCL: TApplicationProperties: added destructor to unlink the events
git-svn-id: trunk@12932 -
2007-11-20 00:08:59 +00:00
tombo
b81ab6be63 LCL Application: help key depends on widgetset
git-svn-id: trunk@12923 -
2007-11-19 14:39:55 +00:00