zeljko
3e88452bc4
LCL: fixed visibility of overrided KeyUpAfterInterface in TCustomComboBox.
...
git-svn-id: trunk@35216 -
2012-02-07 11:40:41 +00:00
juha
9adcf1b232
LCL: Register some new Delphi properties to be skipped by form loader. Issue #20273
...
git-svn-id: trunk@34800 -
2012-01-19 18:26:48 +00:00
juha
e54b3afbc7
LCL: formatting
...
git-svn-id: trunk@33904 -
2011-12-02 08:40:30 +00:00
juha
bf07765fd5
LCL: In TComboBox, after pressing Enter call EditingDone. Issue #20782
...
git-svn-id: trunk@33889 -
2011-12-01 15:04:28 +00:00
sekelsenmat
5774ecec7d
customdrawn: Implements TButton clicking, implements InvalidateRect in X11
...
git-svn-id: trunk@33870 -
2011-11-30 14:05:01 +00:00
juha
260ece9f1b
LCL: Make TCustomComboBox.AddItem virtual. Issue #20033
...
git-svn-id: trunk@33100 -
2011-10-26 16:53:48 +00:00
zeljko
1ad62b1229
LCL: TToggleBox published properties: BidiMode, Contstraints, Color, Font, ParentBidiMode, ParentFont.
...
git-svn-id: trunk@31331 -
2011-06-22 12:22:58 +00:00
paul
8a3c07043c
lcl: add TCustomListBox.AddItem() method
...
git-svn-id: trunk@30968 -
2011-05-30 06:31:01 +00:00
paul
aecfd2f738
lcl: implement TListBox.ScrollWidth:
...
- win32, wince: set/get scrollwidth using LB_SETHORIZONTALEXTENT/LB_GETHORIZONTALEXTENT (issue #0018912 )
- qt, gtk2: don't show listbox horizontal scrollbar by default. show it only when scrollwidth > content area
git-svn-id: trunk@30138 -
2011-04-02 17:30:44 +00:00
paul
dfc3dc15df
lcl, win32: move ListBox, CheckListBox styles into CreateParams of LCL classes
...
git-svn-id: trunk@29914 -
2011-03-19 16:40:11 +00:00
juha
4e95f6a390
LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
...
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
paul
fa4ada16f4
lcl: add lcl_defines include file which can be used for common lcl defines (like UseCLDefault)
...
git-svn-id: trunk@28343 -
2010-11-19 10:46:12 +00:00
paul
f09ed2fb3c
lcl: add TStaticText.Transparent property for Delphi compatibility
...
win32: implement TStaticText.Transparent same way as groupbox transparency
git-svn-id: trunk@28151 -
2010-11-08 09:07:40 +00:00
paul
d35e85a332
win32: restore wm_erasebkgnd default handler after clDefault experiments
...
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls
git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
blikblum
bb7a0731ed
lcl: uncheck radiobutton siblings when handle not allocated, bug #17281
...
git-svn-id: trunk@27208 -
2010-08-27 01:48:32 +00:00
blikblum
4a9091c3a2
lcl: don't publish TRadioButton State and AllowGrayed properties: Delphi compatible.
...
separate TCustomCheckBox/TCheckBox constructors to avoid double setting of AutoSize/TabStop in TToggleBox/TRadioButton
git-svn-id: trunk@27055 -
2010-08-10 20:12:40 +00:00
blikblum
1aa796b724
lcl: remove workarounds to recursive LM_CHANGE calls, since it was fixed fixed in rev 27050 #8d7d250608 and 27051:
...
- don't toggle TRadioButton siblings state since this is done by widgetset;
- remove FLastCheckedOnChange;
- call OnChange only if State was really changed by widgetset
- Dont set Checked property in Click
Part of 0017139 and 0017104
git-svn-id: trunk@27053 -
2010-08-10 17:02:07 +00:00
paul
d5c10dfaa2
lcl: don't trigger the onClick event for the unchecked radio buttons (bug #0014989 )
...
git-svn-id: trunk@26761 -
2010-07-21 08:03:19 +00:00
mattias
22a192ff6e
LCL: implemented preferredsize for TScrollBar, bug #16855
...
git-svn-id: trunk@26635 -
2010-07-14 07:37:30 +00:00
mattias
f94941a0de
LCL: TEdit: handling VK_RETURN after interface, bug #16430
...
git-svn-id: trunk@26592 -
2010-07-11 09:23:57 +00:00
zeljko
2b886c466e
LCL: TCustomEdit: when Text property is assigned Modified should be setted up to False according to embarcadero docs.
...
git-svn-id: trunk@26370 -
2010-06-30 21:09:46 +00:00
paul
9094e47382
lcl: move combobox style from win32 to LCL createparams, override unsupported styles in wince
...
git-svn-id: trunk@25793 -
2010-05-31 06:22:37 +00:00
paul
ce91a6a9f0
lcl,win32,wince: move edit control flags to createparams
...
git-svn-id: trunk@25476 -
2010-05-17 07:34:07 +00:00
paul
b44f635f4a
win32: remove isGroupBox flag
...
git-svn-id: trunk@25474 -
2010-05-17 01:57:14 +00:00
paul
7686d846ed
lcl, win32, wince: move button controls flags into CreateParams methods
...
git-svn-id: trunk@25473 -
2010-05-17 01:10:18 +00:00
paul
8b1b85e16d
lcl: move button flags to TCustomButton.CreateParams
...
git-svn-id: trunk@25398 -
2010-05-14 09:16:51 +00:00
paul
622f0ba392
lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
...
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
paul
51bab0e62e
lcl: change TBevel and TScrollBar code to use GetControlDefaultSize method and SetInitialBounds as other controls do
...
git-svn-id: trunk@25184 -
2010-05-04 14:20:18 +00:00
mattias
173c4aa8b4
LCL: fix owner draw of TListBox,TComboBox for BiDi, bug #16196
...
git-svn-id: trunk@25176 -
2010-05-04 10:13:22 +00:00
paul
a47badd924
lcl: fix TLabel autosize when ShowAccelChars = False and label contains ampersands (based on patch of Bart) (bug #0015731 )
...
git-svn-id: trunk@24944 -
2010-04-26 02:45:38 +00:00
mattias
ce9a911825
LCL: TCustomLabel: AdjustSize if WordWrap and Width changed
...
git-svn-id: trunk@24917 -
2010-04-25 14:56:15 +00:00
mattias
d1377d95cb
LCL: TCustomLabel: fixed measuring size on wordwrap
...
git-svn-id: trunk@24899 -
2010-04-24 22:36:56 +00:00
paul
326a55c908
lcl: apply patch of Juha Manninen to publish ShowHint property for TStaticText (issue #0016258 )
...
git-svn-id: trunk@24614 -
2010-04-14 00:45:50 +00:00
jesus
e3e34bcf3d
LCL, published memo and dbmemo charcase property, issue #15804
...
git-svn-id: trunk@23735 -
2010-02-19 02:11:19 +00:00
paul
076e4e76dd
lcl: publish TRadioButton.OnKeyDown, OnKeyUp, OnKeyPress events
...
git-svn-id: trunk@23561 -
2010-01-26 06:56:11 +00:00
luiz
ab2a0ee728
lcl/win32: move the TEdit.MaxLength check from lcl to win32 intf. Gtk2 and Qt has built in check and truncates text automatically
...
git-svn-id: trunk@23243 -
2009-12-23 16:03:12 +00:00
paul
964dd239b9
lcl: add TCustomEdit.HideSelection, publish it for TEdit, TMemo (requested by Marco van de Voort)
...
git-svn-id: trunk@22729 -
2009-11-24 03:29:11 +00:00
paul
f8a182a252
lcl: publish TMaskEdit.Align
...
git-svn-id: trunk@22711 -
2009-11-23 03:18:08 +00:00
paul
fe4756c8f4
lcl: move TCustomComobox.MeasureItem from public to protected
...
git-svn-id: trunk@22128 -
2009-10-13 07:27:20 +00:00
paul
38826ee313
lcl: set AutoSelect to true by default for TEdit, TCombobox and descendants, disable AutoSelect for TCustomMemo
...
git-svn-id: trunk@21831 -
2009-09-23 10:19:12 +00:00
mattias
fea2aafd1f
LCL: TCustomEdit.SetCaretPos: do not call widgetset if no handle is allocated
...
git-svn-id: trunk@21803 -
2009-09-21 12:49:07 +00:00
paul
0ba7f0ed94
lcl: TCustomMemo: cleanup, formatting, add DEBUG_MEMO conditional code
...
git-svn-id: trunk@21778 -
2009-09-20 05:09:37 +00:00
paul
a095fdff62
lcl: remove WordWrapIsStored methods since they are not needed anymore (fpc bug was fixed long ago)
...
git-svn-id: trunk@21765 -
2009-09-19 09:15:16 +00:00
paul
2f6201ed2e
lcl: publish OnMouseEnter, OnMouseLeave for some controls (patch of Zeljan, issue #0014575 )
...
git-svn-id: trunk@21683 -
2009-09-13 11:31:57 +00:00
mattias
5f5e0ff648
LCL: renamed TBaseOwnerDrawState to TOwnerDrawState
...
git-svn-id: trunk@21657 -
2009-09-11 22:05:53 +00:00
paul
b66b9e6cb4
lcl: prevent setbounds infinite loop (bug #0014474 )
...
git-svn-id: trunk@21521 -
2009-09-01 14:37:48 +00:00
paul
783001dd2d
lcl: allow resize of label width if both AutoSize and WordWrap are true, better handle WordWrap change + formatting (fixes issue #0014362 )
...
git-svn-id: trunk@21486 -
2009-08-30 17:22:56 +00:00
sekelsenmat
9d1b80451a
Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
...
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
vincents
8b7dbf4939
LCL: moved the creation of interface specific TCustomMemo.Lines from CreateHandle to InitializeWnd, so that Lines are interfaces specific in TCustomEdit.CreateWnd, a proper fix for r21115 #2a16a46258
...
git-svn-id: trunk@21116 -
2009-08-06 10:21:33 +00:00
paul
cffb63915e
lcl: fix sibling radio buttons check state on unchecked radio button click (bug #0013939 )
...
git-svn-id: trunk@20564 -
2009-06-10 03:05:32 +00:00