Commit Graph

199 Commits

Author SHA1 Message Date
vincents
7ecd5dbcf0 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7540 -
2005-08-22 11:51:25 +00:00
mattias
88b387c76e published TBitBtn.AutoSize
git-svn-id: trunk@7288 -
2005-06-25 16:38:47 +00:00
mattias
a7b16d2f92 started TButtonActionLink
git-svn-id: trunk@7125 -
2005-05-02 09:17:08 +00:00
micha
2bfef4ae8e implement/fix button/label shortcut accelchar handling
git-svn-id: trunk@7108 -
2005-04-27 12:37:28 +00:00
micha
8355126972 update speedbutton state if Enabled changed (fixes bug #735)
git-svn-id: trunk@7100 -
2005-04-24 13:42:04 +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
mattias
a4f497026b fixed ambigious with ambiguous
git-svn-id: trunk@7011 -
2005-03-23 10:45:06 +00:00
marc
cc648ec617 * Delphi compat, TButton.Click is public
git-svn-id: trunk@6978 -
2005-03-18 01:18:44 +00:00
mattias
0b4faac301 various Delphi compatibilities from C Western
git-svn-id: trunk@6910 -
2005-03-07 00:52:51 +00:00
mattias
7d8b514be9 moved LCL navigation key handling to key up, so that interface has the chance to handle keys
git-svn-id: trunk@6815 -
2005-02-19 21:54:08 +00:00
mattias
2329bedca6 published TButton.OnMouseEnter/Leave, added lcl test for single button
git-svn-id: trunk@6810 -
2005-02-19 17:52:56 +00:00
mattias
f91a0b7b97 fixed loading TSpeedButton.Down from Yoyong
git-svn-id: trunk@6775 -
2005-02-09 11:25:19 +00:00
vincents
8e64bd00ae fixed fpc 1.0.x compilation
git-svn-id: trunk@6773 -
2005-02-08 21:46:23 +00:00
mattias
87c170a682 fixed several dialogs to react on esacpe
git-svn-id: trunk@6582 -
2005-01-14 00:27:05 +00:00
micha
4d130c0508 implement transparency (actually, non-transparency)
git-svn-id: trunk@6481 -
2005-01-04 14:23:37 +00:00
mattias
c49518c55c published BorderSpacing for many controls
git-svn-id: trunk@6429 -
2004-12-27 19:40:59 +00:00
mattias
d9f87ef6eb updatepofiles is now case sensitive,
replaced many places, where Application was needlessly Owner
updated po files, started Configure IDE Install Package dialog,
implemented removing double file package links

git-svn-id: trunk@6388 -
2004-12-18 10:20:22 +00:00
mattias
b00a14bfc5 published TSpeedButton.OnDoubleClick
git-svn-id: trunk@6369 -
2004-12-12 23:40:55 +00:00
mattias
d5177800f0 codeexplorer: using lower recursive depth
git-svn-id: trunk@6139 -
2004-10-15 13:28:22 +00:00
mattias
8f32b28a3f calling updating notebook tab after realize, needed for close btns
git-svn-id: trunk@6138 -
2004-10-15 12:04:09 +00:00
micha
4c7a853aca convert LM_SHORTCUT message to interface methods
git-svn-id: trunk@6018 -
2004-09-17 10:56:26 +00:00
mattias
1828741e37 changed TCustomXXX published sections to public
git-svn-id: trunk@5950 -
2004-09-09 09:18:53 +00:00
mattias
aa117a3f6c moved navigation key handling to TApplication and added options for custom navigation
git-svn-id: trunk@5862 -
2004-08-26 19:09:34 +00:00
mattias
8fb1867a6b removed obsolete unit vclglobals
git-svn-id: trunk@5814 -
2004-08-18 09:31:21 +00:00
mattias
b73d8747d1 added texttolols.pas and published TBitBtn.Caption
git-svn-id: trunk@5685 -
2004-07-16 10:16:32 +00:00
mattias
cd9a3b8c9f added TCustomButton, TCustomBitBtn, TCustomSpeedButton
git-svn-id: trunk@5682 -
2004-07-15 10:43:39 +00:00
mattias
2182064a3a fixed mouse enter/leave for TSpeedButton
git-svn-id: trunk@5676 -
2004-07-13 17:47:15 +00:00
mattias
2a4f175ec4 fixed lcl package unit file name checklist.pas
git-svn-id: trunk@5675 -
2004-07-13 10:34:15 +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
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
730a67c8e1 fixed button return key
git-svn-id: trunk@5500 -
2004-05-22 14:35:33 +00:00
marc
ae6aebdfa7 * Started to move TListview to the WS interface
git-svn-id: trunk@5483 -
2004-05-18 23:10:41 +00:00
marc
04c92db6be + Added WSBitBtn interface
+ Implemented WSBitBtn interface for gtk

git-svn-id: trunk@5480 -
2004-05-16 23:24:41 +00:00
marc
05f9bbe917 * Applied patch from Ladislav Michl
* Changed the way TControl.Text is resolved
* Added setting of text to TWSWinControl

git-svn-id: trunk@5413 -
2004-04-18 23:55:39 +00:00
marc
6fa23e9181 * Moved the implementation of (GTK)ButtonCreateHandle to the new
(GTK)WSButton class

git-svn-id: trunk@5329 -
2004-03-19 00:03:15 +00:00
mattias
38f2d182a4 added TBitBtn.Margin
git-svn-id: trunk@5315 -
2004-03-17 13:10:01 +00:00
marc
de8f27af5b * Interface CreateComponent splitup
* Implemented CreateButtonHandle on GTK interface
  on win32 interface it still needs to be done
* Changed ApiWizz to support multilines and more interfaces

git-svn-id: trunk@5236 -
2004-02-27 00:42:41 +00:00
mattias
add76d4e8b completed new TToolBar
git-svn-id: trunk@5226 -
2004-02-23 18:24:38 +00:00
mattias
39a7a94021 added child-parent checks
git-svn-id: trunk@5218 -
2004-02-22 10:43:20 +00:00
mattias
c1592f9af8 TSpeedButton now uses MaskBlt
git-svn-id: trunk@5184 -
2004-02-10 00:05:03 +00:00
mattias
b18c387c58 fixed saving custom TBitBtn kind
git-svn-id: trunk@5180 -
2004-02-07 20:25:37 +00:00
mattias
31dd1da1b8 added TSpeedButton.Action and TBitBtn.Action
git-svn-id: trunk@5141 -
2004-02-02 18:01:31 +00:00
mattias
e315dc4aab constraints and aligning now work together
git-svn-id: trunk@5134 -
2004-02-02 11:07:43 +00:00
micha
80997fee5d enable tabstops for controls; implement tabstops in win32 intf
git-svn-id: trunk@5082 -
2004-01-21 10:19:16 +00:00
mattias
9860db873d added ambigious unit check for IDE
git-svn-id: trunk@4804 -
2003-11-15 13:07:09 +00:00
mattias
24a046fcf6 prepared image sharing
git-svn-id: trunk@4724 -
2003-10-22 18:43:23 +00:00
mattias
13349a85c9 fix for speedbutton from Micha
git-svn-id: trunk@4682 -
2003-09-27 09:49:30 +00:00
mattias
5e5c1122a7 renamed LCLLinux to LCLIntf
git-svn-id: trunk@4637 -
2003-09-18 09:21:03 +00:00
ajgenius
069437bc6d make speed button FState Protected, not private. needed for descendents,
git-svn-id: trunk@4617 -
2003-09-13 15:43:05 +00:00
mattias
01a8eab6d8 fixes for debugging lazarus
git-svn-id: trunk@3428 -
2002-10-01 15:45:57 +00:00
mattias
ce70778667 fixed bitbtn image for NoToAll
git-svn-id: trunk@2663 -
2002-08-18 00:03:45 +00:00
mattias
8ab6a60b7e many clipping fixes
git-svn-id: trunk@2662 -
2002-08-17 23:41:35 +00:00
mattias
a32df47e0a fixed taborder=0, implemented TabOrder Editor
git-svn-id: trunk@2656 -
2002-08-17 23:41:33 +00:00
mattias
ff27e1d010 moved TColorButton to dialogs.pp
git-svn-id: trunk@2639 -
2002-08-17 23:41:32 +00:00
mattias
2f268b9eca fixed TUpDown and added handler lists for TControl
git-svn-id: trunk@2610 -
2002-08-17 23:41:31 +00:00
mattias
a38e185a19 fixed popupmenu for component palette
git-svn-id: trunk@2600 -
2002-08-17 23:41:30 +00:00
mattias
835bfad5d1 implemented broken dependencies dialog
git-svn-id: trunk@2565 -
2002-08-17 23:41:29 +00:00
mattias
50135420e7 fixed registration for fpc 1.0.x
git-svn-id: trunk@2555 -
2002-08-17 23:41:28 +00:00
mattias
79f0b873bd started package registration
git-svn-id: trunk@2527 -
2002-08-17 23:41:27 +00:00
mattias
16b307ddad fixed default font
git-svn-id: trunk@2508 -
2002-08-17 23:41:26 +00:00
mattias
ee3a811abb make resource string dialog nearly complete
git-svn-id: trunk@2501 -
2002-08-17 23:41:25 +00:00
mattias
a7841a6f56 lcl localization from Olivier
git-svn-id: trunk@2468 -
2002-08-17 23:41:24 +00:00
mattias
898095f757 fixed message
git-svn-id: trunk@2451 -
2002-08-17 23:41:23 +00:00
mattias
182bf42345 reduced speedbutton invalidates, added TCanvas.Frame
git-svn-id: trunk@2432 -
2002-08-17 23:41:22 +00:00
mattias
604a18667b Button.Default now sets focus
git-svn-id: trunk@2418 -
2002-08-17 23:41:21 +00:00
lazarus
c606dd3089 MG: broke minor circles
git-svn-id: trunk@2402 -
2002-08-17 23:41:20 +00:00
lazarus
95756401bd MG: added inputdialog.inc
git-svn-id: trunk@2388 -
2002-08-17 23:41:19 +00:00
lazarus
18feeaef49 AJ: added LoadStockPixmap routine & minor fixes to/for GNOMEInt
git-svn-id: trunk@2367 -
2002-08-17 23:41:18 +00:00
lazarus
0eb83e02b1 AJ: Initial TUpDown, minor property additions to improve reading Delphi created forms.
git-svn-id: trunk@2348 -
2002-08-17 23:41:17 +00:00
lazarus
4695d0049b MWE: Applied patch from "Andrew Johnson" <aj_genius@hotmail.com>
Here is the run down of what it includes -

 -Vasily Volchenko's Updated Russian Localizations

 -improvements to GTK Styles/SysColors
 -initial GTK Palette code - (untested, and for now useless)

 -Hint Windows and Modal dialogs now try to stay transient to
  the main program form, aka they stay on top of the main form
  and usually minimize/maximize with it.

 -fixes to Form BorderStyle code(tool windows needed a border)

 -fixes DrawFrameControl DFCS_BUTTONPUSH to match Win32 better
  when flat

 -fixes DrawFrameControl DFCS_BUTTONCHECK to match Win32 better
  and to match GTK theme better. It works most of the time now,
  but some themes, noteably Default, don't work.

 -fixes bug in Bitmap code which broke compiling in NoGDKPixbuf
  mode.

 -misc other cleanups/ fixes in gtk interface

 -speedbutton's should now draw correctly when flat in Win32

 -I have included an experimental new CheckBox(disabled by
  default) which has initial support for cbGrayed(Tri-State),
  and WordWrap, and misc other improvements. It is not done, it
  is mostly a quick hack to test DrawFrameControl
  DFCS_BUTTONCHECK, however it offers many improvements which
  can be seen in cbsCheck/cbsCrissCross (aka non-themed) state.

 -fixes Message Dialogs to more accurately determine
  button Spacing/Size, and Label Spacing/Size based on current
  System font.
 -fixes MessageDlgPos, & ShowMessagePos in Dialogs
 -adds InputQuery & InputBox to Dialogs

 -re-arranges & somewhat re-designs Control Tabbing, it now
  partially works - wrapping around doesn't work, and
  subcontrols(Panels & Children, etc) don't work. TabOrder now
  works to an extent. I am not sure what is wrong with my code,
  based on my other tests at least wrapping and TabOrder SHOULD
  work properly, but.. Anyone want to try and fix?

 -SynEdit(Code Editor) now changes mouse cursor to match
  position(aka over scrollbar/gutter vs over text edit)

 -adds a TRegion property to Graphics.pp, and Canvas. Once I
  figure out how to handle complex regions(aka polygons) data
  properly I will add Region functions to the canvas itself
  (SetClipRect, intersectClipRect etc.)

 -BitBtn now has a Stored flag on Glyph so it doesn't store to
  lfm/lrs if Glyph is Empty, or if Glyph is not bkCustom(aka
  bkOk, bkCancel, etc.) This should fix most crashes with older
  GDKPixbuf libs.

git-svn-id: trunk@2333 -
2002-08-17 23:41:16 +00:00
lazarus
57a49dfd6b MG: removed the 1x1 bitmap from TBitBtn
git-svn-id: trunk@2316 -
2002-08-17 23:41:15 +00:00
lazarus
9ac360985d MG: started TCollectionPropertyEditor
git-svn-id: trunk@2305 -
2002-08-17 23:41:14 +00:00
lazarus
bdba19a2ad MG: added show pages menu to TNotebookcomponenteditor
git-svn-id: trunk@2292 -
2002-08-17 23:41:13 +00:00
lazarus
8224ea0b03 MG: improved streaming error handling
git-svn-id: trunk@2278 -
2002-08-17 23:41:12 +00:00
lazarus
b8163b27e9 Added shortcut keys to labels
Support for alphabetically sorting the properties
Standardize message and add shortcuts ala Kylix
Published BorderStyle, unpublished BorderWidth
ShowAccelChar and FocusControl
ShowAccelChar and FocusControl for TLabel, escaped ampersands now work.

git-svn-id: trunk@2259 -
2002-08-17 23:41:11 +00:00
lazarus
7a0f1ab4b9 MG: image support, TScrollBox, and many other things from Andrew
git-svn-id: trunk@2246 -
2002-08-17 23:41:10 +00:00
lazarus
22502463ab MG: double, triple and quad clicks now works
git-svn-id: trunk@2233 -
2002-08-17 23:41:09 +00:00
lazarus
ed32a52658 Use comboboxes. Use history. Prettify the dialog. Preselect text on show.
Make the findreplace a dialog. Thus removing resiying code (handled by Anchors now anyway).
Make Anchors work again and publish them for various controls.
SelStart and Co. for TEdit, SelectAll procedure for TComboBox and TEdit.
Clean up and fix some bugs for TComboBox, plus selection stuff.

git-svn-id: trunk@2214 -
2002-08-17 23:41:08 +00:00
lazarus
3183834fce MG: activated environment opts in debugger
git-svn-id: trunk@2209 -
2002-08-17 23:41:07 +00:00
lazarus
9b48e4a3cd MG: ShortCut support for buttons from Andrew
git-svn-id: trunk@2199 -
2002-08-17 23:41:06 +00:00
lazarus
45d6eae899 MG: fixed speedbutton in designmode
git-svn-id: trunk@2181 -
2002-08-17 23:41:05 +00:00
lazarus
580ed15e88 MG: improved Clipping, TextOut, Polygon functions
git-svn-id: trunk@2175 -
2002-08-17 23:41:04 +00:00
lazarus
ecfc86ab66 MG: changed license to LGPL
git-svn-id: trunk@1667 -
2002-05-10 06:05:58 +00:00
lazarus
852eb5a81f GTK Cleanup
Shane

git-svn-id: trunk@1545 -
2002-03-25 17:59:20 +00:00
lazarus
8d718a011d Improved TSpeedButton (Glyph, Spacing, Margin, drawing)
Added PageCount to TNotebook
Optimized component selection buttons a bit.

git-svn-id: trunk@1456 -
2002-02-24 20:51:24 +00:00
lazarus
90cf59a11f MG: fixed compiler warnings and asking to create non existing files
git-svn-id: trunk@667 -
2002-02-06 08:58:29 +00:00
lazarus
c9e180acac TPanel implemented.
Basic graphic primitives split into GraphType package, so that we can
reference it from interface (GTK, Win32) units.
New Frame3d canvas method that uses native (themed) drawing (GTK only).
New overloaded Canvas.TextRect method.
LCLLinux and Graphics was split, so a bunch of files had to be modified.

git-svn-id: trunk@653 -
2002-02-03 00:24:02 +00:00
lazarus
9c0893ff5e MG: added clicked event to TButton, MessageDialog reacts to return key
git-svn-id: trunk@351 -
2001-10-16 10:51:10 +00:00
lazarus
d175a3aca2 MG: small bugfixes and less notes
git-svn-id: trunk@288 -
2001-06-14 14:57:59 +00:00
lazarus
fad535a99c MG: bugfixes
git-svn-id: trunk@286 -
2001-06-06 12:30:41 +00:00
lazarus
176191f0cf Started taking KeyDown messages in TDesigner
Shane

git-svn-id: trunk@108 -
2001-01-09 21:06:06 +00:00
lazarus
2f4f81f07e The Speedbutton now has a numglyphs setting.
I started the TStringPropertyEditor

git-svn-id: trunk@91 -
2001-01-03 18:44:54 +00:00
lazarus
62cc3bcd41 Modified Gloabal so TDesignForm isn't included anymore.
Shane

git-svn-id: trunk@56 -
2000-12-01 18:12:40 +00:00
lazarus
3952fe23db changed the TCOmponentInterface SetPropByName. It works for a few properties, but not all.
Shane

git-svn-id: trunk@55 -
2000-12-01 15:50:39 +00:00
lazarus
fe6058b7fc New Object Inspector code
Shane

git-svn-id: trunk@52 -
2000-11-29 21:22:35 +00:00
lazarus
22127cbbef added OnMouseEnter, OnMouseLeave property (changes by chris, committed by stoppok)
git-svn-id: trunk@7 -
2000-07-16 12:44:31 +00:00
michael
f088b13a3e + Initial import
git-svn-id: trunk@2 -
2000-07-13 10:28:31 +00:00