Commit Graph

517 Commits

Author SHA1 Message Date
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
366e21d328 lcl: add lcModalWindow flag to the TLCLCapatibility enum. Windows has this flag set to 0 and other widgetsets which supports native modal forms to 1 (todo: make wince modal handling the same as on win32)
git-svn-id: trunk@18630 -
2009-02-10 15:06:14 +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
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
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
cf4f433100 lcl:
- skip forms which does not share application taskbar item from TApplication.UpdateVisible (bug #0013042)
- don't perform any visual actions when we change ShowInTaskBar property in the design time

git-svn-id: trunk@18445 -
2009-01-26 03:41:21 +00:00
paul
f7dce3c301 win32: correct some debugLn
git-svn-id: trunk@18407 -
2009-01-24 11:48:29 +00:00
paul
fefaf6be1a lcl: implement TApplication.UpdateVisible, add TWidgetset.AppSetVisible (defined only for win32 at moment) (mantis #0010544)
git-svn-id: trunk@18403 -
2009-01-24 10:07:36 +00:00
paul
10692856c7 lcl: call TScreen events after changing active form and active control (mantis #0013009)
git-svn-id: trunk@18367 -
2009-01-21 02:02:37 +00:00
paul
92a3c282c1 lcl: formatting
git-svn-id: trunk@18283 -
2009-01-14 04:33:24 +00:00
paul
342531bc74 lcl: misc formatting
git-svn-id: trunk@18096 -
2009-01-04 09:32:21 +00:00
paul
9dc2198062 lcl, win32: fix form.icon handling (#0012395)
git-svn-id: trunk@17077 -
2008-10-21 03:38:09 +00:00
paul
3de03aa7ba lcl, win32: fix icon for dialog forms (#0012395)
git-svn-id: trunk@17031 -
2008-10-17 08:58:52 +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
tombo
e365c98cca LCL: renamed TWidgetSet.LCLCapabilities to GetLCLCapabilities
- added new capabilities

git-svn-id: trunk@16849 -
2008-10-02 12:51:37 +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
3af4740453 LCL: TNotebook: fixed updating FShowing on switching PageIndex by user, fixes invisible controls at designtime
git-svn-id: trunk@15937 -
2008-08-03 19:55:42 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
4619b1b098 lcl: on changing Form.Icon or Application.Icon set its current to best index for application
git-svn-id: trunk@15616 -
2008-06-30 03:15:43 +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
paul
ce329d855d lcl: add TWidgetset.AppSetIcon
win32, qt, carbon: implement AppSetIcon

git-svn-id: trunk@15497 -
2008-06-21 12:23:31 +00:00
mattias
2ebd2ec660 LCL: clean up, fixed EnsureVisible to not force BringToFront
git-svn-id: trunk@15400 -
2008-06-13 08:14:05 +00:00
sekelsenmat
eb8998e206 Fixes crash in modal dialogs in Windows CE
git-svn-id: trunk@15367 -
2008-06-09 01:51:47 +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
2c757eff9a lcl: make TToolButton TGraphicControl instead of TCustomControl. This is: a) delphi compatible b) eats less system resources
git-svn-id: trunk@15091 -
2008-05-11 06:57:49 +00:00
vincents
0c78a3c622 LCL: improved TCustomForm.DoExecuteAction, do not execute actions in design mode or if form is not visible
git-svn-id: trunk@14866 -
2008-04-17 13:14:54 +00:00
vincents
8c7962a98b LCL: simplified TCustomForm.DoExecuteAction
git-svn-id: trunk@14864 -
2008-04-17 12:50:56 +00:00
paul
41b8115a94 TCustomForm.SetActiveControl: simplify condition, don't write same things in debugln twice, formatting
git-svn-id: trunk@14508 -
2008-03-13 10:06:41 +00:00
paul
2f24df146a formatting, misc
git-svn-id: trunk@14442 -
2008-03-06 06:44: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
3e7f7a99cc LCL: added hidden published property TForm.LCLVersion, bug #10069
git-svn-id: trunk@14270 -
2008-02-27 11:15:16 +00:00
vincents
70d6aa87d4 LCL: don't free the mainform explicitly with Release, it will be freed by its owner, the Appliction (bug #10789)
git-svn-id: trunk@14135 -
2008-02-14 15:46:00 +00:00
paul
d675489e25 lcl: mainform close logic. Application will be terminated only if MainForm CloseAction = caFree. MainForm default CloseAction now is caFree
git-svn-id: trunk@13781 -
2008-01-17 02:23:18 +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
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
53e8d6533f IDE: fixed searching owner of virtual files
git-svn-id: trunk@13168 -
2007-12-05 19:27:09 +00:00
mattias
80036090c5 LCL: setting default ActiveControl in CreateWnd, improved checks if a control can be focused by using CanFocus, improved debugging focus, using the same algo for all default focus controls
git-svn-id: trunk@13143 -
2007-12-04 12:30:15 +00:00
mattias
50ebba2ee8 LCL: TCustomForm.SetFocusedControl fixed COntrol=nil
git-svn-id: trunk@13132 -
2007-12-03 22:36:48 +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
mattias
03acdb2c29 LCL: updating ActiveControl for nested forms
git-svn-id: trunk@13130 -
2007-12-03 21:00:36 +00:00
mattias
9303990fc7 LCL: undid, because ActiveControl does not work anymore: TCustomForm.WndProc LM_ACTIVATE, LM_SETFOCUS, LM_KILLFOCUS now call inherited
git-svn-id: trunk@13128 -
2007-12-03 19:12:59 +00:00
mattias
328bf736f2 LCL: TCustomForm.WndProc LM_ACTIVATE, LM_SETFOCUS, LM_KILLFOCUS now call inherited
git-svn-id: trunk@13127 -
2007-12-03 18:52:16 +00:00
mattias
5141dd53bc LCL: fixed TLabel to override CalculatePreferredSize instead of DoAutoSize
git-svn-id: trunk@12925 -
2007-11-19 20:00:42 +00:00
mattias
dbf55b433f IDE: started code help hint window
git-svn-id: trunk@12766 -
2007-11-07 17:00:51 +00:00
tombo
620ffeb1e7 LCL: make TCustomForm.Show Delphi compatible -> bring form to front and activate it
git-svn-id: trunk@12760 -
2007-11-06 10:15:01 +00:00
mattias
5fa66be34e IDE: fixed i18n flags for packages
git-svn-id: trunk@12547 -
2007-10-21 22:16:26 +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
71c6cf7c04 lcl: fix formatting a bit
git-svn-id: trunk@12250 -
2007-09-30 06:13:28 +00:00
paul
94eefa1e0e win32: use default window position and/or size in case of position in poDefault, poDefaultPosOnly, poDefaultSizeOnly (issue #0008139)
git-svn-id: trunk@12230 -
2007-09-29 08:26:34 +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
paul
764b474b83 Qt:
- fix TQtWinControl.CanFocus
- fix FocusPolicy for widgets - they now have only Click policy. Tab policy is not needed since LCL handle tabbing itself
- remove setTabOrders and related code since LCL handle tabbing itself
(issue #0009726)

git-svn-id: trunk@12102 -
2007-09-21 05:08:35 +00:00
paul
d00181d3e6 forgotten files + cleanup
git-svn-id: trunk@11927 -
2007-09-03 08:04:01 +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
mattias
8f7f42ab15 gtk2 intf: disabled hiding forms from taskbar, because you loose many comfort functions in many window managers
git-svn-id: trunk@11552 -
2007-07-17 21:25:41 +00:00
paul
212f9b4855 QT:
- fix destroying of PopupMenu
- implemented setShowInTaskBar
- better handling of BorderStyle = bsNone
- hide menuBar if there is no MainMenu
- allow creating of MDIForm and MDIChild form (qt has implementation)
- fix problem with overlaying menubar by other widgets

git-svn-id: trunk@11452 -
2007-07-10 03:01:25 +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
11e3159669 - BidiMode patch from Zaher Dirkey (0009203)
git-svn-id: trunk@11413 -
2007-07-03 03:34: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
f1ddc29682 LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +00:00
paul
65e4295973 - TForm.OnShow and OnHide should fire before actual visibility change
- TEdit OnChange should not be called while control creation sequence
(reports 8826, 8828)

git-svn-id: trunk@11120 -
2007-05-10 07:39:53 +00:00
mattias
c902aecea7 gtk2 intf: fixed resizing windows, fixed creation and position of hint windows
git-svn-id: trunk@11017 -
2007-04-27 14:25:19 +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
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
vincents
71de954bd0 LCL: wrap AppProcessMessage in ShowModal in try .. except block to catch exceptions in event handlers like is done for Application.Run too (fixes #7207)
git-svn-id: trunk@10398 -
2007-01-08 20:14:47 +00:00
vincents
49a9083bf9 LCL: first call closemodal and then hide the form, as it was before r10339 #c0f7e52665 (bug #8059)
git-svn-id: trunk@10370 -
2007-01-04 12:51:07 +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
micha
c0f7e52665 fix freezing app upon exception in modal form (issue #7207)
git-svn-id: trunk@10339 -
2006-12-16 19:18:12 +00:00
mattias
83cc6976b1 IDE: compiler output path single . is now kept, bug #7695
git-svn-id: trunk@10131 -
2006-10-30 11:11:01 +00:00
mattias
2f4f4bf6fa IDE: extended closing unit component with recursion
git-svn-id: trunk@10038 -
2006-10-04 22:04:00 +00:00
mattias
0c307f6bf0 IDE: improved ancestor laoding, LCL: fixed TWinControl.InsertControl overhead calling wrong UpdateControlState
git-svn-id: trunk@10005 -
2006-09-29 17:03:51 +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
3080a56bcc IDE: closing all forms when IDE is closing
git-svn-id: trunk@9819 -
2006-09-05 19:41:48 +00:00
mattias
99c9e9fcce published TPageControl.OnPageChanged
git-svn-id: trunk@9818 -
2006-09-05 19:28:21 +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
e12027f867 hints: CalcHintRect now uses screen width as default
git-svn-id: trunk@9777 -
2006-09-01 08:37:19 +00:00
mattias
5d98cce24c LCL: fixed AV when testing TFindDialog
git-svn-id: trunk@9745 -
2006-08-23 19:49:03 +00:00
mattias
be15116595 IDEIntf: added OnShow handler for TIDEMenuSection, h2pas wizard: implemented adding/editing text tools
git-svn-id: trunk@9698 -
2006-08-02 16:36:35 +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
24649d370c carbon intf: implemented dosynchronize
git-svn-id: trunk@9541 -
2006-07-02 14:23:17 +00:00
mattias
b9f853b989 disabled ipfilebroker, because of missing IFDEF IP_LAZARUS
git-svn-id: trunk@9429 -
2006-06-13 07:39:52 +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
1202899898 added baseideintf
git-svn-id: trunk@9275 -
2006-05-13 13:29:03 +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
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
0b48164f48 anchordocking: implemented saving layout
git-svn-id: trunk@9000 -
2006-03-22 23:18:04 +00:00
mattias
90502c4356 added wsMinimized check to ShowOnTop
git-svn-id: trunk@8879 -
2006-03-07 11:38:32 +00:00
mattias
d47a79ff62 added anchor docking example
git-svn-id: trunk@8722 -
2006-02-09 18:31:10 +00:00
vincents
b8f76e44f5 if a Form has default bordericons, it should keep the default bordericons, if the BorderStyle changes (related to issue #1678)
git-svn-id: trunk@8685 -
2006-02-02 08:07:49 +00:00
micha
a38ed98e25 implement TCustomForm.EnsureVisible
git-svn-id: trunk@8557 -
2006-01-18 20:21:15 +00:00
mattias
68755c278e removed unneeded invalidate
git-svn-id: trunk@8435 -
2006-01-04 12:36:40 +00:00
mattias
ef77fe35b1 disabled _unix_ thread.synchronize support only for linux
git-svn-id: trunk@8267 -
2005-12-07 20:40:53 +00:00
mattias
2074b79dab fixed checking SetActiveControl
git-svn-id: trunk@8159 -
2005-11-14 22:57:10 +00:00
mattias
21e9c81a84 reduced overhead getting PixelsPerInch
git-svn-id: trunk@8155 -
2005-11-14 22:12:49 +00:00
micha
9bab7af2a9 rename "winapi" function BringWindowToTop to SetForegroundWindow, because BringWindowToTop does not actually bring the window to the top in win32, but only activates it
git-svn-id: trunk@8142 -
2005-11-13 19:44:20 +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
mattias
c54f333978 started IDE progress dialog and splitted project sessions
git-svn-id: trunk@8120 -
2005-11-09 19:40:59 +00:00
mattias
115184dccb fixed creating child handles on Visible=false parent at designtime
git-svn-id: trunk@8094 -
2005-11-07 18:50:28 +00:00
micha
72a0293624 check for handle when setting ShowInTaskbar
git-svn-id: trunk@8080 -
2005-11-06 20:02:03 +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
19b319415b added ShowInTaskBar for gtk2
git-svn-id: trunk@8072 -
2005-11-06 10:53:36 +00:00
mattias
679cd0bc8e implemented TCustomForm.OnWindowStateChange for gtk2
git-svn-id: trunk@8066 -
2005-11-05 12:55:53 +00:00
mattias
e4c6c02a98 reduced message window selection events
git-svn-id: trunk@7985 -
2005-10-23 06:02:04 +00:00
mattias
00692af0ed started ChildSizing auto layouts for TWinControl
git-svn-id: trunk@7882 -
2005-10-02 09:46:55 +00:00
mattias
9dfd7b0475 implemented TApplication.OnActivate/OnDeactivate
git-svn-id: trunk@7714 -
2005-09-16 09:39:08 +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
7bccdc9896 added TMaskEdit.EditMask property editor from Lagunov Aleksey
git-svn-id: trunk@7576 -
2005-08-27 12:55:55 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +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
micha
e07f81768c fix default control handling (bug #1030)
git-svn-id: trunk@7435 -
2005-07-27 09:54:40 +00:00
marc
98f5b75116 * Reimplemented ZOrder
+ Added IDE option to move a control one forward/back
* Fixed IDE control selection
- Removed some IFDEF VER 1_0
+ Added some inline

git-svn-id: trunk@7361 -
2005-07-16 00:08:26 +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
micha
901d33b48f fix lm_showwindow handling to not fire onshow event in case of restore and unzoom (fixes bug #928)
git-svn-id: trunk@7220 -
2005-06-02 20:31:19 +00:00
micha
89a96a30a3 need to recreate form window when changing border flags
implement lock-flag when destroying handle, do not focus control that is destroying handles

git-svn-id: trunk@7219 -
2005-06-02 12:11:54 +00:00
vincents
aac138df54 fixed getting the size of a minimized window (bug #886)
git-svn-id: trunk@7132 -
2005-05-03 14:56:33 +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
6b37b5ba28 save BorderIcons setting internally
git-svn-id: trunk@7030 -
2005-03-26 14:01:18 +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
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
daf76f7dbc fixed Arc and changed x,y to Left,Top to make meaning more clear
git-svn-id: trunk@6889 -
2005-03-04 13:50:09 +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
mattias
a7edaa30c0 added TTreeNode.GetParentNodeOfAbsoluteLevel from Sergio
git-svn-id: trunk@6702 -
2005-01-27 10:10:25 +00:00
mattias
1e85dfccaf added error when setting FormStyle to MDI
git-svn-id: trunk@6698 -
2005-01-26 23:23:11 +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
0dd37d3a62 improved invert assignment tool by multilines from Andrew Haines
git-svn-id: trunk@6634 -
2005-01-18 18:46:59 +00:00
micha
a6cc7c88ea let canfocus imply that setfocus can be called
git-svn-id: trunk@6478 -
2005-01-04 11:26:26 +00:00
mattias
6668e92a48 added DestroyHandle after ShowModal to save resources
git-svn-id: trunk@6419 -
2004-12-27 00:06:44 +00:00
micha
6d3f279a9e fix showmodal to remember disabled windows (fixes bug #478, and more)
git-svn-id: trunk@6378 -
2004-12-16 14:29:51 +00:00
mattias
2efd1ba30a destroying clean up
git-svn-id: trunk@6334 -
2004-12-05 13:25:47 +00:00
mattias
5c02893c8b destroying TMenu Handle when Set Parent=nil
git-svn-id: trunk@6333 -
2004-12-05 13:20:29 +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
d4214e5175 impementing changing a TLabel.Font properties Size, Height, Name, Style - set only at Handle creation time
git-svn-id: trunk@6226 -
2004-11-10 18:23:56 +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
42b95dd1c7 fix bordericons initialization
fix setting tab page caption (win32)

git-svn-id: trunk@6162 -
2004-10-25 14:35:14 +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
vincents
f6308db64f fix type cast of WidgetSetClass
git-svn-id: trunk@6051 -
2004-09-23 09:00:42 +00:00
vincents
c1c08bbb99 replaced write by DbgOut
git-svn-id: trunk@6021 -
2004-09-17 20:30:13 +00:00
micha
1a1fa9f508 convert LM_SETFORMICON message to interface method
git-svn-id: trunk@6002 -
2004-09-15 07:58:00 +00:00
micha
977ee858b4 convert LM_SHOWMODAL to interface methods
git-svn-id: trunk@5990 -
2004-09-13 13:13:47 +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
micha
171e00f7b4 upon form show, if no activecontrol, then focus first control in tab order
git-svn-id: trunk@5851 -
2004-08-25 17:59:06 +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
8fbf5f70d1 started TCustomDockForm
git-svn-id: trunk@5807 -
2004-08-16 22:09:18 +00:00
mattias
a6d5670154 implemented platform independent binary object streamer
git-svn-id: trunk@5787 -
2004-08-15 14:39:36 +00:00
mattias
fe6fe05521 implemented FormStyle fsSplash for splash screens
git-svn-id: trunk@5762 -
2004-08-09 21:12:43 +00:00
mattias
dffc4d0999 replaced TDBEdit.WMKillFocus by EditingDone, Change Class basically working
git-svn-id: trunk@5751 -
2004-08-08 20:51:15 +00:00
mattias
784902b92a TXMLPropStorage basically working
git-svn-id: trunk@5704 -
2004-07-25 01:04:45 +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
micha
b4e039e934 fix code editor restoring when maximized upon ctrl+shift+up
git-svn-id: trunk@5656 -
2004-07-07 15:31:47 +00:00
micha
cb7c73a943 form notifies control of new role
git-svn-id: trunk@5650 -
2004-07-04 20:07:08 +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
e79a9e2cb3 fixed grids SetBorderStyle
git-svn-id: trunk@5499 -
2004-05-22 11:06:27 +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
a444f136c2 replaced writeln by debugln
git-svn-id: trunk@5455 -
2004-05-11 11:42:27 +00:00
mattias
b437ff2c8d fixed unsetting csFocusing
git-svn-id: trunk@5425 -
2004-04-23 11:18:28 +00:00
mattias
ce11f9f6e2 implemented mainunit hints for include files
git-svn-id: trunk@5393 -
2004-04-10 17:58:57 +00:00
mattias
3b4effd0ac test for destroying controls, so they do not get focus
git-svn-id: trunk@5353 -
2004-03-30 19:08:29 +00:00
mattias
fc72bfb144 added TWinControl.ParentFormInitializeWnd
git-svn-id: trunk@5288 -
2004-03-08 22:36:01 +00:00
micha
579f6ef046 although loading, attach menu to form if handle already created, if this is not wanted, then prevent creation of handle somehow
fixes bug #197

git-svn-id: trunk@5271 -
2004-03-06 14:39:50 +00:00
mattias
277581d567 fixed CreateComponent for buttons, implemented basic Drag And Drop
git-svn-id: trunk@5238 -
2004-02-28 00:34:36 +00:00
micha
912d81b51e revert intf split
git-svn-id: trunk@5225 -
2004-02-23 08:19:05 +00:00
micha
8c520fe744 split interface into non-lcl and lcl-component dependent parts
git-svn-id: trunk@5224 -
2004-02-22 22:52:59 +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
micha
d67aaa19bf fix defocus control when destroying it
git-svn-id: trunk@4943 -
2003-12-23 16:50:45 +00:00
micha
3cd2333df2 attachmenutowindow cleanup
git-svn-id: trunk@4898 -
2003-12-18 08:50:13 +00:00
micha
1be3d3c0f1 setmenu fix, now correctly (sigh)
git-svn-id: trunk@4897 -
2003-12-18 08:15:25 +00:00
micha
180caa1225 setmenu fix, notify interface (from darek)
git-svn-id: trunk@4896 -
2003-12-18 08:00:37 +00:00
mattias
06523436d6 fixed closing IDE while debugging
git-svn-id: trunk@4831 -
2003-11-23 00:28:51 +00:00
mattias
aa03a209d6 started PixelsPerInch
git-svn-id: trunk@4814 -
2003-11-17 23:09:39 +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
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
cb08781b43 fixed recreating handle after showmodal
git-svn-id: trunk@4575 -
2003-09-06 18:38:06 +00:00
mattias
6c5073cde1 fixed TControl painting for win32
git-svn-id: trunk@4551 -
2003-08-31 17:30:49 +00:00
mattias
8867c27b0f fixed register color prop edit
git-svn-id: trunk@4543 -
2003-08-28 12:08:30 +00:00
mattias
115757e25e added TFrame definition, no implementation
git-svn-id: trunk@4534 -
2003-08-27 09:20:44 +00:00
mattias
e691fb61ec TApplication now descends from TCustomApplication
git-svn-id: trunk@4471 -
2003-08-12 21:35:11 +00:00
mattias
c1f3f8d899 clean up
git-svn-id: trunk@4349 -
2003-07-01 13:49:36 +00:00
mattias
d039ac6905 activated EraseBckGrd messages in doublebuffer WMPaint section
git-svn-id: trunk@4340 -
2003-06-30 07:00:18 +00:00
mattias
1fb4ee52a5 fixes for debugging lazarus
git-svn-id: trunk@4296 -
2003-06-23 09:42:09 +00:00
mattias
c878928c88 fixed TCustomForm.ShowModal when Self=nil
git-svn-id: trunk@4282 -
2003-06-16 23:12:59 +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
b2c8f75165 started context diff
git-svn-id: trunk@4265 -
2003-06-13 06:05:49 +00:00
mattias
3ba87e0a48 fixed aligning controls
git-svn-id: trunk@4251 -
2003-06-10 00:46:16 +00:00
mattias
ec9835ce63 implemented datamodules
git-svn-id: trunk@4222 -
2003-06-01 21:09:09 +00:00
mattias
54b361fc68 implemented designer close query
git-svn-id: trunk@4180 -
2003-05-24 08:51:41 +00:00
mattias
4fbdd8f2b6 fixed clsing popupmenu on showmodal
git-svn-id: trunk@4148 -
2003-05-12 13:40:50 +00:00
mattias
a9c753a035 published keypreview
git-svn-id: trunk@4085 -
2003-04-20 16:32:58 +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
280af8c739 added some help stuff
git-svn-id: trunk@4041 -
2003-04-11 09:32:20 +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
002ca709d8 improved focus debugging output
git-svn-id: trunk@3953 -
2003-03-18 13:04:25 +00:00
mattias
5a75290b61 fixed setting activecontrol after createwnd
git-svn-id: trunk@3948 -
2003-03-17 13:54:34 +00:00
mattias
20d0673089 fixed TControl.Show in design mode
git-svn-id: trunk@3918 -
2003-03-13 10:11:41 +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
d3ce1ad3d2 added ShowWindow
git-svn-id: trunk@3886 -
2003-02-28 19:54:05 +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
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
2c6a1781ca fixed form FActive, cleanups
git-svn-id: trunk@3757 -
2002-12-29 11:10:45 +00:00
mattias
1afe54bbb0 fixed TCustomForm.WMCloseQuery
git-svn-id: trunk@3753 -
2002-12-28 21:06:37 +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
056920e6eb fixed setting activecontrol to nil when removing component
git-svn-id: trunk@3736 -
2002-12-25 14:21:28 +00:00
mattias
32b0f7ae9b Button.Default now sets focus
git-svn-id: trunk@3734 -
2002-12-25 11:53:47 +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
622409a368 fixed deleting lookup form when form is deleted
git-svn-id: trunk@3685 -
2002-12-03 17:40:37 +00:00
mattias
ff323fb469 removed unused TCustomForm.WMDestroy
git-svn-id: trunk@3678 -
2002-11-30 11:24:05 +00:00
mattias
acd965c4d9 TCustomForm.WMDestroy does not Free anymore
git-svn-id: trunk@3675 -
2002-11-30 08:35:42 +00:00
mattias
8d4c57d95c replaced many invalidates by invalidaterect
git-svn-id: trunk@3669 -
2002-11-29 15:14:47 +00:00
lazarus
dbcda8ed24 MG fixed hidden component page
git-svn-id: trunk@3626 -
2002-11-12 16:18:46 +00:00
lazarus
c11018887c MG: fixed gdkwindow checks
git-svn-id: trunk@3617 -
2002-11-09 18:13:33 +00:00
lazarus
eb1a2d14f1 MG: reduced showing forms during creation
git-svn-id: trunk@3613 -
2002-11-06 17:46:36 +00:00
lazarus
e02a01606f MG: impoved focussing, unfocussing on destroy and fixed unit search
git-svn-id: trunk@3577 -
2002-10-28 18:17:02 +00:00