Commit Graph

717 Commits

Author SHA1 Message Date
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
marc
65035435c1 * fixed typo in InvalidateScollInfo by Martin Smat
git-svn-id: trunk@12905 -
2007-11-17 16:56:22 +00:00
mattias
112a347fa5 LCL: autosizing now uses logical clienrect, so Align<>alNone controls now fills the whole logical area
git-svn-id: trunk@12679 -
2007-11-01 14:32:15 +00:00
mattias
5bef34477f LCL: TPage: fixed ReAlign of TPage on leave, resize, return, fixed clean up after delayed resizing when parent controls become visible
git-svn-id: trunk@12488 -
2007-10-16 11:45:36 +00:00
mattias
029946b537 LCL: enabled autosize for controls without parent, TForm will not autosize if minimized/maximized, once painted
git-svn-id: trunk@12483 -
2007-10-15 23:30:39 +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
paul
852f93d82f lcl: move VerboseScrollingWinControl debug condition to separate method (to simplify condition change)
git-svn-id: trunk@12328 -
2007-10-05 05:48:17 +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
mattias
2d3019ded3 gtk: fixed pasting from other apps: reason was an uninitialized stack value
git-svn-id: trunk@11693 -
2007-07-31 17:17:14 +00:00
tombo
d707f64709 LCL: added TForm.AllowDropFiles to enable OnDropFiles event, updated DropFiles example
git-svn-id: trunk@11686 -
2007-07-31 12:51:35 +00:00
vincents
146cc33de1 LCL : made TCustomForm.DoCreate and DoDestroy virtual (bug #9301)
git-svn-id: trunk@11585 -
2007-07-20 19:25:48 +00:00
paul
c4eda87b12 - Distinct TCustomForm.Position poScreenCenter and poDesktopCenter. ScreenCenter uses sizes of primary Screen but DesktopCenter whole desktop size.
- reimplement QT GetSystemMetrics for SM_CXSCREEN, SM_CYSCREEN and move old method to SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN

git-svn-id: trunk@11450 -
2007-07-09 12:50:20 +00:00
paul
d5c7e43700 - BidiMode patch from Zaher Dirkey (0008996) part 1
git-svn-id: trunk@11408 -
2007-07-02 07:00:51 +00:00
tombo
d7ae9d52d1 LCL: renamed OnFilesDrop event to OnDropFiles
git-svn-id: trunk@11369 -
2007-06-25 14:38:03 +00:00
tombo
6860a97e2b LCL: added OnFilesDrop event to TCustomForm, TApplication and TApplicationProperties
* created example application
* implemented in Win32 interface

git-svn-id: trunk@11365 -
2007-06-24 10:17:46 +00:00
mattias
06efcb6461 LCL: fixed TApplication.ReleaseComponent
git-svn-id: trunk@11232 -
2007-05-30 23:10:09 +00:00
paul
0b6ce0bd99 BiDiMode patch from zaher dirkey (report 0008955)
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
mattias
6b9944e3a0 IDE: compiling a package now shows it in the MainBar caption, building the IDE does not save virtual projects
git-svn-id: trunk@10837 -
2007-03-31 12:41:20 +00:00
mattias
a46e0d0b54 LCL: changed TApplication.AddOnIdleHandler to use TIdleEvent instead of TNotifyEvent, IDE: codebrowser: added resourcestrings
git-svn-id: trunk@10823 -
2007-03-28 19:01:27 +00:00
vincents
4e8826349b LCL: read Form.RestoredLeft from the Left property if the from in wsNormal state.
Handeling WM_MOVE doesn't work, because windows sends WM_MOVE before WM_SIZE when a form becomes maximized and we have no information to ignore that WM_MOVE message.
same for RestoredTop
Fixes bug #8077.

git-svn-id: trunk@10806 -
2007-03-26 14:57:16 +00:00
vincents
ba85e84687 LCL: published dragging related properties
patch by: Paul Ishenin

git-svn-id: trunk@10648 -
2007-02-16 08:31:43 +00:00
mattias
5a7ff6537a LCL: Tapplication.CreateForm with out param, cleanups, renamed TCustomPropertyStorage param name Default with DefaultValue from Flávio Etrusco
git-svn-id: trunk@10626 -
2007-02-12 12:40:41 +00:00
mattias
8c958b060d LCL: always registering ResourceHandler
git-svn-id: trunk@10580 -
2007-02-05 10:15:50 +00:00
vincents
5fef15b66b LCL: don't call OnHide/OnShow after minimizing/restoring (bug #7255)
git-svn-id: trunk@10506 -
2007-01-26 10:18:27 +00:00
mattias
db61aa7535 LCL: Application.MainForm is now set before form handle is created
git-svn-id: trunk@10472 -
2007-01-18 13:33:50 +00:00
marc
b3f981c48b * Modified patch from Paul Ishenin implementing cursors
git-svn-id: trunk@10446 -
2007-01-15 00:53:09 +00:00
vincents
6694bbe784 LCL: Added property TApplication.Active (#8083)
git-svn-id: trunk@10387 -
2007-01-07 20:36:08 +00:00
vincents
3a6655a91a LCL: added TForm.OnDblClick (bug #7932)
TrayIcon: added OnDblClick support

git-svn-id: trunk@10381 -
2007-01-05 14:56:02 +00:00
mattias
3f4887140f LCL: OnResize and OnChangeBounds are now suspended after OnCreate
git-svn-id: trunk@10360 -
2006-12-30 11:48:48 +00:00
vincents
2a47ee1f96 LCL: published TForm.OnClick (bug #8005)
git-svn-id: trunk@10346 -
2006-12-22 08:39:51 +00:00
mattias
f9fcb805bb LCL: fixed updating control scrollbars, remaining bug: win32 intf moves controls when scrolling
git-svn-id: trunk@10317 -
2006-12-09 10:24:44 +00:00
vincents
470920716e LCL: made TCustomForm.IsShortcut virtual (bug #7921) from Colin Western
git-svn-id: trunk@10298 -
2006-12-05 07:41:39 +00:00
vincents
28bfc29f27 LCL: added THintWindow.ActivateHintData (bug #7488)
git-svn-id: trunk@10297 -
2006-12-05 07:24:50 +00:00
vincents
d3748b96c4 LCL + win32 interface: implemented Application.Restore and Application.Minimize + events (bug #1391) from Boguslaw Brandys
git-svn-id: trunk@10265 -
2006-11-30 13:40:34 +00:00
mattias
0a487c57cc codetools: include directives apostrophes are now allowed in all compiler modes
git-svn-id: trunk@10236 -
2006-11-24 13:36:03 +00:00
micha
3e63e3f908 make async call queue a FIFO (patch by Alexandre Leclerc)
git-svn-id: trunk@10210 -
2006-11-16 20:26:39 +00:00
vincents
9757e008dd lcl: added TApplication.ApplicationType from Christian Ulrich
git-svn-id: trunk@10206 -
2006-11-16 12:16:35 +00:00
mattias
921f2b2e64 LCL: TBar properties can now be changed from Aleksey Lagunov
git-svn-id: trunk@10178 -
2006-11-07 23:10:10 +00:00
mattias
05785d7349 added GlobalNameSpace.Begin/EndWrite to TCustomForm, TDataModule
git-svn-id: trunk@10002 -
2006-09-27 21:36:10 +00:00
mattias
9b836a28f0 moved code from TControlScrollBar to TScrollingWinControl, deriving TScrollingWinControl from TCustomControl from Flavio
git-svn-id: trunk@9952 -
2006-09-20 23:14:09 +00:00
mattias
f7855da268 IDE: moved package compile code to packagesystem, IDEIntf: removed IsPartOfProject flag of Backup functions, lazbuidl: package compiling
git-svn-id: trunk@9821 -
2006-09-06 22:40:37 +00:00
mattias
8783e0100d IDE: Find in Files: implemented multi line pattern and replacement, gtk intf: improved z ordering with modal forms
git-svn-id: trunk@9779 -
2006-09-01 14:38:07 +00:00
mattias
9f19bda8e3 docking: implemented restoring control anchored to multiple siblings, implemented restoring windowstate
git-svn-id: trunk@9736 -
2006-08-20 18:52:08 +00:00
mattias
7bb113cec8 fixed a few fpc 2.1.1 incompatibilities
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
micha
f88cd92e06 fix restored values, only need to be updated when LCL will realize new bounds, DoSetBounds also called from LM_MOVE and autosizing (issue #2016)
git-svn-id: trunk@9650 -
2006-07-21 12:46:17 +00:00
mattias
54775b843e adding events for properties of method types of indirect units implemented issue #1990
git-svn-id: trunk@9600 -
2006-07-13 22:06:24 +00:00
mattias
909bde3051 fixed TRadioButton updating sibling buttons, when no handles are created
git-svn-id: trunk@9579 -
2006-07-10 00:31:40 +00:00
jesus
aa20edd467 fixed mouse events return wrong coordinates in scrolling components (win32, issue #1983), enabled ajustments for customforms in gtk
git-svn-id: trunk@9316 -
2006-05-20 17:10:17 +00:00
mattias
236481b49c implemented parameter hints
git-svn-id: trunk@9314 -
2006-05-20 12:53:57 +00:00
mattias
4023c08654 fixed checking adding unitpaths on adding units to packages
git-svn-id: trunk@9305 -
2006-05-18 22:52:15 +00:00
mattias
336c22deda added Help to TApplication, disable it with Application.Navigation-[anoF1ForHelp]
git-svn-id: trunk@9281 -
2006-05-13 17:07:25 +00:00
mattias
fa83cfbcf9 added TCustomForm.IntfHelp - a method to be called by the interfaces
git-svn-id: trunk@9274 -
2006-05-13 12:58:32 +00:00
mattias
003ec5d0f6 application dump stack only if no AppNoExceptionMessages is set
git-svn-id: trunk@9261 -
2006-05-13 08:20:31 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
950dc3d88a implemented Help for IDE windows, added node for OI
git-svn-id: trunk@9199 -
2006-04-29 12:25:17 +00:00
mattias
560cd8d9a1 fixed appliaction lastmouse cache
git-svn-id: trunk@9169 -
2006-04-23 20:49:01 +00:00
mattias
422e644e54 reduced overhead in TWinControl.IsControlMouseMsg from Darek
git-svn-id: trunk@9164 -
2006-04-23 20:20:22 +00:00
vincents
1305af6d49 added Application.OnEndSession and Application.OnQueryEndSession from Boguslaw Brandys
git-svn-id: trunk@8941 -
2006-03-16 20:07:16 +00:00
vincents
d437ea67e0 clean up
git-svn-id: trunk@8781 -
2006-02-20 13:41:28 +00:00
micha
a38ed98e25 implement TCustomForm.EnsureVisible
git-svn-id: trunk@8557 -
2006-01-18 20:21:15 +00:00
mattias
6e8ee76fb2 build lazarus now always use -w to get entering/leaving marks, improved carbon intf mouse events
git-svn-id: trunk@8514 -
2006-01-13 18:43:42 +00:00
vincents
df9d19b381 implemented TApplicationProperties.ShowMainForm (issue #882)
git-svn-id: trunk@8498 -
2006-01-11 12:37:27 +00:00
micha
bc9cefe2d0 fix case of argument
git-svn-id: trunk@8359 -
2005-12-23 20:35:38 +00:00
micha
b7719fdbdd make ReleaseComponent more generic by introducing QueueAsyncCall
git-svn-id: trunk@8297 -
2005-12-12 19:22:28 +00:00
mattias
e84231cff6 improved smartlinking: graphics and forms finalization
git-svn-id: trunk@8254 -
2005-12-06 11:25:16 +00:00
mattias
21e9c81a84 reduced overhead getting PixelsPerInch
git-svn-id: trunk@8155 -
2005-11-14 22:12:49 +00:00
mattias
23d064a68d fixed calling Idle while debugging for cmd line debugger
git-svn-id: trunk@8135 -
2005-11-11 17:16:23 +00:00
vincents
afe0734734 clean up of fpcadds
git-svn-id: trunk@8101 -
2005-11-07 23:25:45 +00:00
micha
95cfbef747 add TShowInTaskbar enum to specify "default", which is default for what the widgetset wants
git-svn-id: trunk@8079 -
2005-11-06 19:35:22 +00:00
mattias
679cd0bc8e implemented TCustomForm.OnWindowStateChange for gtk2
git-svn-id: trunk@8066 -
2005-11-05 12:55:53 +00:00
mattias
4a15b32072 fixed calling CreateFormEditor
git-svn-id: trunk@7863 -
2005-09-30 23:00:17 +00:00
mattias
9dfd7b0475 implemented TApplication.OnActivate/OnDeactivate
git-svn-id: trunk@7714 -
2005-09-16 09:39:08 +00:00
mattias
c727146b87 implemented ide command scopes in keymapping, not functional yet
git-svn-id: trunk@7691 -
2005-09-14 00:17:45 +00:00
marc
ff92a7ad3a * Trimmed trailing spaces
git-svn-id: trunk@7664 -
2005-09-10 16:19:39 +00:00
mattias
e75d89fe68 added debugln for AutoSizeDelayed
git-svn-id: trunk@7639 -
2005-09-06 22:25:54 +00:00
marc
68321456bb * Renamed InterfaceObject to WidgetSet
- Removed some logs
* Changed mainloop to a callback through the interface

git-svn-id: trunk@7585 -
2005-08-28 23:38:18 +00:00
mattias
b526cdf66b formnames are now searched in Screen, started project session files
git-svn-id: trunk@7511 -
2005-08-16 20:07:43 +00:00
mattias
f747f8fec6 TApplication now sets FindGlobalComponent always
git-svn-id: trunk@7497 -
2005-08-13 11:11:17 +00:00
vincents
1064272122 removed ifdef ver1 from Martin Smat
git-svn-id: trunk@7479 -
2005-08-04 08:41:46 +00:00
mattias
c787366beb added TIDEDialogLayoutStorage component for simpler IDE dialogs
git-svn-id: trunk@7462 -
2005-07-31 17:58:40 +00:00
vincents
3c8fe5d206 initialize variables at declaration instead in the unit initialization from Florian K�berle
git-svn-id: trunk@7426 -
2005-07-26 08:45:15 +00:00
mattias
5589eb6e2c fixed clean all in IDE, added SystemKey parameter to IntfUTF8KeyPress
git-svn-id: trunk@7327 -
2005-07-07 20:20:45 +00:00
mattias
87bc6b3931 added AutoSizeDelayed check for controls without form parents
git-svn-id: trunk@7307 -
2005-06-30 19:39:04 +00:00
vincents
79896c7112 - removed 1.x specific FindGlobalComponent
- added writing stack trace of exception in Application.HandleException

git-svn-id: trunk@7260 -
2005-06-21 14:41:16 +00:00
mattias
ef447778e8 added TApplication.ShowMainForm from George Lober
git-svn-id: trunk@7244 -
2005-06-17 15:49:55 +00:00
mattias
1114e5832d added message parts to Help interface
git-svn-id: trunk@7225 -
2005-06-08 08:02:09 +00:00
mattias
93764b38a9 added constraints to about form and published TForm.OnShortCut
git-svn-id: trunk@7185 -
2005-05-19 20:59:42 +00:00
micha
2bfef4ae8e implement/fix button/label shortcut accelchar handling
git-svn-id: trunk@7108 -
2005-04-27 12:37:28 +00:00
mattias
4088211fec moved THintInfo from forms.pp to controls.pp and changed TControlShowHint event from pointer to PHintHinfo
git-svn-id: trunk@7092 -
2005-04-20 07:14:00 +00:00
micha
fbb495bee3 implement active default control switching
pressing return key executes active default control action

git-svn-id: trunk@7080 -
2005-04-17 18:41:15 +00:00
micha
e26daffd9e remove TApplication.Handle (not cross-platform)
git-svn-id: trunk@7029 -
2005-03-26 11:24:55 +00:00
micha
ab2ceb0d19 implement ShowInTaskBar for win32 intf
git-svn-id: trunk@7022 -
2005-03-25 08:58:11 +00:00
mattias
5ec0ba3595 implemented TCustomForm.ShowInTaskBar for gtk1+2 from Andrew Haines
git-svn-id: trunk@6995 -
2005-03-19 23:36:26 +00:00
mattias
f8d5c91d6f moved CM_ message constants from crontrols.pp to lmessages.pp to break circles and clean up controls.pp
git-svn-id: trunk@6940 -
2005-03-11 14:40:37 +00:00
mattias
57990d6de7 handle tab key in ControlKeyDown in TCustomEdit and TCustomComboBox
git-svn-id: trunk@6933 -
2005-03-10 09:02:11 +00:00
mattias
c7ed36c323 implemented gtk2 AppMinimize
git-svn-id: trunk@6921 -
2005-03-08 00:28:03 +00:00
vincents
5c84454943 changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
git-svn-id: trunk@6915 -
2005-03-07 21:59:45 +00:00
mattias
80090ba2b3 fixed fpc 1.9.9 compilation
git-svn-id: trunk@6876 -
2005-03-02 15:16:55 +00:00
mattias
a2e6b02e8c implemented updating TApplication.Hint
git-svn-id: trunk@6872 -
2005-03-02 11:30:16 +00:00
mattias
1fe900aedb TApplication now frees only its components before finalization, not itself
git-svn-id: trunk@6860 -
2005-02-28 16:52:24 +00:00
mattias
5baf8a8fef TApplication now uses ExitProc to free itself before all finaizations
git-svn-id: trunk@6852 -
2005-02-26 20:43:54 +00:00
mattias
75695b098e fixed hint size and activate
git-svn-id: trunk@6851 -
2005-02-26 20:26:03 +00:00
mattias
85765e67ac added navigation key check for up/down already handled
git-svn-id: trunk@6825 -
2005-02-21 13:54:26 +00:00
mattias
7d8b514be9 moved LCL navigation key handling to key up, so that interface has the chance to handle keys
git-svn-id: trunk@6815 -
2005-02-19 21:54:08 +00:00
mattias
9ed4753dc8 disabling idle handler during TApplication error handling
git-svn-id: trunk@6793 -
2005-02-17 18:54:04 +00:00
mattias
8d74a139b2 extented error message of TApplication
git-svn-id: trunk@6792 -
2005-02-17 18:48:24 +00:00
vincents
8e64bd00ae fixed fpc 1.0.x compilation
git-svn-id: trunk@6773 -
2005-02-08 21:46:23 +00:00
marc
7c3a95c570 * first 64bit changes
git-svn-id: trunk@6752 -
2005-02-05 16:09:52 +00:00
mattias
a6b0ee0289 implemented gtkwidgetset.IsWindowEnabled
git-svn-id: trunk@6740 -
2005-02-05 13:33:05 +00:00
micha
6fa632827f implement shortcut handling, tcustomlabel accelerator focuscontrol functionality
git-svn-id: trunk@6725 -
2005-02-03 15:10:23 +00:00
vincents
394aba6eba added define ExceptionHasNoFrames and set it for fpc 1.0.x and 1.9.6
git-svn-id: trunk@6715 -
2005-01-29 03:24:05 +00:00
vincents
71f4a8dab7 fix for 1.9.7 and higher.
git-svn-id: trunk@6706 -
2005-01-28 11:40:32 +00:00
mattias
948a215e46 added QuestionDlg - a MessageDlg with custom buttons
git-svn-id: trunk@6703 -
2005-01-27 19:03:51 +00:00
mattias
1ae6bc0c26 fixed updating restored form bounds for forms without handle
git-svn-id: trunk@6688 -
2005-01-25 20:07:03 +00:00
micha
d303185c5d implement restored size, let lazarus ide store restored size
git-svn-id: trunk@6662 -
2005-01-21 22:08:11 +00:00
mattias
ab66df423f fixed TGtkWidgetSet.ExtSelectClipRGN for DCOrigin
git-svn-id: trunk@6608 -
2005-01-16 11:40:11 +00:00
mattias
c49518c55c published BorderSpacing for many controls
git-svn-id: trunk@6429 -
2004-12-27 19:40:59 +00:00
mattias
d2d3030a60 implemented creating classes at run time from any TComponent descendant
git-svn-id: trunk@6272 -
2004-11-20 11:20:06 +00:00
vincents
3ec726878e Destroy menu handle, when destroying form handle.
git-svn-id: trunk@6227 -
2004-11-10 20:53:18 +00:00
mattias
5f8024e0d7 implemented auto sizing: child to parent sizing
git-svn-id: trunk@6206 -
2004-11-05 22:08:53 +00:00
micha
3c81935809 add TCustomForm.BorderIcons (delphi compat)
tweak win32 window dialog flags, to create better dialog look

git-svn-id: trunk@6159 -
2004-10-24 18:54:57 +00:00
mattias
9cbff0982c added default values for compiler skip options and improved many parts of synedit for UTF8
git-svn-id: trunk@5919 -
2004-09-04 22:24:16 +00:00
mattias
56ae7a60a2 fixed focus catch for combobox csDropDownList
git-svn-id: trunk@5890 -
2004-08-30 10:49:20 +00:00
micha
fe38ae6e93 implement tapplication.minimize for win32, stub for gtk
git-svn-id: trunk@5868 -
2004-08-27 08:55:23 +00:00
mattias
aa117a3f6c moved navigation key handling to TApplication and added options for custom navigation
git-svn-id: trunk@5862 -
2004-08-26 19:09:34 +00:00
mattias
f576d2fccd simple forms can now be child controls
git-svn-id: trunk@5820 -
2004-08-18 20:49:03 +00:00
mattias
0ae50847ff implemented TCustomForm.Release
git-svn-id: trunk@5819 -
2004-08-18 14:24:55 +00:00
mattias
8fb1867a6b removed obsolete unit vclglobals
git-svn-id: trunk@5814 -
2004-08-18 09:31:21 +00:00
mattias
8fbf5f70d1 started TCustomDockForm
git-svn-id: trunk@5807 -
2004-08-16 22:09:18 +00:00
mattias
d2c46c3582 published TForm.SessionProperties, added property editor and activated the storage components for fpc 1.9.5 because of rttiutils
git-svn-id: trunk@5806 -
2004-08-16 20:40:26 +00:00
mattias
32db79433f fixed freeing TReader.Driver
git-svn-id: trunk@5788 -
2004-08-15 15:05:46 +00:00
mattias
a6d5670154 implemented platform independent binary object streamer
git-svn-id: trunk@5787 -
2004-08-15 14:39:36 +00:00
mattias
885b54ba20 fixed codetools ConstSet, implemented notifying TApplication whenmenu popups
git-svn-id: trunk@5776 -
2004-08-13 10:20:19 +00:00
mattias
581bef95fc moved intfstrconsts.pp to lclstrconsts.pas, implemented TPenHandleCache
git-svn-id: trunk@5769 -
2004-08-11 20:57:09 +00:00
mattias
fe6fe05521 implemented FormStyle fsSplash for splash screens
git-svn-id: trunk@5762 -
2004-08-09 21:12:43 +00:00
mattias
e6ebce1af3 added workaround for not working TDataModule.AfterConstruction
git-svn-id: trunk@5733 -
2004-08-04 10:35:38 +00:00
mattias
efd5eaf7b4 fixed fpc 1.0.10 compilation
git-svn-id: trunk@5711 -
2004-07-25 22:54:38 +00:00
mattias
2f8201d816 added rx components from Michal Van Canneyt
git-svn-id: trunk@5709 -
2004-07-25 15:39:55 +00:00
mattias
784902b92a TXMLPropStorage basically working
git-svn-id: trunk@5704 -
2004-07-25 01:04:45 +00:00
mattias
4b1ebca16e started propertystorage enable with -dEnableSessionProps
git-svn-id: trunk@5699 -
2004-07-23 22:06:56 +00:00
mattias
477ec0d445 extended RolesForForm to manage multiple roles for on control
git-svn-id: trunk@5665 -
2004-07-11 13:03:54 +00:00
mattias
587f9c2420 added Delphi ToDo support, Application.WndProc, small bugfixes from Colin
git-svn-id: trunk@5664 -
2004-07-10 18:17:30 +00:00
micha
a3cfd24da5 implement better ExecuteXXAction design; break dependency on TButton class in TCustomForm
git-svn-id: trunk@5634 -
2004-07-01 20:42:11 +00:00
micha
9dbc1ae5d7 implement return key clicks default button; escape key clicks cancel button
git-svn-id: trunk@5623 -
2004-06-30 11:07:20 +00:00
mattias
d4265baaa0 readded protected TWinControl.BorderStyle
git-svn-id: trunk@5497 -
2004-05-21 18:34:44 +00:00
mattias
5d9f229457 quick fixed crashing property overloading BorderStyle
git-svn-id: trunk@5496 -
2004-05-21 18:20:11 +00:00
mattias
c01cf47133 quick fixed crashing property overloading BorderStyle
git-svn-id: trunk@5495 -
2004-05-21 18:12:17 +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
mattias
7f77713e6c replaced writeln by debugln
git-svn-id: trunk@5456 -
2004-05-11 12:16:48 +00:00
marc
34c1c7f47b * Interface reconstruction. Created skeleton units, classes and wscontrols
git-svn-id: trunk@5311 -
2004-03-17 00:34:37 +00:00
mattias
fc72bfb144 added TWinControl.ParentFormInitializeWnd
git-svn-id: trunk@5288 -
2004-03-08 22:36:01 +00:00
mattias
add76d4e8b completed new TToolBar
git-svn-id: trunk@5226 -
2004-02-23 18:24:38 +00:00
mattias
3e893c428f activated Idle actions
git-svn-id: trunk@5190 -
2004-02-10 02:00:13 +00:00
mattias
cb3a24c0c7 added TActionList - actions need testing
git-svn-id: trunk@5139 -
2004-02-02 17:39:10 +00:00
mattias
7e956b8c19 more Actions TAction, TBasicAction, ...
git-svn-id: trunk@5138 -
2004-02-02 16:59:28 +00:00
micha
8881c2270a fix a lot of range check errors win32
git-svn-id: trunk@4986 -
2003-12-29 14:22:22 +00:00
mattias
d90dafe5fe set colors to default values
git-svn-id: trunk@4980 -
2003-12-28 02:40:50 +00:00
mattias
add918bbb0 implemented default values for property editors and OI
git-svn-id: trunk@4978 -
2003-12-27 19:34:13 +00:00
mattias
459b1c939c fixed many range check warnings
git-svn-id: trunk@4951 -
2003-12-25 14:17:07 +00:00
micha
d67aaa19bf fix defocus control when destroying it
git-svn-id: trunk@4943 -
2003-12-23 16:50:45 +00:00
micha
56bdc23a6f hint fixes: parentfont, font itself, showing/hiding + more
git-svn-id: trunk@4884 -
2003-12-14 19:18:04 +00:00
mattias
53adb7a109 reduced unit circles, fixed fpImage streaming
git-svn-id: trunk@4844 -
2003-11-26 21:30:19 +00:00
mattias
aa03a209d6 started PixelsPerInch
git-svn-id: trunk@4814 -
2003-11-17 23:09:39 +00:00
mattias
1e4cf2c054 fpc 1.1 fixes, started scrollbar hiding, started polymorphing client areas
git-svn-id: trunk@4752 -
2003-11-01 10:27:41 +00:00
mattias
3564a2e914 removed some hints
git-svn-id: trunk@4744 -
2003-10-30 21:26:23 +00:00
mattias
6a07969e0d removed CustApp defines
git-svn-id: trunk@4721 -
2003-10-21 18:44:11 +00:00
mattias
11dd41282d fixed TApplicationProperties
git-svn-id: trunk@4713 -
2003-10-16 20:31:21 +00:00
mattias
1b77f736e7 added catalan
git-svn-id: trunk@4707 -
2003-10-11 08:33:22 +00:00
mattias
dfab5a13b1 moved some lazarus resource code to LResources.pp
git-svn-id: trunk@4703 -
2003-10-07 14:54:59 +00:00
ajgenius
db287fefac temp hack to workaround TApplicationProperties in Designing
git-svn-id: trunk@4687 -
2003-10-01 13:24:10 +00:00
ajgenius
9ffc72bf75 added initial TApplicationProperties(ala D5 TApplicationEvents)
git-svn-id: trunk@4685 -
2003-09-29 21:24:35 +00:00
mattias
5e5c1122a7 renamed LCLLinux to LCLIntf
git-svn-id: trunk@4637 -
2003-09-18 09:21:03 +00:00
mattias
f776299788 fixed ColorIsStored
git-svn-id: trunk@4611 -
2003-09-13 10:06:53 +00:00
mattias
8867c27b0f fixed register color prop edit
git-svn-id: trunk@4543 -
2003-08-28 12:08:30 +00:00
mattias
a9d2994382 started TDockTree
git-svn-id: trunk@4536 -
2003-08-27 11:01:10 +00:00
mattias
115757e25e added TFrame definition, no implementation
git-svn-id: trunk@4534 -
2003-08-27 09:20:44 +00:00
mattias
e00dd881f3 activated CustApp as default
git-svn-id: trunk@4487 -
2003-08-15 16:27:50 +00:00
mattias
e691fb61ec TApplication now descends from TCustomApplication
git-svn-id: trunk@4471 -
2003-08-12 21:35:11 +00:00
mattias
62cb8e4eaf added TApplication.CaptureExceptions
git-svn-id: trunk@4409 -
2003-07-16 16:53:59 +00:00
mattias
c4156a9592 deactivated FCL TDataModule
git-svn-id: trunk@4408 -
2003-07-14 09:03:39 +00:00
mattias
2d244346ef fixed TDataModule.OnCreate
git-svn-id: trunk@4392 -
2003-07-11 09:26:08 +00:00
marc
822a5a7bd7 * Fixed UseFCLDataModule ifdef define
git-svn-id: trunk@4383 -
2003-07-07 23:56:41 +00:00
mattias
87f19981ac fixed expression evaluation
git-svn-id: trunk@4382 -
2003-07-07 20:02:08 +00:00
mattias
afd8334eb0 updated polish localization
git-svn-id: trunk@4372 -
2003-07-06 17:53:35 +00:00
mattias
0daacecbf3 implemented TPairSplitter streaming
git-svn-id: trunk@4298 -
2003-06-23 12:33:55 +00:00
mattias
1fb4ee52a5 fixes for debugging lazarus
git-svn-id: trunk@4296 -
2003-06-23 09:42:09 +00:00
mattias
8882e9c7e7 fixed keeping TForm.Visible=false
git-svn-id: trunk@4281 -
2003-06-16 22:47:19 +00:00
mattias
31e18d27ca fixed using streamed clientwith/height for child anchors
git-svn-id: trunk@4270 -
2003-06-13 14:38:01 +00:00
mattias
57effbf6b3 updated russian localization from Vasily
git-svn-id: trunk@4246 -
2003-06-09 10:07:34 +00:00
mattias
f3ef2a775b fixed 1_0_8 difference
git-svn-id: trunk@4245 -
2003-06-09 09:31:40 +00:00
mattias
c5919c3dfd deactivated our TDataModule for fpc 1.0.8 and 1.1
git-svn-id: trunk@4235 -
2003-06-05 15:25:28 +00:00
mattias
e601180b90 implemented popupmenu items in source editor for breakpoints
git-svn-id: trunk@4233 -
2003-06-04 16:34:11 +00:00
mattias
2929675a0b fixed debugger stop
git-svn-id: trunk@4225 -
2003-06-02 21:37:30 +00:00
mattias
812dbc2965 fixed streaming TDataModule in programs
git-svn-id: trunk@4223 -
2003-06-01 21:37:18 +00:00
mattias
ec9835ce63 implemented datamodules
git-svn-id: trunk@4222 -
2003-06-01 21:09:09 +00:00
mattias
f5fda4505a added TScreen handlers, implemented TMainIDE.UnHideIDE
git-svn-id: trunk@4184 -
2003-05-25 12:12:36 +00:00
mattias
54b361fc68 implemented designer close query
git-svn-id: trunk@4180 -
2003-05-24 08:51:41 +00:00
mattias
a9c753a035 published keypreview
git-svn-id: trunk@4085 -
2003-04-20 16:32:58 +00:00
mattias
043ac98dfc fixed loading form name
git-svn-id: trunk@4082 -
2003-04-20 07:36:29 +00:00
mattias
4acd20bf61 fixed codetools Makefile, fixed default prop not found error
git-svn-id: trunk@4066 -
2003-04-16 22:11:35 +00:00
mattias
7734542e04 implemented package check broken dependency on compile
git-svn-id: trunk@4064 -
2003-04-16 17:20:24 +00:00
mattias
1007c59db7 implemented closing unneeded package
git-svn-id: trunk@4047 -
2003-04-11 21:21:34 +00:00
mattias
cd0c2a7936 added Sender to Application OnKeyDownHandler
git-svn-id: trunk@4043 -
2003-04-11 10:31:57 +00:00
mattias
36bdb823f4 added Application OnKeyDownHandler
git-svn-id: trunk@4042 -
2003-04-11 10:23:23 +00:00
mattias
280af8c739 added some help stuff
git-svn-id: trunk@4041 -
2003-04-11 09:32:20 +00:00
mattias
26455f257f published TControl help properties
git-svn-id: trunk@4040 -
2003-04-11 08:09:26 +00:00
mattias
1127317f62 started package registration
git-svn-id: trunk@4013 -
2003-04-04 16:35:24 +00:00
mattias
977dec59dc fixes for current fpc 1.1
git-svn-id: trunk@3989 -
2003-03-31 10:57:40 +00:00
mattias
a66925277d added TMemoScrollBar
git-svn-id: trunk@3981 -
2003-03-29 17:20:05 +00:00
mattias
3c1c4757ca started TMemoScrollbar
git-svn-id: trunk@3980 -
2003-03-28 23:03:38 +00:00
mattias
5d85ab44f3 implemented build lazarus extra options -d
git-svn-id: trunk@3964 -
2003-03-26 00:21:25 +00:00
mattias
1b47078742 reduced focus handling and improved focus setting
git-svn-id: trunk@3958 -
2003-03-25 10:45:41 +00:00
mattias
964c20a9c5 fixed fpc 1.1 search paths
git-svn-id: trunk@3956 -
2003-03-18 19:14:58 +00:00
mattias
b54d888214 set transient forms with Screen object order
git-svn-id: trunk@3954 -
2003-03-18 13:45:39 +00:00
mattias
002ca709d8 improved focus debugging output
git-svn-id: trunk@3953 -
2003-03-18 13:04:25 +00:00
mattias
f9ff190130 added IsWindowVisible
git-svn-id: trunk@3944 -
2003-03-17 08:51:10 +00:00
mattias
87fe34c5dc fixed transient windows
git-svn-id: trunk@3931 -
2003-03-15 09:42:49 +00:00
mattias
e6d4462a96 added visiblechanging
git-svn-id: trunk@3912 -
2003-03-11 22:56:41 +00:00
mattias
cb8dad4ea8 more localization for gtk- and win32-interface and lcl
git-svn-id: trunk@3908 -
2003-03-11 07:46:44 +00:00
mattias
ad0ea540e1 fixed FindRootDesigner for non controls and added gnome icon
git-svn-id: trunk@3840 -
2003-02-07 20:34:19 +00:00
mattias
aa186e7665 fixed modified and loading xpms for button glyphs
git-svn-id: trunk@3831 -
2003-02-04 11:44:13 +00:00
mattias
b66832a1e7 fixed scrolling offset of TScrollingWinControl
git-svn-id: trunk@3818 -
2003-01-18 21:31:43 +00:00
mattias
2d0fb715b4 implemented fsStayOnTop+bsNone for forms under gtk (useful for splash)
git-svn-id: trunk@3792 -
2003-01-06 12:00:16 +00:00
mattias
793dcc8be5 fixed TCustomform.BringToFront
git-svn-id: trunk@3783 -
2003-01-04 12:06:53 +00:00
mattias
4f99bbbbf7 added Windows menu to IDE
git-svn-id: trunk@3782 -
2003-01-04 11:58:32 +00:00
mattias
3a628d7a0e focus fixes, reduced lpi size
git-svn-id: trunk@3749 -
2002-12-28 12:42:38 +00:00
mattias
c36de31dd9 xmlcfg deletion, focus fixes
git-svn-id: trunk@3748 -
2002-12-28 11:29:47 +00:00
mattias
c9dfc381a4 fixed SetColor
git-svn-id: trunk@3743 -
2002-12-27 17:46:04 +00:00
mattias
279a4f077c added more Delphi win32 compatibility functions
git-svn-id: trunk@3742 -
2002-12-27 17:12:38 +00:00
mattias
6167af23a2 added included by to unitinfo and a few win32 functions
git-svn-id: trunk@3737 -
2002-12-26 11:00:15 +00:00
mattias
17f2aeb9bc made Form.Close more Delphish, added some windows compatibility functions
git-svn-id: trunk@3733 -
2002-12-25 10:21:05 +00:00
mattias
ff323fb469 removed unused TCustomForm.WMDestroy
git-svn-id: trunk@3678 -
2002-11-30 11:24:05 +00:00
mattias
41680539cb started OnMouseEnter and OnMouseLeave
git-svn-id: trunk@3653 -
2002-11-21 18:49:52 +00:00
mattias
98f2c29901 added Delphis trick to set the form reference before the constructor is called
git-svn-id: trunk@3639 -
2002-11-15 22:43:28 +00:00
lazarus
2cf41469ac MG: fixed forms.pp comilation
git-svn-id: trunk@3621 -
2002-11-11 18:14:12 +00:00
lazarus
9d7444f027 MG: added custom components trick
git-svn-id: trunk@3620 -
2002-11-11 18:09:45 +00:00
lazarus
c4dc3239e9 MG: fixed LM_LVChangedItem, OnShowHint, small bugs
git-svn-id: trunk@3616 -
2002-11-09 15:02:07 +00:00
lazarus
eb1a2d14f1 MG: reduced showing forms during creation
git-svn-id: trunk@3613 -
2002-11-06 17:46:36 +00:00
lazarus
fb4ff8c25c MG: fixed codetools abort
git-svn-id: trunk@3612 -
2002-11-06 15:59:24 +00:00
lazarus
d4b3937a3a MG: implemented Application.OnShowHint
git-svn-id: trunk@3611 -
2002-11-05 23:44:47 +00:00
lazarus
69623c1f81 MG: implemented hints
git-svn-id: trunk@3608 -
2002-11-05 20:03:42 +00:00
lazarus
35142e24f6 MG: fixed typo
git-svn-id: trunk@3604 -
2002-11-04 09:55:55 +00:00
lazarus
5494b07328 MG: fixed ControlAtPos
git-svn-id: trunk@3603 -
2002-11-03 22:40:28 +00:00
lazarus
e33417531d MG: implemented TMethodList and Application Idle handlers
git-svn-id: trunk@3599 -
2002-11-02 22:25:36 +00:00
lazarus
28eaade3c2 MG: fixed mouse coords on scrolling wincontrols
git-svn-id: trunk@3597 -
2002-11-01 14:40:31 +00:00
lazarus
678e5f14c0 MG: implemented TControlScrollBar.Size
git-svn-id: trunk@3596 -
2002-10-31 21:29:47 +00:00
lazarus
1df9cbaea5 MG: reduced messages of TScrollingWinControl
git-svn-id: trunk@3576 -
2002-10-27 23:24:19 +00:00
lazarus
12a521cac8 MWE:
* Moved call to BeforeDestruction to CustomForm
  - Removed form.inc

git-svn-id: trunk@3572 -
2002-10-27 15:46:58 +00:00
lazarus
88a2927d1c MG: broke LCL<->interface circles
git-svn-id: trunk@3566 -
2002-10-26 15:15:50 +00:00
lazarus
c7ae25f0f2 MG: broke actnlist <-> forms circle
git-svn-id: trunk@3564 -
2002-10-26 11:05:59 +00:00
lazarus
b06153fbbe MG: broke circle stdctrls.pp <-> forms.pp
git-svn-id: trunk@3556 -
2002-10-25 08:25:44 +00:00
lazarus
605d46b061 AJ: fixed typos
git-svn-id: trunk@3555 -
2002-10-24 19:45:28 +00:00
lazarus
459abac574 AJ:fixed stdctrls uses
git-svn-id: trunk@3554 -
2002-10-24 19:42:19 +00:00
lazarus
17b6fecb78 AJ: Fixed forms <-> stdctrls circular uses
git-svn-id: trunk@3553 -
2002-10-24 19:35:34 +00:00
lazarus
f24444ce29 MG: broke dialogs.pp <-> forms.pp circle
git-svn-id: trunk@3552 -
2002-10-24 10:37:05 +00:00
lazarus
a1b7c185ea MG: broke extctrls.pp <-> forms.pp circle
git-svn-id: trunk@3551 -
2002-10-24 10:27:52 +00:00
lazarus
27ddcbc159 MG: broke buttons.pp <-> forms.pp circle
git-svn-id: trunk@3550 -
2002-10-24 10:15:24 +00:00
lazarus
2f6d95cb38 AJ: Started Form Scrolling
Started StaticText FocusControl
    Fixed Misc Dialog Problems
    Added TApplication.Title

git-svn-id: trunk@3544 -
2002-10-23 20:47:27 +00:00