Commit Graph

1534 Commits

Author SHA1 Message Date
mattias
2290274ae7 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48238 -
2015-03-10 16:02:54 +00:00
mattias
982ab43ff6 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48233 -
2015-03-10 15:48:55 +00:00
mattias
a0ac496603 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48230 -
2015-03-10 15:41:06 +00:00
mattias
b98e5b914f IDE: checked compiler warnings, clean up, fixed compile with fpc 2.6.4
git-svn-id: trunk@48228 -
2015-03-10 15:28:11 +00:00
mattias
21cfb7317b IDE: checked compiler warnings, clean up
git-svn-id: trunk@48222 -
2015-03-10 15:04:30 +00:00
mattias
8f4d84fdbd IDE: fixed freeing TSizeComponentsDialog
git-svn-id: trunk@48221 -
2015-03-10 15:00:35 +00:00
mattias
f3f0866921 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48218 -
2015-03-10 14:51:21 +00:00
mattias
7dde88bfad IDE: designer: InvokeComponentEditor: removed MenuIndex, it was not used
git-svn-id: trunk@48199 -
2015-03-10 12:07:50 +00:00
mattias
dab5d2ef91 IDE: designer: resize multiple controls: round mathematically instead of always down, needed for increase size by 1
git-svn-id: trunk@47900 -
2015-02-19 12:34:47 +00:00
mattias
ef2ddfca01 IDE: designer: initialize FIsNonVisualComponent, bug #27502
git-svn-id: trunk@47898 -
2015-02-19 12:07:14 +00:00
juha
a949da703b Designer: cleanup a debug message.
git-svn-id: trunk@47176 -
2014-12-12 00:49:04 +00:00
juha
a3490826ea Designer: fix the palette update problem with DataModule on Windows. Message.Active can be WA_CLICKACTIVE, too.
git-svn-id: trunk@47142 -
2014-12-08 21:30:26 +00:00
juha
4990c79e9f Designer: another debug message indicating that Message.Active<>WA_ACTIVE on Windows when Designer gets LM_ACTIVATE.
git-svn-id: trunk@47141 -
2014-12-08 21:06:48 +00:00
juha
cfdbbbb410 IDE: Do not trigger palette update with OnComponentVisibleChanged and OnPageVisibleChanged events. Will be triggered by other means.
git-svn-id: trunk@47140 -
2014-12-08 20:22:31 +00:00
juha
c589873743 Designer, OI: Synchronize z-order changes. Issue #20450, patch from Mike Thompson.
git-svn-id: trunk@47039 -
2014-11-30 13:13:08 +00:00
mattias
817995bf38 IDE: when renaming component via F2: mark form as modified
git-svn-id: trunk@46769 -
2014-11-06 22:37:11 +00:00
mattias
fc3563fa16 IDE: fixed change component name resourcestring
git-svn-id: trunk@46768 -
2014-11-06 22:31:48 +00:00
mattias
c4771eb74b IDE: clean up
git-svn-id: trunk@46699 -
2014-10-30 10:24:29 +00:00
mattias
1fada3022b IDE: designer: fixed updating undo bounds on mouse up
git-svn-id: trunk@46479 -
2014-10-08 18:37:57 +00:00
mattias
20540fd87b IDE: designer: redo: non visual TComponent.Left/Top
git-svn-id: trunk@46478 -
2014-10-08 18:12:10 +00:00
mattias
b69bf50553 IDE: designer: clean up undo code
git-svn-id: trunk@46476 -
2014-10-08 17:46:51 +00:00
juha
7964da2129 Designer: Name a record better, TUndoList -> TUndoItem.
git-svn-id: trunk@46469 -
2014-10-07 22:08:40 +00:00
juha
fe55929cd6 Designer: an attempt to fix a Undo-bug with non-visible components. Now the index for FUndoList goes over. :(
git-svn-id: trunk@46466 -
2014-10-07 20:53:26 +00:00
juha
001970dd85 Designer: a temporary exception to search a bug where index for FUndoList goes negative with non-visible components.
git-svn-id: trunk@46465 -
2014-10-07 20:53:19 +00:00
juha
de2cf80287 Show hints inside one screen. Fix application, designer and TAChart hints.
git-svn-id: trunk@46303 -
2014-09-23 19:49:02 +00:00
mattias
d506aca142 IDE: clean up
git-svn-id: trunk@46301 -
2014-09-23 14:55:29 +00:00
juha
a23a0688fb Designer, Menu Editor: Implement drag'n'drop for moving items. Issue #8733, patch from Mike Thompson.
git-svn-id: trunk@46280 -
2014-09-21 21:49:19 +00:00
mattias
9d3226d369 LCL: removed TControl.ParentVisibleChanged
git-svn-id: trunk@46188 -
2014-09-11 16:52:52 +00:00
mattias
8c9f6d38b4 LCL: docs: undo
git-svn-id: trunk@46187 -
2014-09-11 16:50:44 +00:00
juha
78afb4c373 LCL: Fix THintWindow.CalcHintRect. Issue #26674. Inspired by patch from Denis Golovan.
git-svn-id: trunk@46165 -
2014-09-09 10:17:54 +00:00
juha
0312721e35 Designer: remove a hack IgnoreDeletingPersistent. It was replaced by another hack TWinControl.DesignerDeleting.
git-svn-id: trunk@46073 -
2014-08-24 15:58:11 +00:00
juha
9d6fca6e69 LCL + Designer: A new flag TWinControl.DesignerDeleting. Make TPairSplitter use it. Issue #26618
git-svn-id: trunk@46072 -
2014-08-24 15:58:09 +00:00
juha
b6da8dd7a5 Designer: minor refactoring, remove PersistentIsMarkedForDeletion method.
git-svn-id: trunk@46071 -
2014-08-24 15:58:01 +00:00
juha
8db03dc81d Designer: remove a duplicate call to DoDeletePersistent.
git-svn-id: trunk@46068 -
2014-08-23 15:50:54 +00:00
mattias
822e9eaeee IDE: anchor editor: update when becoming visible again, bug #26558
git-svn-id: trunk@46022 -
2014-08-06 17:13:22 +00:00
mattias
1dfcf970e9 IDE: anchor editor: clean up
git-svn-id: trunk@46020 -
2014-08-06 16:14:17 +00:00
juha
b189500498 LCL: Revert some of THintWindow changes because of Delphi compatibility. Issue #26516
git-svn-id: trunk@45973 -
2014-07-25 16:56:19 +00:00
juha
24ce977ee8 LCL, SynEdit: improve THintWindow methods. Fixes code completion offset problem, issue #26509
git-svn-id: trunk@45937 -
2014-07-20 18:26:37 +00:00
juha
503833f19b Remove typecasts because LookupRoot was moved to TIDesigner. Also formatting.
git-svn-id: trunk@45784 -
2014-07-05 10:49:34 +00:00
juha
2f1bc3998e Remove Designer dependency from SourceFileManager.
git-svn-id: trunk@45783 -
2014-07-05 10:49:22 +00:00
juha
53765b59dd IDE: formatting. Format some resource strings so that line changes together with %s referring to LineEnding.
git-svn-id: trunk@45553 -
2014-06-16 18:00:06 +00:00
juha
4fbeea1dfd IDE: ... and more hard-coded quotations in resourcestrings.
git-svn-id: trunk@45521 -
2014-06-15 11:52:27 +00:00
juha
a912107bf0 IDE: More hard-coded quotations in resourcestrings.
git-svn-id: trunk@45520 -
2014-06-15 11:52:15 +00:00
juha
7138d69f4a Designer: Simplify code.
git-svn-id: trunk@45460 -
2014-06-10 16:10:47 +00:00
mattias
5656db6508 IDE: indentiation
git-svn-id: trunk@45217 -
2014-05-28 23:12:11 +00:00
mattias
8844f15f3a IDE: designer mediator: fixed non visual components selection and moving, patch #26234
git-svn-id: trunk@45216 -
2014-05-28 22:43:19 +00:00
mattias
43ebc91b4e IDE: designer: check result of AddClicked
git-svn-id: trunk@45048 -
2014-05-16 19:53:14 +00:00
juha
b07ae15e65 Designer, ChangeClassDialog: reverse the order of ancestor inheritance list. Now starts from bottom (TObject) and grows upwards.
git-svn-id: trunk@44810 -
2014-04-26 11:56:06 +00:00
juha
f8592da384 Designer, ChangeClassDialog: add space before class name + some layout fine-tuning.
git-svn-id: trunk@44809 -
2014-04-26 11:55:39 +00:00
juha
72678bdaef Designer, ChangeClassDialog: formatting, cleanup, add a try - finally block.
git-svn-id: trunk@44808 -
2014-04-26 11:55:11 +00:00
mattias
d599292ff9 IDE: designer: snap to nearest grid, instead of form grid, bug #18579
git-svn-id: trunk@44733 -
2014-04-14 20:22:29 +00:00
mattias
57685b5e28 IDE: designer: fixed change parent for TControl
git-svn-id: trunk@44508 -
2014-03-24 17:28:29 +00:00
mattias
02b09d18e6 IDEIntf: form designer: added AddClicked hook, called whenever the user selected a component class and clicked on the designer to add a new component
git-svn-id: trunk@44335 -
2014-03-03 20:03:24 +00:00
mattias
6bbcd8740a IDE: designer: change parent: do not allow children of inlined components, do not allow to move to nested components
git-svn-id: trunk@44299 -
2014-02-28 18:32:28 +00:00
mattias
ad284bb8ab IDE: debug componentstate
git-svn-id: trunk@44279 -
2014-02-27 12:49:45 +00:00
mattias
f656b58c53 IDE: comment
git-svn-id: trunk@44275 -
2014-02-27 10:36:22 +00:00
mattias
632f4c9629 IDE: use IDEMessageDialog
git-svn-id: trunk@44274 -
2014-02-27 10:15:06 +00:00
zeljko
e72d3ad584 designer: TDesigner.AddUndoAction check if GetPropInfo returned valid result, otherwise we'll crash.issue #25748,#25757
git-svn-id: trunk@44200 -
2014-02-22 20:45:11 +00:00
mattias
41460c7d4f IDE: fixed renaming components, simplified designer undo
git-svn-id: trunk@44173 -
2014-02-19 18:57:53 +00:00
mattias
1217b68eb7 IDE: designer IsUndoLocked
git-svn-id: trunk@44172 -
2014-02-19 17:59:47 +00:00
mattias
3a56cdd900 IDE: designer: fixed range check error on undo
git-svn-id: trunk@44157 -
2014-02-18 21:51:56 +00:00
mattias
baabe96213 IDE: undo for designer, patch #22584
git-svn-id: trunk@44156 -
2014-02-18 21:46:36 +00:00
mattias
5a07230297 IDE: clean up
git-svn-id: trunk@44146 -
2014-02-18 18:47:15 +00:00
mattias
fbe7c6e932 IDE: designer: fixed enabling View lfm
git-svn-id: trunk@43211 -
2013-10-11 21:00:35 +00:00
paul
7f4caeb374 ide, components: move images related code to use FPC resource instead of Lazarus resources
git-svn-id: trunk@42984 -
2013-09-27 12:27:04 +00:00
mattias
446747ed6c IDE: designer: fixed adding components on inherited form, bug #25084
git-svn-id: trunk@42945 -
2013-09-26 13:48:25 +00:00
mattias
3b717ddda1 IDE: fixed duplicate code, break cycle lfmunitresource
git-svn-id: trunk@42895 -
2013-09-20 09:15:48 +00:00
mattias
0c1f11b7a5 IDE: reverted patch #42889
git-svn-id: trunk@42894 -
2013-09-20 09:05:34 +00:00
mattias
0b54eaf3c2 IDE: lfmunitresource: break cycle
git-svn-id: trunk@42890 -
2013-09-19 20:01:11 +00:00
mattias
ef779a623b IDE: designer: break cycle
git-svn-id: trunk@42889 -
2013-09-19 19:52:39 +00:00
mattias
e140abe386 IDE, IDEIntf: fixed componentreeview dragover check
git-svn-id: trunk@42713 -
2013-09-10 09:30:35 +00:00
mattias
c16df66c27 IDE: clean up
git-svn-id: trunk@42302 -
2013-08-04 08:03:10 +00:00
mattias
46ea5ac433 IDE: clean up
git-svn-id: trunk@42301 -
2013-08-04 08:02:02 +00:00
mattias
109e2af7e6 IDE: clean up
git-svn-id: trunk@42284 -
2013-08-03 15:07:55 +00:00
maxim
10b64645c5 IDE: Frame Reset menu item localization
git-svn-id: trunk@41997 -
2013-07-04 22:24:57 +00:00
juha
0acde59704 Designer: Fix flickering cursor when dragging control on windows 7 64 bit. Issue #20292, patch from Cyrax.
git-svn-id: trunk@41934 -
2013-06-29 08:03:30 +00:00
mattias
35903c6be8 IDE: added designer menu item Reset to reset to ancestor bounds
git-svn-id: trunk@41911 -
2013-06-27 02:36:17 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
mattias
51d0aff5e3 IDE: clean up
git-svn-id: trunk@40695 -
2013-04-02 10:11:26 +00:00
mattias
f595fb71f7 IDE: added unitresources
git-svn-id: trunk@40326 -
2013-02-16 16:15:18 +00:00
mattias
c026b52cc5 IDE: menu designer: prevent crash when all menu items were deleted, bug #23870
git-svn-id: trunk@40241 -
2013-02-10 12:28:36 +00:00
mattias
251a4c02ff IDE: designer: fixed csDesignFixedBounds
git-svn-id: trunk@40153 -
2013-02-03 11:51:16 +00:00
mattias
a49c504df0 IDE: designer: fixed ssAlt moving
git-svn-id: trunk@40152 -
2013-02-03 11:36:31 +00:00
mattias
b33abc827c IDE: designer: change class dlg: disable ok button
git-svn-id: trunk@40037 -
2013-01-30 01:43:13 +00:00
martin
d79176d7d4 IDE : prevent a crash in designer "Change Class" if new name does not exist
git-svn-id: trunk@40033 -
2013-01-29 23:50:00 +00:00
mattias
88c2af49d0 IDE: designer: fixed handling deactivate messages
git-svn-id: trunk@39774 -
2013-01-06 11:53:30 +00:00
juha
6bad0c04f9 IDE: Rename control in designer by pressing F2. Issue #23497
git-svn-id: trunk@39660 -
2012-12-26 23:34:05 +00:00
mattias
73d6a41ca5 IDE: designer: fixed painting of designer items for TControl paint messages
git-svn-id: trunk@39624 -
2012-12-22 21:44:08 +00:00
juha
5c8670cd8a Designer, SizeCompsDlg: Autocheck radiobutton when entering a value in HeightEdit / WidthEdit. Issue #23398, patch from Alexander Strokach
git-svn-id: trunk@39405 -
2012-11-28 22:00:51 +00:00
juha
22c9f39a9c Designer: formatting
git-svn-id: trunk@39089 -
2012-10-15 10:42:04 +00:00
juha
a4875743e3 Designer: TControlSelection method optimizations by Zex Atilla
git-svn-id: trunk@39063 -
2012-10-13 09:13:51 +00:00
juha
6b90fc2348 Designer: Disable ViewLFM menu item for virtual units
git-svn-id: trunk@38817 -
2012-09-24 20:58:10 +00:00
juha
dde19a64cc Designer: ToDo item for disabling ViewLFM menu item for virtual units. How to do it?
git-svn-id: trunk@38801 -
2012-09-23 20:00:31 +00:00
mattias
053e01608d IDEIntf: fixed typo: favorite should use the American spelling instead of the British favourite
git-svn-id: trunk@38750 -
2012-09-19 13:16:39 +00:00
mattias
ae08ad8a5e IDEIntf: fixed typo: favorite should use the American spelling instead of the British favourite
git-svn-id: trunk@38749 -
2012-09-19 13:12:42 +00:00
juha
672f5bd862 Replace #13 with LineEnding in many messages. It didn't show correctly on Linux systems.
git-svn-id: trunk@38633 -
2012-09-13 06:39:56 +00:00
mattias
451424cf20 IDE: fixed crash in menu editor, issue #22699
git-svn-id: trunk@38606 -
2012-09-09 20:48:13 +00:00
juha
995b5a3d55 Use a record of signed SmallInts to prevent range check errors. Still about issue #22760
git-svn-id: trunk@38476 -
2012-09-02 00:32:29 +00:00
mattias
4f588d7a62 designer: clean up
git-svn-id: trunk@38474 -
2012-09-01 23:49:47 +00:00
juha
9b6e54b588 Revert r38465 #f26e63161d and use typecasts to prevent range errors. Should fix issue #22760
git-svn-id: trunk@38469 -
2012-08-31 22:38:46 +00:00
juha
50b8a2fee5 Designer: formatting
git-svn-id: trunk@38466 -
2012-08-31 16:19:43 +00:00
juha
f26e63161d Use signed instead of unsigned integer in a structure to prevent range check errors. Issue #22760
git-svn-id: trunk@38465 -
2012-08-31 16:19:36 +00:00
mattias
3f599eaa55 IDE: TDataModule minimum size 150x150
git-svn-id: trunk@38110 -
2012-08-01 21:18:48 +00:00
mattias
a99a34ebd2 IDE: using UTF8CompareText
git-svn-id: trunk@37960 -
2012-07-16 20:53:37 +00:00
juha
6814f6a1f8 Designer -> Change Class opens a dilaog, add 3 dots to the menuitem
git-svn-id: trunk@37665 -
2012-06-16 11:13:05 +00:00
juha
3b50e92d50 Designer: cleanup for MenuEditor
git-svn-id: trunk@37661 -
2012-06-15 20:25:23 +00:00
juha
80fa80846b Designer: Improve MenuEditor, delete only one item at time. Issue #22142, patch from Anton
git-svn-id: trunk@37659 -
2012-06-15 18:01:35 +00:00
mattias
24c2470b43 IDE: using TFileStreamUTF8 and TStringListUTF8
git-svn-id: trunk@37656 -
2012-06-15 16:50:31 +00:00
mattias
d91e9ccb16 IDE: paste components: update TControl.Caption
git-svn-id: trunk@37640 -
2012-06-13 16:26:29 +00:00
mattias
22957ca052 IDE: paste multiple components: fix references
git-svn-id: trunk@37638 -
2012-06-13 15:56:51 +00:00
mattias
86b0a8eb31 IDE: paste component: fix renamed references
git-svn-id: trunk@37635 -
2012-06-13 14:43:12 +00:00
mattias
0fa5af44a5 IDE: designer selection: emit OnChange before OnChangeProperties
git-svn-id: trunk@37452 -
2012-05-29 11:10:04 +00:00
mattias
fb9c855546 IDEIntf: added TObjectInspectorDlg.EnableHookGetSelection, IDE: designer selection is now stored in TheControlSelection, as OI does not always exist
git-svn-id: trunk@37450 -
2012-05-29 09:42:07 +00:00
juha
794930e8e2 Remove unused units in some files.
git-svn-id: trunk@36440 -
2012-03-30 07:40:15 +00:00
paul
519194cb6c ideintf: add TComponentEditorDesigner CanCopy method similar to CanPaste
git-svn-id: trunk@35966 -
2012-03-14 07:24:37 +00:00
martin
a4e43e4501 AnchorEditor: commit keyboard changes. Issue #0020826
git-svn-id: trunk@35960 -
2012-03-14 00:41:15 +00:00
mattias
3e9e907062 IDE: switched to new laz2_xml
git-svn-id: trunk@35937 -
2012-03-13 20:55:43 +00:00
mattias
534d860289 IDE: utility function GetJITMethod
git-svn-id: trunk@35729 -
2012-03-05 11:21:19 +00:00
juha
f9525156e2 Designer: Make FormStyle=fsStayOnTop in Menu editor, issue #21405
git-svn-id: trunk@35655 -
2012-03-02 20:47:15 +00:00
juha
a0fb17b27e IDE: Unite duplicate (single word) resourcestrings and name them consistently.
git-svn-id: trunk@35486 -
2012-02-19 15:50:48 +00:00
mattias
7448696074 IDE: anchor editor: extended hints with notes about borderspacing
git-svn-id: trunk@35447 -
2012-02-18 14:28:18 +00:00
juha
2550bbf3be IDE: unify some common resource strings. Add hints for Path Edit dialog
git-svn-id: trunk@35361 -
2012-02-13 19:57:58 +00:00
juha
b1a90d72e4 Menu Designer: use class instead of record for TDesignerMenuItem, rename some variables.
git-svn-id: trunk@35347 -
2012-02-13 08:00:15 +00:00
juha
6b19f5e2aa IDE: inite resource strings for Undo, Redo, Cut, Copy and Paste
git-svn-id: trunk@35323 -
2012-02-12 14:35:42 +00:00
juha
4ef51619f5 IDE: collect common resource strings in one place, remove duplicates
git-svn-id: trunk@35321 -
2012-02-12 13:04:36 +00:00
juha
c82d1b544d IDE: use resource lisAdd instead of lisCodeTemplAdd in many places.
git-svn-id: trunk@35320 -
2012-02-12 13:03:15 +00:00
martin
bcee3c3ca7 IDE: Enable Tracking for scrollboxes. issue #21240
git-svn-id: trunk@35244 -
2012-02-08 19:51:27 +00:00
mattias
0bf369ec20 IDE: free designer on idle, do not free while processing the closequery
git-svn-id: trunk@34737 -
2012-01-14 18:18:25 +00:00
mattias
fc55260fbc IDE: replaced some cycle with circular dependency
git-svn-id: trunk@34590 -
2012-01-04 23:53:33 +00:00
mattias
48657d7019 IDE: renamed circle detection with cycle detection
git-svn-id: trunk@34541 -
2012-01-02 17:13:43 +00:00
mattias
0d84f6918e IDE: using IsValidUnitName
git-svn-id: trunk@34317 -
2011-12-20 09:33:01 +00:00
maxim
d0e1af2495 IDE: fixed Tab Order dialog layout, bug #20901
git-svn-id: trunk@34192 -
2011-12-14 20:05:54 +00:00
mattias
c37254b8ff IDE: designer: allow dotted unit names, bug #20892
git-svn-id: trunk@34175 -
2011-12-14 10:03:56 +00:00
juha
241f651b88 IDE / Designer: Formatting
git-svn-id: trunk@33523 -
2011-11-14 09:33:03 +00:00
juha
ab94abe6d8 IDE / Designer: fix access violation when switching designer / lfm source. Issue #18506
git-svn-id: trunk@33522 -
2011-11-14 09:32:50 +00:00
juha
436d4002ce Designer: don't use IDEDialogLayoutList for AnchorEditor and TabOrderEditor. They are modeless IDE windows.
git-svn-id: trunk@33004 -
2011-10-21 15:44:12 +00:00
juha
f1ce0599f2 AnchorEditor: remove a useless StringList.Sort.
git-svn-id: trunk@32968 -
2011-10-19 06:37:18 +00:00
mattias
ce6a9b8431 IDE: creating component name from class name: check if removing leading T starts with a number
git-svn-id: trunk@32838 -
2011-10-12 07:24:55 +00:00
maxim
610e13e273 IDE: TOIAddRemoveFavouriteDlg is a resourceless form so it should use CreateNew, patch from cobines, bug #20411
git-svn-id: trunk@32676 -
2011-10-04 21:57:06 +00:00
mattias
5b28299656 IDE: jitforms: using GetPropList for safer align, bug #19109
git-svn-id: trunk@32566 -
2011-09-30 14:19:13 +00:00
mattias
df7c65a674 IDE: anchor editor: fixed reading space
git-svn-id: trunk@32560 -
2011-09-29 18:56:32 +00:00
mattias
785a28d88e LCL: TControlBorderSpacing.GetSideSpace and GetSpace were swapped, fixed
git-svn-id: trunk@32543 -
2011-09-28 13:07:25 +00:00
juha
776eb29c39 Designer: Close MenuEditor when linked MainMenu/PopupMenu is destroyed , issue #19964, patch from Flávio Etrusco
git-svn-id: trunk@31958 -
2011-08-12 09:14:11 +00:00
juha
7e2778735b IDE: TabOrderDlg enhancement from Flávio Etrusco. Issue #0019908
git-svn-id: trunk@31883 -
2011-08-05 23:17:32 +00:00
juha
63be6b3a21 Designer: Fixed wrong coordinated when getting a non-WinControl parent for a new component. Issue #19891
git-svn-id: trunk@31862 -
2011-08-04 16:42:15 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
mattias
51e1742910 IDE: clean up
git-svn-id: trunk@31329 -
2011-06-22 07:52:10 +00:00
juha
042dd6b290 IDE & designer: add layout management to anchor editor and tab order dialog
git-svn-id: trunk@31095 -
2011-06-05 10:54:20 +00:00
mattias
72ce7a70f6 IDE: property editor for TControl.TabOrder
git-svn-id: trunk@30427 -
2011-04-22 14:46:32 +00:00
juha
4f019d9f5b Designer: fix tab orders in Anchor editor window. (no layout changes although it looks so by the commit)
git-svn-id: trunk@30406 -
2011-04-20 18:13:16 +00:00
juha
57bc360c3f Designer: Set buttons enabled state after selection change
git-svn-id: trunk@30405 -
2011-04-20 18:13:09 +00:00
juha
79c76f7cd9 Designer: Synchronize property value in Object Inspector with Tab Order dialog
git-svn-id: trunk@30404 -
2011-04-20 16:05:28 +00:00
juha
47e46eae59 Designer: synchronize Tab Order tree selection with Designer selection
git-svn-id: trunk@30401 -
2011-04-20 12:46:18 +00:00
juha
a53269bb43 Designer: Add 3 dots to Align, Scale and Size menu items. They open modal dialogs.
git-svn-id: trunk@30390 -
2011-04-19 21:38:52 +00:00
juha
c1c6acdc2b IDE: "Tab Order Editor" -> "Tab Order"
git-svn-id: trunk@30389 -
2011-04-19 21:38:47 +00:00
juha
815bdde47c Designer: change SwapNodes from function to procedure in Tab Order dialog
git-svn-id: trunk@30353 -
2011-04-17 20:01:43 +00:00
juha
71961a04c9 Designer: Update Enable state of buttons in Tab Order dialog while user navigates it
git-svn-id: trunk@30350 -
2011-04-17 14:55:06 +00:00
juha
1977485b9c IDE: Add new image for Tab Order to main menu and Designer popup menu
git-svn-id: trunk@30349 -
2011-04-17 14:16:33 +00:00
maxim
dee28f6a01 IDE, Tab order dialog: improved localization
git-svn-id: trunk@30343 -
2011-04-17 12:05:49 +00:00
juha
da0e5e00ab Designer: formatting + add icon for AnchorEditor popup menu caption
git-svn-id: trunk@30337 -
2011-04-17 10:10:24 +00:00
juha
2f0e51c639 Designer: make TabOrder dialog respond to changed form and added component.
git-svn-id: trunk@30334 -
2011-04-17 07:07:08 +00:00
juha
4e77a0efec Designer: add Anchor Editor to Designer's popup menu.
git-svn-id: trunk@30328 -
2011-04-16 18:01:16 +00:00
juha
7d2cf39b54 Designer: make some AnchorEditor public functions private.
git-svn-id: trunk@30327 -
2011-04-16 17:15:45 +00:00
juha
eb5924a313 Designer: make Tab Order dialog work as modeless dialog.
git-svn-id: trunk@30325 -
2011-04-16 17:15:35 +00:00
juha
1f812b5dd7 IDE: Make Tab Order dialog modeless and add it to View menu.
git-svn-id: trunk@30324 -
2011-04-16 17:15:29 +00:00
juha
716bb3dc97 Designer: formatting
git-svn-id: trunk@30323 -
2011-04-16 17:15:24 +00:00
juha
2979d50c70 Designer: Remove a leftover button from TabOrder form
git-svn-id: trunk@30276 -
2011-04-12 21:00:05 +00:00
mattias
cc790adde3 IDE: debugging
git-svn-id: trunk@29974 -
2011-03-21 17:12:25 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
paul
ec6a2842f0 designer: use CreateNew constructor for TCustomNonFormDesignerForm
git-svn-id: trunk@29288 -
2011-02-01 10:16:22 +00:00
paul
483f4ec94a designer: send client coords to MouseUp, MouseDown, MoveMove (issue #0018458)
git-svn-id: trunk@29207 -
2011-01-26 12:53:58 +00:00
paul
5bb404e360 designer: report CM_DESIGNHITTTEST in client coordinates, report mouse moves more properly (issue #0018458)
git-svn-id: trunk@29132 -
2011-01-20 04:45:26 +00:00
paul
308101f480 designer: fixed a memory leak made early today
git-svn-id: trunk@28341 -
2010-11-19 10:02:28 +00:00
paul
21ac80d159 designer: use right brush color for component caption draw
git-svn-id: trunk@28340 -
2010-11-19 10:00:03 +00:00
paul
50e6fb6263 ide: extent component editor and designer to provide developer-defined hints (feature #0017203)
git-svn-id: trunk@28336 -
2010-11-19 07:19:54 +00:00
mattias
5dd01ce874 codetools: CheckLFM: added boolean RootMustBeClassInUnit parameter
git-svn-id: trunk@27481 -
2010-09-26 20:30:24 +00:00
paul
41160c3a52 designer: disable snapping when Alt key is pressed (issue #0001974)
git-svn-id: trunk@26910 -
2010-07-30 08:17:49 +00:00
paul
9d983ccdcd designer: fix memory leak
git-svn-id: trunk@26651 -
2010-07-14 16:22:49 +00:00
paul
308c5de7e0 designer: don't handle lm_contextmenu for other things than keyboard
git-svn-id: trunk@26643 -
2010-07-14 13:04:11 +00:00
mattias
8531e6e0cf IDE: FindDeclarationOfOIProperty: check for TNestedPropertyEditor
git-svn-id: trunk@26584 -
2010-07-10 19:41:36 +00:00
mattias
6b96372e72 IDE: FindDeclarationOfOIProperty: searching persistents directly via RTTI unitname, bug #15160
git-svn-id: trunk@26550 -
2010-07-09 18:23:16 +00:00
paul
1fce8997f8 designer: don't reset the frame width and height when it set in the object inspector (bug #0013665)
git-svn-id: trunk@26421 -
2010-07-02 17:56:28 +00:00
mattias
2bd8a3a414 IDE; anchoreditor: less annoying circle checks
git-svn-id: trunk@26280 -
2010-06-24 12:17:43 +00:00
mattias
d5526f2aeb IDE: fixed anchor
git-svn-id: trunk@26251 -
2010-06-22 07:15:12 +00:00
mattias
60adf0cc86 IDE: anchor editor: warn for circles
git-svn-id: trunk@26219 -
2010-06-20 22:00:27 +00:00
mattias
1ee3d6dcf4 IDEIntf: moved TSimpleIDEWindowLayout to IDEWindowCreators
git-svn-id: trunk@26201 -
2010-06-20 10:45:52 +00:00
mattias
dab1b02763 clean up OldAutoSize
git-svn-id: trunk@25823 -
2010-06-01 20:21:32 +00:00
paul
0fd468ac81 designer: fix selection of non-visual components on the same level (bug #0015428)
git-svn-id: trunk@25791 -
2010-05-31 03:35:41 +00:00
mattias
1f0867e592 LCL: update BaseParentClientSize on SetParent, bug #16594
git-svn-id: trunk@25769 -
2010-05-30 14:25:54 +00:00
dmitry
f9e656e9a1 ide: fix for TMainMenuComponentEditor edit method. Fix crash of MenuEditor, on edited menu component deleted
git-svn-id: trunk@25611 -
2010-05-24 15:17:55 +00:00
mattias
f25c0d95e5 IDE: using IDEIntf to show dockable windows
git-svn-id: trunk@25604 -
2010-05-24 14:31:03 +00:00
mattias
811e84764c IDE: removed TComponentInterface
git-svn-id: trunk@25457 -
2010-05-16 11:41:42 +00:00
mattias
d8e625e5a2 IDE: anchor editor layout
git-svn-id: trunk@25375 -
2010-05-13 17:21:44 +00:00
mattias
a92d69cb0d IDE: undid handling copy, cut, paste of objectinspector
git-svn-id: trunk@24855 -
2010-04-23 16:05:36 +00:00
mattias
188ae1249a IDE: removing designer commands cut,copy,paste and using global ones, bug #15481
git-svn-id: trunk@24699 -
2010-04-18 17:19:27 +00:00
mattias
e77e383461 IDE: designer forms are now created with delayed autosize
git-svn-id: trunk@24423 -
2010-04-05 00:29:46 +00:00
mattias
b32f435668 IDE: pasting controls: delay autosizing to keep layout of multi selection
git-svn-id: trunk@24380 -
2010-04-03 16:21:48 +00:00
dmitry
fd3fbf3d4a ide: added splitter for the menu editor
git-svn-id: trunk@24214 -
2010-03-25 20:19:57 +00:00
paul
9999081da8 lazarus: extract some classes from propedits to propeditutils by Ask (issue #0015531)
git-svn-id: trunk@23472 -
2010-01-17 07:12:12 +00:00
paul
2980a30f5a designer: convert forms to use fpc resources
git-svn-id: trunk@23443 -
2010-01-14 09:26:08 +00:00
paul
d8faa4f504 designer: inform widgetset that designer handles WM_CONTEXTPOPUP message itself by Zeljan (issue #0015409)
git-svn-id: trunk@23234 -
2009-12-22 11:54:24 +00:00
paul
2ec1f7c029 ideintf: add Z-Order menu section to the component treeview
git-svn-id: trunk@23202 -
2009-12-20 11:08:19 +00:00
paul
5b7d36de82 lcl, designer, ideintf, components: rename csOwnedChildsNotSelectable -> csOwnedChildrenNotSelectable
git-svn-id: trunk@23185 -
2009-12-18 10:07:11 +00:00
paul
eea7e0ab75 designer: clear previous component editor menu items from the popup menu even if new component editor is not assigned
git-svn-id: trunk@23178 -
2009-12-18 04:05:27 +00:00
paul
db451e1ee6 designer: handle popup menu key press
git-svn-id: trunk@23177 -
2009-12-18 03:54:23 +00:00
paul
94632103e8 ide: menu editor - use resource string instead of hard coded string
git-svn-id: trunk@23174 -
2009-12-18 03:08:17 +00:00
paul
fc99f9fdb4 designer: rmove menupropedit unit since it is not used anywhere
git-svn-id: trunk@23173 -
2009-12-18 02:42:49 +00:00
paul
e4cdead4c8 ide, ideintf: component treeview improvements
- add menu item to add collection items for TCollection and TCollectionItem
  - better find selected persistent
  - fix all calls of GetDesignerForm (no need to cast to TComponent) so if persistent changes then IDE also sets modified state

git-svn-id: trunk@23163 -
2009-12-17 14:05:01 +00:00
paul
7cbceba61c designer: fix errors with component selection
git-svn-id: trunk@23143 -
2009-12-15 03:46:08 +00:00
paul
3c92edd5c6 designer: fix clipping rectangle for the csInline non-visual children
git-svn-id: trunk@23133 -
2009-12-14 02:59:21 +00:00
mattias
c64b628c67 IDE: fixed painting datamodules
git-svn-id: trunk@23103 -
2009-12-12 15:51:01 +00:00
mattias
17ddc6d07d IDE: fixed GetParentFormRelativeTopLeft for nested non visual components
git-svn-id: trunk@23100 -
2009-12-12 12:56:52 +00:00
mattias
57d950f3f9 IDE: fixed GetParentFormRelativeTopLeft for nested non visual components
git-svn-id: trunk@23099 -
2009-12-12 12:56:25 +00:00
paul
39c6ed894c designer: csInline component fixes:
- fix relative coords of non-visual components if their owner has parent
  - clip non-visual components by parent client rectangle

git-svn-id: trunk@23082 -
2009-12-11 07:25:18 +00:00
mattias
4be10ae220 IDE: removed designer method hack
git-svn-id: trunk@23063 -
2009-12-10 11:23:56 +00:00
mattias
69219dadbc IDE: designer: selection checks parent level for non visual icons
git-svn-id: trunk@23023 -
2009-12-08 11:07:05 +00:00
paul
835f394fbd ide: allow deletion of TCollectionItems (todo: don't allow deletion of TCollection)
git-svn-id: trunk@22919 -
2009-12-02 10:38:03 +00:00
mattias
0d6aff22e1 csOwnedChildsSelectable inverted and renamed to csOwnedChildsNotSelectable
git-svn-id: trunk@22852 -
2009-11-28 15:18:27 +00:00
mattias
524cc9f759 IDE: designer: fixed selecting non visual above visual
git-svn-id: trunk@22846 -
2009-11-28 11:09:22 +00:00
mattias
9a2a11741e IDEIntf: component treeview: csOwnedChildsSelectable
git-svn-id: trunk@22845 -
2009-11-28 00:31:25 +00:00
mattias
446308e0f5 IDE: designer: fixed DrawNonVisualComponent when frame is in a groupbox on a form
git-svn-id: trunk@22844 -
2009-11-28 00:27:27 +00:00
mattias
a0d2779d55 IDE: designer: fixed csOwnedChildsSelectable
git-svn-id: trunk@22843 -
2009-11-28 00:21:30 +00:00
mattias
bd7a777008 IDE: designer: using GetChildren for selecting
git-svn-id: trunk@22841 -
2009-11-28 00:14:33 +00:00
mattias
95082ac67f IDE: designer: renamed private variable
git-svn-id: trunk@22836 -
2009-11-27 17:51:58 +00:00
paul
271c760dc1 designer: cleanup
git-svn-id: trunk@22835 -
2009-11-27 17:43:45 +00:00
mattias
1d9513d837 IDE: reduced debugging
git-svn-id: trunk@22834 -
2009-11-27 17:39:54 +00:00
mattias
a618ec548b IDE: designer: iterate non visual components only for csInline components
git-svn-id: trunk@22833 -
2009-11-27 17:33:55 +00:00
mattias
2c31bb4001 clean up
git-svn-id: trunk@22830 -
2009-11-27 16:58:05 +00:00
paul
61f9dfb823 designer: draw non-visual components only returned by recursively GetChildren calls
git-svn-id: trunk@22829 -
2009-11-27 16:54:47 +00:00
paul
b6d78f19d8 designer: set csAncestor for all csInline sub-components
git-svn-id: trunk@22819 -
2009-11-27 04:18:21 +00:00
paul
3a13c17161 designer: fix getting offsets of non-visual ancestor components
git-svn-id: trunk@22817 -
2009-11-27 04:10:25 +00:00
paul
b255bc1884 designer: correctly calculate non-visual component offsets for the designer form
git-svn-id: trunk@22815 -
2009-11-27 02:36:03 +00:00
paul
3058df5224 designer: replace "Cancel" button on all error dialogs with "Ok" button
git-svn-id: trunk@22814 -
2009-11-27 02:35:29 +00:00
paul
c1fdc5e879 designer: start drawing and selection of inlined non-visual components (todo: control selection)
git-svn-id: trunk@22795 -
2009-11-26 10:39:57 +00:00
sekelsenmat
c15be9e2e1 New fix for bug #15075
git-svn-id: trunk@22775 -
2009-11-25 17:53:24 +00:00
paul
cea7ca2577 ide: hide DumpExceptionBackTrace to the ifdef block since it does not compile anymore
git-svn-id: trunk@22725 -
2009-11-23 14:55:33 +00:00
paul
f90c5c0b2f designer: implementation of CM_DESIGNHITTEST by Eugene Kryukov (issue #0015123)
git-svn-id: trunk@22714 -
2009-11-23 04:29:01 +00:00
mattias
1913e8198e IDEIntf: added TComponentEditorDesigner.ChangeStamp and OnModified handler list
git-svn-id: trunk@22703 -
2009-11-22 12:31:34 +00:00
mattias
b7dcea7011 IDE: designer mediator: setting Designer
git-svn-id: trunk@22668 -
2009-11-18 10:32:59 +00:00
mattias
eceb0f4670 IDE: using mediator to set and load bounds when creating new component
git-svn-id: trunk@22635 -
2009-11-17 05:04:57 +00:00
paul
f8141283a2 ide: change class dialog: simplify look, apply changes on return key press
git-svn-id: trunk@22632 -
2009-11-17 03:14:40 +00:00
mattias
25bbbfc1e6 IDE: loading inline components: add jitmethods to lookuproot of component instead of lookuproot of reader, bug #15086
git-svn-id: trunk@22628 -
2009-11-16 15:52:15 +00:00
mattias
f246b17923 IDE: controlselection: using FreeNotification opRemove for selected components
git-svn-id: trunk@22627 -
2009-11-16 15:12:14 +00:00
paul
c582f62100 designer: don't set csAncestor for csInline components with non csInline owner
git-svn-id: trunk@22515 -
2009-11-10 09:04:20 +00:00
paul
d349c95a16 designer: set csAncestor when reading inline component and subcomponent ancestor exists
git-svn-id: trunk@22503 -
2009-11-09 13:40:36 +00:00
mattias
4346679737 IDE: set csAncestor for root components with ancestors
git-svn-id: trunk@22487 -
2009-11-08 11:03:34 +00:00
mattias
e6d6a54eb9 reduced warnings
git-svn-id: trunk@22382 -
2009-11-02 10:47:24 +00:00
mattias
6a383f06ec added comment
git-svn-id: trunk@22342 -
2009-10-29 14:51:47 +00:00
mattias
58cb88ebb3 IDE: when hiding an used designer component: free/hide the form
git-svn-id: trunk@22341 -
2009-10-29 14:47:36 +00:00
mattias
5a0d1223bc IDE: reduced debugging
git-svn-id: trunk@22288 -
2009-10-26 12:42:05 +00:00
mattias
29ea3fdaa5 IDE: fixup references when dropping a frame onto a form
git-svn-id: trunk@22260 -
2009-10-22 13:56:11 +00:00
paul
cc6b1224f5 designer: paint non-visual component names using parent form brush color for filling (so on datamodule they will have clWhite bg and on form clBtnFace)
git-svn-id: trunk@22255 -
2009-10-22 07:58:03 +00:00
mattias
9e8f522ad3 IDE: updated lrs
git-svn-id: trunk@22224 -
2009-10-18 11:37:56 +00:00
mattias
8d7e5bda13 IDE: designer added option to ask for component name on create
git-svn-id: trunk@22221 -
2009-10-18 11:32:42 +00:00
mattias
b039ff1f73 IDE: added dialog to ask for component name
git-svn-id: trunk@22202 -
2009-10-17 10:16:39 +00:00
paul
b3ebc0bd80 designer: update control selection bounds after resize finish (issue #0014696)
git-svn-id: trunk@21934 -
2009-10-01 02:51:22 +00:00
paul
1b95312ed1 designer: formatting
git-svn-id: trunk@21933 -
2009-10-01 02:47:11 +00:00
paul
76f31481a3 designer: fix TDesignerDeviceContext.GetFormOrigin
git-svn-id: trunk@21927 -
2009-09-30 07:48:46 +00:00
paul
72ca561bdb designer: reduce debug output
git-svn-id: trunk@21925 -
2009-09-30 03:41:38 +00:00
paul
0547a037a7 designer: don't draw border spacing frame around noDesignSelectable controls (issue #0014684)
git-svn-id: trunk@21904 -
2009-09-28 13:31:39 +00:00
paul
b680c53595 lcl, designer: better invalidate designer on move, resize (issue #0013886)
git-svn-id: trunk@21875 -
2009-09-26 03:26:52 +00:00
paul
6abd81a239 designer: don't show useless TabStop, TabOrder info for the designer form in the hint window
git-svn-id: trunk@21869 -
2009-09-25 16:55:13 +00:00
paul
20b0d7a096 designer: improve repainting:
- invalidate control parents on move and resize
  - use bitmap buffer to paint non visual components to reduce flickering

git-svn-id: trunk@21866 -
2009-09-25 15:25:55 +00:00
paul
376507bffe designer: formatting
git-svn-id: trunk@21863 -
2009-09-25 14:43:46 +00:00
paul
7b76c5683e designer: repaint after selection move
git-svn-id: trunk@21860 -
2009-09-25 12:31:18 +00:00
paul
d7d5afb621 designer: cleanup
git-svn-id: trunk@21839 -
2009-09-23 12:51:46 +00:00
paul
06befbadc9 designer: focus object inspector grid on pressing Enter key
git-svn-id: trunk@21811 -
2009-09-22 01:11:25 +00:00
paul
634d3996d9 ide, designer: extend jitform list to handle also TCustomForm descendants (not only TForm) (fixes issue #0013694)
git-svn-id: trunk@21780 -
2009-09-20 07:20:16 +00:00
paul
900a8acec8 designer: show resize cursors for the controls with parent <> lookuproot (issue #0014626)
git-svn-id: trunk@21779 -
2009-09-20 05:45:50 +00:00
paul
aab41d4aea designer: don't resize a LookupRoot (bug #0014361)
git-svn-id: trunk@21777 -
2009-09-20 04:47:06 +00:00
paul
d6a6f487a7 formatting
git-svn-id: trunk@21776 -
2009-09-20 04:42:57 +00:00
paul
bc005b9925 designer: don't hide a hint window on every mouse move if we are resizing/moving component (or it has problems on gtk2)
git-svn-id: trunk@21773 -
2009-09-19 17:24:50 +00:00
paul
272272f0ca designer: improve hints in the designer:
- show hints on components resize (new size)
  - show hints on components move (new relative position)

git-svn-id: trunk@21772 -
2009-09-19 17:08:16 +00:00
paul
00af634807 designer: extend hint string for TWinControl (add TabStop, TabOrder)
git-svn-id: trunk@21771 -
2009-09-19 16:13:43 +00:00
dmitry
1d7ba22be7 menueditor: fix for memory leaks
git-svn-id: trunk@21763 -
2009-09-19 08:43:20 +00:00
paul
314136229d designer: select owner component on ESC if parent is not available
git-svn-id: trunk@21756 -
2009-09-18 08:02:12 +00:00
paul
6daf1895cc designer: cancel move/resize operation on ESC key press (issue #0010981)
git-svn-id: trunk@21755 -
2009-09-18 07:36:09 +00:00
paul
f4defcfde3 designer: skip invisible controls during keyboard traverse
git-svn-id: trunk@21754 -
2009-09-18 06:09:10 +00:00
paul
e19f46701f designer: fix traversing component using arrow keys
git-svn-id: trunk@21752 -
2009-09-18 00:32:19 +00:00
paul
45e4016cdd designer: traverse component using keyboard (tab and arrow keys)
git-svn-id: trunk@21749 -
2009-09-17 12:59:14 +00:00
paul
58231e2990 designer: select designer form on right click (if right click select is in the options)
git-svn-id: trunk@21746 -
2009-09-17 08:49:05 +00:00
paul
86450c53f1 designer: also track extra mouse buttons (for completeness)
git-svn-id: trunk@21742 -
2009-09-17 04:55:47 +00:00
paul
9743208425 designer: fix moving components
git-svn-id: trunk@21741 -
2009-09-17 04:47:49 +00:00
mattias
11ee91d1b3 IDE: added FreeNotifications for designer, mediator, form, jitformlists
git-svn-id: trunk@21734 -
2009-09-16 13:04:52 +00:00
mattias
5a612c0fdb IDE: fixed designer shiftstate
git-svn-id: trunk@21732 -
2009-09-16 10:51:34 +00:00
mattias
3d4e211dbf IDEIntf: designer mediator: mouse events
git-svn-id: trunk@21730 -
2009-09-16 09:59:02 +00:00
mattias
fb82c5b9a3 IDEIntf: designer mediator key handling
git-svn-id: trunk@21670 -
2009-09-12 16:39:15 +00:00
mattias
9d47b22a8e IDEIntf: fixed designer mediator grand child bounds
git-svn-id: trunk@21668 -
2009-09-12 16:06:18 +00:00
mattias
b6cf29d755 IDEIntf: designer mediator: fixed GetComponentOriginOnForm
git-svn-id: trunk@21667 -
2009-09-12 15:04:52 +00:00
mattias
6681f6a556 IDE: designer mediator: add components
git-svn-id: trunk@21664 -
2009-09-12 14:51:26 +00:00
mattias
5217303e69 IDE: designer mediator: started adding components
git-svn-id: trunk@21650 -
2009-09-11 12:40:25 +00:00
mattias
5a72f4fee4 IDE: designer mediator: implemented rubberband and draw markers
git-svn-id: trunk@21649 -
2009-09-11 12:05:49 +00:00
mattias
de3d5fa347 IDEIntf: designer mediator: fixed GetComponentOriginOnForm
git-svn-id: trunk@21644 -
2009-09-10 11:12:52 +00:00
mattias
696ab5f46c IDEIntf: designer mediator: fixed example GetClientArea
git-svn-id: trunk@21643 -
2009-09-10 11:08:32 +00:00
paul
3c12d6c41b designer: woraround gtk2 bug with drawing text on GDK_INCLUDE_INFERIOR graphic context
git-svn-id: trunk@21641 -
2009-09-10 01:43:48 +00:00
mattias
382a314889 IDEIntf: designer mediator: started ComponentAtPos
git-svn-id: trunk@21638 -
2009-09-09 22:17:40 +00:00
mattias
2d33a670e1 IDEIntf: designer mediator: added ComponentIsIcon
git-svn-id: trunk@21637 -
2009-09-09 20:16:48 +00:00
mattias
135eaf5923 IDE: designer mediator: paint
git-svn-id: trunk@21626 -
2009-09-08 16:59:34 +00:00
mattias
6e272afa14 IDE: mediator in controlselection
git-svn-id: trunk@21625 -
2009-09-08 16:00:56 +00:00
mattias
4e4340b68b IDEIntf: designer mediator: LCLForm and Designer
git-svn-id: trunk@21624 -
2009-09-08 15:26:39 +00:00
mattias
463fff0bb4 IDE: designer mediator: added InitFormInstance method
git-svn-id: trunk@21621 -
2009-09-08 11:55:37 +00:00
mattias
9e1dbe78ab IDE: designer: create mediator
git-svn-id: trunk@21620 -
2009-09-08 11:43:21 +00:00
mattias
a288977d4c IDE: designer: using Left,Top properties if available for non TControl forms
git-svn-id: trunk@21619 -
2009-09-08 11:15:16 +00:00
mattias
c4b9231706 IDE: designer: added menu item Center form
git-svn-id: trunk@21614 -
2009-09-08 10:22:48 +00:00
mattias
8ad516451b IDE: implemented registering designer mediators
git-svn-id: trunk@21613 -
2009-09-08 10:12:55 +00:00
paul
20cb5e028d designer: revert 21609 #88641be03d since tDesignercanvas does not supports embedded save/restore
git-svn-id: trunk@21612 -
2009-09-08 09:13:08 +00:00
paul
88641be03d designer: reduce SaveDC, RestoreDC calls
git-svn-id: trunk@21609 -
2009-09-08 08:26:26 +00:00
dmitry
96eb0e1e5a fix for #14522
git-svn-id: trunk@21596 -
2009-09-07 07:31:28 +00:00
dmitry
3b2f307b4b fix for #14521
git-svn-id: trunk@21595 -
2009-09-07 07:22:03 +00:00
paul
f5b7d75df5 ide, designer: allow negative left and top for non-visual components (also fixes bug #0013468)
git-svn-id: trunk@21561 -
2009-09-04 03:25:05 +00:00
paul
c680ad8794 designer, component palette: turn "multy" mode on when shift is pressed during component selection (issue #0008052)
git-svn-id: trunk@21537 -
2009-09-02 14:17:19 +00:00
mattias
074aa39eb1 IDE: disable csSetCaption when creating component, caption is set during loading OR when creating a new component, but not both, needed for empty caption
git-svn-id: trunk@21472 -
2009-08-28 06:54:14 +00:00
paul
d17da7b5e3 formatting
git-svn-id: trunk@21467 -
2009-08-27 17:17:53 +00:00
mattias
fe37264155 IDE: checking for circles when putting a frame, bug #14311
git-svn-id: trunk@21314 -
2009-08-19 11:09:30 +00:00
paul
e447466f59 ide: fix compilation with fpc 2.5.1
git-svn-id: trunk@21277 -
2009-08-18 08:42:22 +00:00
mattias
cb375e7df1 IDE: added check to avoid circular frames, bug #14311
git-svn-id: trunk@21274 -
2009-08-17 21:43:04 +00:00
paul
61ae96cde3 designer: cleanup, formatting
git-svn-id: trunk@21223 -
2009-08-14 16:55:11 +00:00
paul
f0f908b584 designer: menu designer: clear current menu on form close (bug #0014181)
git-svn-id: trunk@20933 -
2009-07-24 02:15:59 +00:00
mattias
d0324f58e4 clean up
git-svn-id: trunk@20921 -
2009-07-22 10:06:22 +00:00
paul
d23ecb2d45 designer: resize frame when new value is entered for width or height in the object inspector
git-svn-id: trunk@20875 -
2009-07-17 12:50:41 +00:00
paul
8f5b5a247c designer: fix crashes in menu designer (bug #0014050)
git-svn-id: trunk@20742 -
2009-06-25 08:19:22 +00:00
paul
b40172afcd designer: simplify previous commit
git-svn-id: trunk@20726 -
2009-06-24 01:38:46 +00:00
paul
7dd0bd8b77 ide, designer: fix compilation after recent fpc 2.3.1 change - r13320 #54190edc5b
git-svn-id: trunk@20725 -
2009-06-24 01:29:12 +00:00
paul
82a3cd2da5 designer: change caption 'xml' -> 'XML', adjust designer menu
git-svn-id: trunk@20678 -
2009-06-20 11:08:34 +00:00
paul
cab70763c4 designer: add, change some popup menu constants
git-svn-id: trunk@20677 -
2009-06-20 10:40:35 +00:00
paul
012469d3f6 designer: menu designer:
- decrease amount of global variables
  - set correct owner for internal popupmenu and items
  - fix few memory leaks

git-svn-id: trunk@20647 -
2009-06-17 06:27:43 +00:00
paul
fed0249f42 designer: menu editor: format code, add more checks
git-svn-id: trunk@20645 -
2009-06-17 02:17:06 +00:00
paul
282a2b206c ide: fix "insert menu from template" dialog buttons
git-svn-id: trunk@20615 -
2009-06-13 09:17:32 +00:00
mattias
dcf8452b15 IDE: fixed crash on copying components with new methods, bug #13204
git-svn-id: trunk@20266 -
2009-05-27 13:59:22 +00:00
paul
93a1c4eccf designer: update component treeview and object inspect on after execution of chnage parent command (issue #0013787)
git-svn-id: trunk@20115 -
2009-05-22 04:29:39 +00:00
paul
ad30f8d3e7 ide: use same string and icon for all Options menu items
git-svn-id: trunk@20082 -
2009-05-21 01:59:12 +00:00
paul
e932577e22 ide, debugger, packager: don't use special Ok, Cancel, Help captions for buttons - use standard LCL - they have accelerators (Ok and Help) (fixes a part of issue #0001379)
git-svn-id: trunk@20045 -
2009-05-19 08:54:33 +00:00
paul
84fe092b0e designer: don't position new frame form at the default position (by request of Phil in issue #0013695)
git-svn-id: trunk@19934 -
2009-05-12 02:51:25 +00:00
paul
fe23c7c33f designer: change more dialogs to have button panel instead of ok, cancel buttons
git-svn-id: trunk@19732 -
2009-05-01 12:41:29 +00:00
paul
03a60c0956 designer: set AutoSize = True for spinedits in the anchor editor
git-svn-id: trunk@19731 -
2009-05-01 12:23:46 +00:00
paul
d0bc80f9d9 designer: reanchor align components dialog, use button panel
git-svn-id: trunk@19730 -
2009-05-01 12:21:29 +00:00
paul
45fc6d2b1f designer: reduce verbosity
git-svn-id: trunk@19725 -
2009-05-01 07:38:13 +00:00
vincents
a168077e2a menu designer: reduce changes in the OnPaint event (issue #11190) from Dmitry
git-svn-id: trunk@19688 -
2009-04-29 10:01:48 +00:00
mattias
5f4c6b579f IDE: added more ShowAbort flags
git-svn-id: trunk@19651 -
2009-04-27 18:08:58 +00:00
jesus
2e5838c4d2 IDE, unconditionally show component caption on form designer hints
git-svn-id: trunk@19431 -
2009-04-15 00:17:49 +00:00
paul
c8fc970de1 ide: form positions (part of issue #0013507)
- correctly save/restore anchor editor position
  - show all registered (in enum) windows in the option->environment->window
  - rename few menu items (remove 'View' since they are in the View menu already)

git-svn-id: trunk@19406 -
2009-04-13 09:22:56 +00:00
paul
3b28882b67 designer: fix crashes (bug #0013385)
git-svn-id: trunk@19068 -
2009-03-23 01:35:02 +00:00
paul
0a20153a4d designer: fix painting (visible only on windows)
- use symmetric DC.Restore for all DC.Save calls
  - set control for designer DC since it is not always possible to retrieve control from DC (especially it is impossible on windows)
  - if GetDCOriginRelativeToWindow return False use another approach to retrieve this origin (using known DC control)
  - formatting

git-svn-id: trunk@19064 -
2009-03-22 16:00:04 +00:00
paul
f48e79bee7 designer: allow to drop components on several opened designer forms (fixes #0008062)
git-svn-id: trunk@18835 -
2009-02-27 08:21:37 +00:00
paul
2b18e40042 designer: formatting
git-svn-id: trunk@18834 -
2009-02-27 08:14:13 +00:00
paul
2f23907551 designer: when show component name fill name rectangle before to prevent ugly look if few names overlap each-other
git-svn-id: trunk@18819 -
2009-02-24 14:09:22 +00:00
paul
e341c015c5 designer: introduce TDesigner.ShowComponentCaptions property, fix SetShowComponentCaptionHints and SetShowEditorHints
ide: switch Designer.ShowComponentCaptions when "Show component captions" option is switched in the IDE options

git-svn-id: trunk@18812 -
2009-02-24 02:22:36 +00:00
paul
7e1eb7a0f1 designer: a bit improve form invalidates I introduced in r18806 #d37ad93cb0
git-svn-id: trunk@18810 -
2009-02-23 15:09:45 +00:00
paul
d37ad93cb0 designer: Show non-visual component names below icons (issue #0013180)
git-svn-id: trunk@18806 -
2009-02-23 09:13:27 +00:00