mattias
3166de2bc2
LCL: TApplication: replaced TList with TFPList
...
git-svn-id: trunk@24413 -
2010-04-04 23:04:37 +00:00
paul
2dfb22d93e
lcl: apply patch of Juha Manninen which registers more VCL compatibility properties which LCL should skip while reading
...
git-svn-id: trunk@24327 -
2010-04-01 00:49:45 +00:00
paul
c1327ba16e
lcl: publish TForm.Anchors
...
git-svn-id: trunk@24296 -
2010-03-30 11:23:33 +00:00
mattias
f736a0b704
LCL: autosize: removed autosizecanstart
...
git-svn-id: trunk@24042 -
2010-03-16 15:02:05 +00:00
paul
e513f0292c
lcl: rework LM_CONTEXTPOPUP - recursively call it on right mouse button up (issue #0015709 )
...
git-svn-id: trunk@24005 -
2010-03-15 07:56:44 +00:00
paul
770d3e2d9d
lcl: fix new autosize to work with ParentWindow too
...
git-svn-id: trunk@24003 -
2010-03-15 03:24:29 +00:00
paul
b2d37865b0
lcl: call Application.OnDeactivate when widgetset interface asking LCL about this
...
git-svn-id: trunk@23884 -
2010-03-09 08:13:30 +00:00
dmitry
5fe460904f
lcl: added support for mouse events and ssMeta modifier. ssMeta present in ShiftState on Cmd (Win) key pressed
...
git-svn-id: trunk@23815 -
2010-03-01 23:06:56 +00:00
paul
1f6c52fe1a
lcl, win32: start implementation of TCustomForm.PopupMode, TCustomForm.PopupParent
...
git-svn-id: trunk@23723 -
2010-02-17 06:04:19 +00:00
paul
3f076b14b9
lcl: implement TControlScrollBar.Tracking for win32, qt and gtk2 (issue #0007981 )
...
git-svn-id: trunk@23596 -
2010-01-29 17:32:40 +00:00
paul
43def91dbc
lcl: implement Application OnModalBegin, OnModalEnd, ModalLevel, ModalStarted and ModalFinished based on patch of Zeljan (issue #0015616 )
...
git-svn-id: trunk@23584 -
2010-01-29 03:08:31 +00:00
paul
c135622fe5
lcl: apply design-time alphablending on form create
...
git-svn-id: trunk@23569 -
2010-01-27 08:51:05 +00:00
paul
3208c507b6
lcl: add TCustomForm.AlphaBlend, TCustomForm.AlphaBlendValue, change TWsCustomForm.SetAlphaBlend
...
git-svn-id: trunk@23565 -
2010-01-27 07:57:16 +00:00
mattias
328ce2a7d3
LCL: fixed ReleaseComponent during ProcessAsyncCall
...
git-svn-id: trunk@23272 -
2009-12-25 11:52:13 +00:00
mattias
f358340f56
IDEIntf+LCL: TGetDesignerFormEvent using TPersistent instead of TComponent
...
git-svn-id: trunk@22907 -
2009-12-01 20:33:50 +00:00
mattias
53ede9fe10
LCL: fixed TApplication.ReleaseComponent when components in list are freed by other means
...
git-svn-id: trunk@22905 -
2009-12-01 17:36:53 +00:00
mattias
7a89ac6e1f
LCL: update actionlists of nested frames, bug #15229
...
git-svn-id: trunk@22895 -
2009-12-01 12:56:19 +00:00
paul
ce5d8e99d8
lcl: minor changes for GetDesignerForm
...
git-svn-id: trunk@22818 -
2009-11-27 04:17:43 +00:00
mattias
9277fa9e42
lcl: clean up
...
git-svn-id: trunk@22776 -
2009-11-25 21:48:59 +00:00
sekelsenmat
c15be9e2e1
New fix for bug #15075
...
git-svn-id: trunk@22775 -
2009-11-25 17:53:24 +00:00
vincents
d2ba61eceb
LCL: made TCustomForm.FFormState protected (was private), because it is protected in Delphi (issue #15034 )
...
git-svn-id: trunk@22747 -
2009-11-24 10:38:43 +00:00
paul
6264b25bc3
lcl: remove hint
...
git-svn-id: trunk@22726 -
2009-11-23 14:59:30 +00:00
sekelsenmat
2774606c92
Introduces the define DEBUG_ALLOW_DUMPBACKTRACE which removes code to dump a backtrace to the console, which crashes WinCE applications. Fixed bug #15075
...
git-svn-id: trunk@22722 -
2009-11-23 13:51:52 +00:00
paul
ffaf004a69
lcl: set default parameter for TCustomForm.CreateNew as it is delphi compatible and Marco van de Voort requested
...
git-svn-id: trunk@22720 -
2009-11-23 13:13:30 +00:00
sekelsenmat
63f13ceb9c
Rework of the ApplicationType property. atKeyPadDevice should be used instead of atSmartphone now
...
git-svn-id: trunk@22532 -
2009-11-11 16:58:18 +00:00
vincents
04304dd66c
LCL: added Application.IntfAppActivate and Application.IntfAppDeactivate, that can be called by the widgetset to notify the LCL, so it can raise the Application.OnActivate and OnDeactivate events. It is used in by the win32 widgetset (issue #8043 )
...
git-svn-id: trunk@22062 -
2009-10-07 12:10:11 +00:00
paul
194d1c80e3
lcl: BidiMode:
...
- notify forms when Application.BidiMode changed
- use application bidi mode when form get parent bidi mode change notification
- fix TControl.CMParentBidiModeChanged
git-svn-id: trunk@22022 -
2009-10-04 13:10:48 +00:00
paul
4f58001501
lcl: add BiDi mode support and Alignment for THintWindow (patch by Luiz Americo, issue #0014719 )
...
git-svn-id: trunk@22021 -
2009-10-04 13:00:38 +00:00
paul
5b02eb7f37
lcl: fix TCustomForm.CanFocus return
...
git-svn-id: trunk@21856 -
2009-09-25 09:28:02 +00:00
paul
48e060d9f7
lcl: MainMenu refactoring and other menu changes:
...
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
- TMainMenu.WindowHandle is introduced for delphi compatibility
- Don't show a main menu for the bsDialog windows (delphi compatibility)
- Explicitly request MainMenu to notify form about destruction
git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
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