Commit Graph

516 Commits

Author SHA1 Message Date
vincents
c42bbc3a30 lcl: don't set shift state to ssMiddle when handling a wheel mouse message (issue #7093)
git-svn-id: trunk@9765 -
2006-08-29 12:36:08 +00:00
mattias
5c7c30f966 LCL aligning: no longer forgets to call DoAutoSize after aligning
git-svn-id: trunk@9762 -
2006-08-28 21:36:21 +00:00
mattias
ac5ae3b17e fixed fpc 2.1.1 compilation, docking: implemented shrinking to get space for docked control
git-svn-id: trunk@9718 -
2006-08-12 10:55:22 +00:00
mattias
f0c29671f5 updated german translation from Swen
git-svn-id: trunk@9710 -
2006-08-10 10:15:48 +00:00
mattias
2fcdb04917 carbon: implemented LM_SIZE, LM_MOVE, LM_PAINT messages
git-svn-id: trunk@9701 -
2006-08-04 15:35:52 +00:00
mattias
b71a2a8654 added check if fDockClients=nil (issue #7023)
git-svn-id: trunk@9591 -
2006-07-10 19:41:27 +00:00
mattias
50e2dbfddb added workaround for x86_64 double 0/x bug
git-svn-id: trunk@9490 -
2006-06-23 16:09:38 +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
88a04ff101 removed TLabel fontchanged hook and added TCheckList.OnClickChecked event from Darek
git-svn-id: trunk@9403 -
2006-06-05 10:24:47 +00:00
mattias
cac7932f7c LCLnow uses GetPreferredSize without theme space
git-svn-id: trunk@9333 -
2006-05-22 00:05:39 +00:00
mattias
e81c0f77a0 added WithThemSpace parameter to GetPreferredSize
git-svn-id: trunk@9331 -
2006-05-21 15:47:28 +00:00
mattias
236481b49c implemented parameter hints
git-svn-id: trunk@9314 -
2006-05-20 12:53:57 +00:00
mattias
6d45de5a54 added Giuliano Colla to contributors
git-svn-id: trunk@9253 -
2006-05-08 10:32:45 +00:00
mattias
e9aefb922b fixed alRight, alBottom order, when two controls are at the same position
git-svn-id: trunk@9252 -
2006-05-08 09:37:02 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
a8832a3e66 help for IDE windows: started editor and mapping
git-svn-id: trunk@9198 -
2006-04-28 14:16:25 +00:00
mattias
422e644e54 reduced overhead in TWinControl.IsControlMouseMsg from Darek
git-svn-id: trunk@9164 -
2006-04-23 20:20:22 +00:00
mattias
13302aeb6c added TWinControl.SelectFirst
git-svn-id: trunk@9046 -
2006-03-30 09:27:44 +00:00
vincents
380fa81917 finished implementation of TWinControl.Repaint (fixes issue #1890)
git-svn-id: trunk@8968 -
2006-03-20 19:13:16 +00:00
mattias
a88db22c6c implemented setting font for gtk widgets from Darek
git-svn-id: trunk@8754 -
2006-02-17 13:40:26 +00:00
mattias
d47a79ff62 added anchor docking example
git-svn-id: trunk@8722 -
2006-02-09 18:31:10 +00:00
mattias
da5881ed7f fixed ChildSizing spacing and Layout
git-svn-id: trunk@8639 -
2006-01-27 21:51:58 +00:00
mattias
3c3ac6365a improved AutoSizing for Parent controls
git-svn-id: trunk@8636 -
2006-01-27 20:36:32 +00:00
mattias
90de7d2a9a implemented TControl.BorderSpacing.CellAlignHorizontal/Vertical, replaced TRadioGroup recreatewnd calls with UpdateItems, changed TRadioGroup.AutoFill to true as default
git-svn-id: trunk@8633 -
2006-01-27 15:21:08 +00:00
mattias
2daff690f8 added shrinking to TRadioGroup and TCheckGroup
git-svn-id: trunk@8621 -
2006-01-25 23:18:16 +00:00
mattias
4572967898 TRadioGroup and TCheckGroup are now using ChildSizing properties
git-svn-id: trunk@8619 -
2006-01-25 22:48:01 +00:00
mattias
6c6535d395 implemented ChildSizing.Layout/EnlargeHorizontal/EnlargeVertical/ShrinkHorizontal/ShrinkVertical
git-svn-id: trunk@8618 -
2006-01-25 21:52:47 +00:00
mattias
40c0cd86f7 implemented more parts of TAutoSizeBox needed for ChildSizing.Layout
git-svn-id: trunk@8613 -
2006-01-24 16:52:43 +00:00
vincents
1f51beb255 * removed CM_PARENTFONTCHANGED
* implemented ParentFont property (issue #1268)

git-svn-id: trunk@8540 -
2006-01-17 12:11:04 +00:00
mattias
8e0de71ba9 improved setting color of widgets from Darek
git-svn-id: trunk@8534 -
2006-01-17 10:39:39 +00:00
mattias
51d730320c carbon interface: implemented basic key handling
git-svn-id: trunk@8521 -
2006-01-14 23:27:42 +00:00
mattias
68755c278e removed unneeded invalidate
git-svn-id: trunk@8435 -
2006-01-04 12:36:40 +00:00
micha
e49ba83bc8 fix mouse messages to controls (issue #1479)
git-svn-id: trunk@8377 -
2005-12-27 15:46:30 +00:00
vincents
0bbe8bab58 fixed showing non-autosized labels loaded from a lfm (issue #1526)
git-svn-id: trunk@8327 -
2005-12-15 11:35:07 +00:00
mattias
7fc727d17a added UpdateShowing and reduced autosizing during handle creation
git-svn-id: trunk@8321 -
2005-12-14 21:28:50 +00:00
mattias
a0e53901fc reduced grid VisualChange calls
git-svn-id: trunk@8258 -
2005-12-06 18:29:08 +00:00
mattias
6d975c970d fixed gtk capturing setting LCL CaptureControl
git-svn-id: trunk@8247 -
2005-12-02 12:06:13 +00:00
mattias
466590d235 fixed TRadioGroup.InitializeWnd calling inherited
git-svn-id: trunk@8246 -
2005-12-02 10:45:38 +00:00
mattias
740bdda6ff implemented TWinControl.DoAutoSize for aligned and parent anchored child controls
git-svn-id: trunk@8178 -
2005-11-16 18:47:41 +00:00
mattias
7f21a7743b improved parent AutoSizing for aligned clients
git-svn-id: trunk@8173 -
2005-11-16 08:55:53 +00:00
mattias
a5858e5cf2 fixed invalidating preferred size on invalidating client rect
git-svn-id: trunk@8170 -
2005-11-15 17:49:24 +00:00
mattias
2074b79dab fixed checking SetActiveControl
git-svn-id: trunk@8159 -
2005-11-14 22:57:10 +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
vincents
dfa88d335e fixed color of notebook pages.
git-svn-id: trunk@8117 -
2005-11-09 10:20:24 +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
1cc42929d8 make key handling more regular
git-svn-id: trunk@8078 -
2005-11-06 19:33:52 +00:00
micha
b30bc55540 enable autosizing at design time (fixes issue #1244)
git-svn-id: trunk@8060 -
2005-11-04 20:30:12 +00:00
vincents
836eadc235 replaced DestroyComponent to FinalizeWnd as mirror image of InitializeWnd (fixes issue #1327)
git-svn-id: trunk@8042 -
2005-11-02 21:33:15 +00:00
vincents
3e08307ac5 fixed warnings
git-svn-id: trunk@8014 -
2005-10-31 10:14:51 +00:00
mattias
e4ced904c8 added TControl.AnchoredControls, improved TSplitter for multiple anchored controls, started TAnchoredDockManager
git-svn-id: trunk@8001 -
2005-10-30 12:09:22 +00:00
mattias
017d799736 extended docking to auto add splitters, updated german translation, updated examples
git-svn-id: trunk@7989 -
2005-10-27 20:35:24 +00:00
mattias
45e475f8c0 started more flexible ChildSizing.Layout engine
git-svn-id: trunk@7983 -
2005-10-22 18:46:09 +00:00
mattias
b28e93cbd6 implemented TWinControl.ChildSizing.Layout and ControlsPerLine (still inactive yet). Added an example for it.
git-svn-id: trunk@7959 -
2005-10-12 10:53:35 +00:00
mattias
9fa84faa76 set Id property on revision.inc
git-svn-id: trunk@7898 -
2005-10-02 22:20:54 +00:00
mattias
00692af0ed started ChildSizing auto layouts for TWinControl
git-svn-id: trunk@7882 -
2005-10-02 09:46:55 +00:00
mattias
f6b997f975 implmented BorderSpacing.InnerBorder
git-svn-id: trunk@7877 -
2005-10-01 13:26:37 +00:00
mattias
20f205ab1d published TPanel.Font
git-svn-id: trunk@7871 -
2005-10-01 00:53:07 +00:00
vincents
1592b3d7b3 fixed autosizing of form
git-svn-id: trunk@7845 -
2005-09-28 08:19:18 +00:00
mattias
a5ade72536 cleanup
git-svn-id: trunk@7750 -
2005-09-19 22:16:24 +00:00
mattias
5520bcab6d added mutli passes to TWinControl.AlignControls for interdependent anchored controls
git-svn-id: trunk@7742 -
2005-09-19 19:55:04 +00:00
vincents
78738868e4 fixed compilation with -dCHECK_POSITION
git-svn-id: trunk@7740 -
2005-09-19 15:00:58 +00:00
vincents
654c248547 increased verbosity when using -dVerboseAutoSize
git-svn-id: trunk@7739 -
2005-09-19 11:58:20 +00:00
vincents
e5144c22c8 increased verbosity when using -dVerboseAutoSize
git-svn-id: trunk@7738 -
2005-09-19 11:50:40 +00:00
mattias
d78f4a688c converted environment options to lfm from Darius
git-svn-id: trunk@7726 -
2005-09-17 13:50:59 +00:00
vincents
848e445e9b 64 bit fixes
git-svn-id: trunk@7704 -
2005-09-14 21:32:07 +00:00
vincents
defdd14239 fixed showing contents of TMemo, if it contained text in design mode (bug #1053)
git-svn-id: trunk@7690 -
2005-09-13 20:45:00 +00:00
mattias
0a33790987 fixed updating TScrollBar.Constraints on chaning Kind
git-svn-id: trunk@7682 -
2005-09-12 23:25:32 +00:00
mattias
90c9bc8170 added DisableAutoSizing/EnableAutoSizing, fixed crash on adding a notebook page with autosized controls
git-svn-id: trunk@7675 -
2005-09-12 09:01:51 +00:00
mattias
38ba258a2a moved some autosizing code from TWinControl to TControl
git-svn-id: trunk@7652 -
2005-09-09 10:38:02 +00:00
mattias
36c7e09917 added complete AutoSize update on TWinControl.VisibleChanged
git-svn-id: trunk@7651 -
2005-09-09 09:16:07 +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
micha
0a5eb91be8 make LCL set result to 1 for handled keys
git-svn-id: trunk@7552 -
2005-08-22 22:30:01 +00:00
micha
91d33a67f4 fixed: do not call KeyPress handling for alt-<x> keys (CN_SYSCHAR, WM_SYSCHAR)
fixed: handle tab when pressing the key, not when releasing it (seems platform independent)
fixed: remove tab handling in combobox
fixed: move dialogchar handling to pre-interface, so that widgetset can "ding" when key was not handled

git-svn-id: trunk@7543 -
2005-08-22 12:49: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
mattias
f2f3871b52 fixed reading vaInt16
git-svn-id: trunk@7386 -
2005-07-19 20:58:15 +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
733f344443 added some resourcestrings and autosizing for checklistbox editor
git-svn-id: trunk@7341 -
2005-07-13 17:25:06 +00:00
mattias
cb4bbdbc39 improved autosizing of project inspector
git-svn-id: trunk@7340 -
2005-07-13 07:41:05 +00:00
mattias
d787ff4438 TSplitter can now also work with Align=alNone and AnchorSide
git-svn-id: trunk@7334 -
2005-07-09 16:20:50 +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
8206e93f3f emulating UTF8 keypress before keypress
git-svn-id: trunk@7317 -
2005-07-03 10:21:46 +00:00
mattias
2764f53eb0 improved considering constraints in autosizing
git-svn-id: trunk@7308 -
2005-06-30 20:21:10 +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
mattias
8feeeb020d started add new unit page for package editor
git-svn-id: trunk@7296 -
2005-06-29 22:52:39 +00:00
mattias
5d05f5e62e improved lcl autosizing: reduced overhead by preconsidering anchors
git-svn-id: trunk@7292 -
2005-06-28 22:56:32 +00:00
mattias
54f8a04166 fixed a few fpc over warnings from Andrew Haines
git-svn-id: trunk@7284 -
2005-06-25 15:34:03 +00:00
mattias
f155c43b35 fixed changing BorderSpacing at designtime and borderspacing Align=alTop,alLeft
git-svn-id: trunk@7283 -
2005-06-25 15:30:33 +00:00
mattias
eb7ec65675 moved InvalidatePreferredSize from gtk intf to lcl
git-svn-id: trunk@7279 -
2005-06-25 01:42:38 +00:00
mattias
ff9a280e4c added some anchorside autosizing, activated new generic autosizing, removed old special DoAutoSize methods
git-svn-id: trunk@7278 -
2005-06-24 14:03:33 +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
mattias
a8a5a825ac exit CNChar if key already processed
git-svn-id: trunk@7134 -
2005-05-03 15:40:45 +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
dfbe4b526d fixed small aesthetical editoroptions bugs
git-svn-id: trunk@7089 -
2005-04-19 15:06:30 +00:00
micha
2c4866f41a make method Hide a member of TControl (fixes bug #707)
git-svn-id: trunk@7049 -
2005-04-01 19:10:42 +00:00
micha
fda74205a3 do not call default handler if user handles mousewheel event (from jesusrmx)
git-svn-id: trunk@7035 -
2005-03-29 19:36:22 +00:00
mattias
3062061124 added note on creating handles on destroying
git-svn-id: trunk@6935 -
2005-03-10 09:26:25 +00:00
mattias
d00d0b82ac fixed DefaultRowHeight=18 and various published properties from Jesus
git-svn-id: trunk@6916 -
2005-03-07 23:21:36 +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
marc
6ed8e2ecf4 * Reworked listviews to match new interface
git-svn-id: trunk@6848 -
2005-02-26 17:08:41 +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
39df5fbcac fixed navigation key handling for TButton
git-svn-id: trunk@6816 -
2005-02-19 22:48:23 +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
micha
941684c12d make cn_,wm_ keyup and syskeyup more symmetric with keydown
git-svn-id: trunk@6762 -
2005-02-07 11:04:06 +00:00
micha
b3a1958c43 handle generic shortcuts after widgetset specific shortcuts
git-svn-id: trunk@6757 -
2005-02-06 15:49:49 +00:00
marc
7c3a95c570 * first 64bit changes
git-svn-id: trunk@6752 -
2005-02-05 16:09:52 +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
945205ad3c implemented adding files from directory in project inspector, fixed extrac proc checking overlapping blocks
git-svn-id: trunk@6690 -
2005-01-26 15:45:08 +00:00
mattias
aa3df7b7d6 fixed fpc 1.0.10 compilation
git-svn-id: trunk@6684 -
2005-01-25 09:58:16 +00:00
mattias
f511a12950 added checks for filenames with spaces
git-svn-id: trunk@6675 -
2005-01-24 11:49:42 +00:00
mattias
47ab7292d7 fixed TabList access
git-svn-id: trunk@6671 -
2005-01-23 15:05:23 +00:00
mattias
b03bf7f76a implemented option to reduce designer painting
git-svn-id: trunk@6659 -
2005-01-21 19:18:35 +00:00
micha
780de93e75 cleanup focus; fix tabbing
git-svn-id: trunk@6653 -
2005-01-21 11:52:01 +00:00
mattias
623d8f33d0 implemented streaming of anchorsides
git-svn-id: trunk@6651 -
2005-01-21 10:34:56 +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
mattias
7c5349758d fixed constraints for forms under gtk
git-svn-id: trunk@6629 -
2005-01-17 17:49:28 +00:00
mattias
ed02f73289 improved TLabel autosizing
git-svn-id: trunk@6627 -
2005-01-17 16:42:35 +00:00
mattias
ab66df423f fixed TGtkWidgetSet.ExtSelectClipRGN for DCOrigin
git-svn-id: trunk@6608 -
2005-01-16 11:40:11 +00:00
mattias
3e9c117c08 added desgntime check for TControl.Width/Height for negative values
git-svn-id: trunk@6572 -
2005-01-13 19:52:50 +00:00
micha
9a6dc5eb4a move taborder and tabstop to twincontrol
git-svn-id: trunk@6509 -
2005-01-08 14:23:56 +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
131da415de implemented TControl.AnchorSide
git-svn-id: trunk@6474 -
2005-01-03 22:44:31 +00:00
mattias
2d0f725a44 implemented TTIProgressBar
git-svn-id: trunk@6451 -
2005-01-01 18:56:47 +00:00
mattias
c8759cbc2e updated fpdoc sceletons for lcl and gtk intf
git-svn-id: trunk@6316 -
2004-12-01 16:17:18 +00:00
mattias
2679c1cd94 added SysKey messages to gtk intf and LCL
git-svn-id: trunk@6312 -
2004-11-29 01:12:36 +00:00
mattias
9e27d65951 do not send OnExit/OnEnter during destroy, design or loading
git-svn-id: trunk@6310 -
2004-11-28 01:03:26 +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
micha
b38b7056ba handle "re-entrancy" into handleneeded (via parent); fixes crash upon showing file diff dialog
git-svn-id: trunk@6215 -
2004-11-07 20:44:49 +00:00
mattias
5f8024e0d7 implemented auto sizing: child to parent sizing
git-svn-id: trunk@6206 -
2004-11-05 22:08:53 +00:00
mattias
8960dd3810 implemented preferred size for controls for theme depending AutoSizing
git-svn-id: trunk@6189 -
2004-11-03 14:18:36 +00:00
mattias
089a0e60d6 disabled alClient RemainingClientRect adjust
git-svn-id: trunk@6182 -
2004-10-30 16:24:06 +00:00
mattias
e2a1f69e0e implemented Borderspacing
git-svn-id: trunk@6174 -
2004-10-28 17:56:11 +00:00
mattias
9479dd1716 implemented borderspacing TWinControl.ChildSizing.Left/Top
git-svn-id: trunk@6170 -
2004-10-28 09:30:49 +00:00
micha
f9d650d137 convert LM_CREATE message to interface methods
remove SendMsgToInterface, CNSendMessage and related methods
remove TWidgetSet.IntSendMessage3; all LCL to interface messages have been converted

git-svn-id: trunk@6073 -
2004-09-24 21:34:14 +00:00
micha
8033722b1f convert LM_SETGEOMETRY message to interface method
git-svn-id: trunk@6068 -
2004-09-24 17:20:43 +00:00
mattias
4a997f7523 fixed disable at designtime and bounding TProgressBar position
git-svn-id: trunk@6038 -
2004-09-21 10:05:26 +00:00
micha
07ce1184e8 convert LM_DESTROY message to interface methods
git-svn-id: trunk@6028 -
2004-09-18 12:43:15 +00:00
micha
11ede552a9 convert LM_INVALIDATE message to interface method
git-svn-id: trunk@5999 -
2004-09-14 15:48:28 +00:00
micha
a3fbe1707a convert LM_SETSIZE message to new interface method
git-svn-id: trunk@5986 -
2004-09-12 19:50:36 +00:00
micha
3f5685bc67 convert LM_SETFONT to interface method
git-svn-id: trunk@5978 -
2004-09-12 13:52:26 +00:00
mattias
574cfd8529 implemented very rudimentary TTabControl
git-svn-id: trunk@5958 -
2004-09-10 16:28:51 +00:00
micha
6adb463e6f convert LM_SHOWHIDE message to new intf method TWSWinControl.ShowHide
git-svn-id: trunk@5946 -
2004-09-08 20:47:17 +00:00
micha
e512c8e42a convert LM_SETCOLOR message to new intf method TWSWinControl.SetColor
git-svn-id: trunk@5945 -
2004-09-08 19:09:34 +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
490dbdc645 removed double KeyPress method in synedit
git-svn-id: trunk@5915 -
2004-09-02 17:59:59 +00:00
mattias
0f9985babe fixed changing CNCHar.CharCode when key changed
git-svn-id: trunk@5914 -
2004-09-02 17:42:38 +00:00
mattias
725ee3133d improved double byte char fonts for gtk1, started synedit UTF8 support
git-svn-id: trunk@5906 -
2004-09-02 09:17:00 +00:00
mattias
4cb794d4d7 added OnUTF8KeyPresss
git-svn-id: trunk@5895 -
2004-08-30 16:37:58 +00:00
mattias
56ae7a60a2 fixed focus catch for combobox csDropDownList
git-svn-id: trunk@5890 -
2004-08-30 10:49:20 +00:00