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
paul
663367c26a
lcl: update cancel and default form controls on button handle creation (fixes bug #0013310 )
...
git-svn-id: trunk@20254 -
2009-05-27 00:40:55 +00:00
paul
f8c5dc7b12
lcl: set some defaults for TCombobox properties (by Alexander S. Klenin, issue #0013772 )
...
git-svn-id: trunk@20103 -
2009-05-21 12:20:11 +00:00
jesus
84cead9009
LCL, custom handling of checkbox states (windows, this enables the use of allowgrayed without cbGrayed state, specially useful for dbcheckbox), fix cbGrayed state under gtk2
...
git-svn-id: trunk@20012 -
2009-05-17 17:00:47 +00:00
paul
d7b50a4418
lcl: change TCustomEdit.AutoSize from False to True by default. This is 1) logical and fixes many visual problems in dialogs on platforms <> windows, 2) delphi compatible. All inherited controls except TMemo also affected by this change: TEdit, TSpinEdit, TMaskEdit, TLabeledEdit, ...
...
git-svn-id: trunk@19894 -
2009-05-10 05:19:29 +00:00
jesus
a849d36c9a
LCL, changing AllowGrayed at runtime has no effect (windows), fixed
...
git-svn-id: trunk@19892 -
2009-05-10 03:34:08 +00:00
paul
f02c53c71c
merge lcl-smartlink branch:
...
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line
lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line
changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line
fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line
Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line
Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line
merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line
cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line
finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line
register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line
remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line
Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line
Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line
Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line
Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line
moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line
corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line
removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line
qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line
Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line
wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
mattias
1fca13596b
LCL: TComboBoxStyle: added comments
...
git-svn-id: trunk@19274 -
2009-04-07 12:36:06 +00:00
paul
eb967fd0a0
lcl: revert part of r19151 #ac0184724f, another trial to fix double raising of OnChange event for TEdit (fixes bug #0013102 , bug #0013432 )
...
git-svn-id: trunk@19176 -
2009-04-01 08:55:54 +00:00
paul
9366c72035
lcl: publish DragKind property for some standard controls (part of issue #0013427 )
...
git-svn-id: trunk@19167 -
2009-03-31 05:41:53 +00:00
paul
ac0184724f
gtk, gtk2, win32: don't call OnChange twice when we change TEdit text (bug #0013102 )
...
gtk2: don't call OnChange more than one time when we change TMemo text
git-svn-id: trunk@19151 -
2009-03-29 09:06:48 +00:00
paul
d8ead49984
lcl: publish TEdit.BorderStyle (issue #0013339 )
...
git-svn-id: trunk@19015 -
2009-03-18 04:50:21 +00:00
paul
d9d35d2eaf
lcl: publish ParentColor property for TEdit and TMemo
...
git-svn-id: trunk@18915 -
2009-03-08 07:42:51 +00:00
mattias
59cea6c0ba
LCL: TMemo using TTextStrings
...
git-svn-id: trunk@18820 -
2009-02-24 18:24:40 +00:00
paul
fbfc224459
lcl: Color property storing (fixes bug #0012322 )
...
- change default ColorIsStored method. It was written probably to override old fpc streaming bug. Now it only checks for ParentColor property. If control want to skip some color storing then simple Default value need to be filled.
- remove TButtonControl.ColorIsStored, TStatusBar.ColorIsStored. Default value for color property do this job
- introduce new function IsColorDefault(AControl: TControl): Boolean; which checks both ParentColor and default color value
- gtk: use IsColorDefault instead of IsColorStored
git-svn-id: trunk@18744 -
2009-02-18 08:40:13 +00:00
mattias
bcdf9ffd72
LCL: TCustomMemo: added switch -dEnableMemoTextStrings to use TTextStrings in TCustomMemo
...
git-svn-id: trunk@18711 -
2009-02-16 16:29:48 +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
14a26422f9
lcl: formatting
...
git-svn-id: trunk@18552 -
2009-02-04 08:03:37 +00:00
paul
a237ac08d0
lcl: publish hint properties for TMemo
...
git-svn-id: trunk@18532 -
2009-02-02 08:38:17 +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
75fcdb8abe
lcl: initial support for arrow keys, handle CM_WANTSPECIALKEY for tabs and arrows
...
git-svn-id: trunk@18461 -
2009-01-27 09:05:42 +00:00
paul
5980abdcec
lcl: use correct method to restore Default and Cancel of TCustomButton (Loaded instead of SetParent), remove TButtonPanel.RestoreCancel workaround
...
git-svn-id: trunk@18460 -
2009-01-27 06:39:18 +00:00
paul
6eccca7842
lcl: button changes
...
- set TabStop = Checked on radio button checked change (delphi compatibility)
- move LM_CLICKED handler from TCustomButton to TButtonControl
- change TRadioGroup TabStop back to false
win32: pass LM_CLICKED for TButtonControls, remove unneeded code
(fixes #0012855 , #0012689 ?)
git-svn-id: trunk@18426 -
2009-01-24 19:38:02 +00:00
paul
9635bf9ba8
lcl: fix active/default button handling
...
- if we get LM_KILLFOCUS and new focus window = message window then skip this message (fixes bug #0010731 )
- if we recieve LM_SETFOCUS then change active/default state
- refactoring of current implementation
git-svn-id: trunk@18408 -
2009-01-24 12:19:08 +00:00
paul
aa6305c562
lcl: implement TEdit.Alignment (patch of Zeljan with small mine modifications)
...
git-svn-id: trunk@18139 -
2009-01-05 18:22:41 +00:00
paul
a256b569c8
lcl: set default value for TListBox.TopIndex
...
git-svn-id: trunk@18095 -
2009-01-04 09:31:48 +00:00
paul
c94b96b14e
lcl: publish TRadioButton.Color and TRadioButton.ParentColor
...
git-svn-id: trunk@18032 -
2009-01-02 08:04:59 +00:00
paul
ff7e66f216
lcl: publish OnMouseEnter, OnMouseLeave for groupboxes
...
git-svn-id: trunk@18013 -
2009-01-01 17:43:55 +00:00
paul
d9491a4528
lcl: fix header
...
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
3fd6cf6722
lcl: set correct default value for BorderStyle property for TCustomEdit descendants, publish TMemo.BorderStyle (it works on win32, qt and gtk2)
...
git-svn-id: trunk@17973 -
2008-12-29 06:48:23 +00:00
paul
98dbf8f94c
lcl,ide: rename RegisterRemovedProperty to RegisterPropertyToSkip, ...
...
git-svn-id: trunk@17792 -
2008-12-11 01:38:39 +00:00
paul
5a7173ef9a
lcl: remove TButtonConrol.UseOnChange, register it as a removed property
...
others: remove various placed where we used UseOnChage property
git-svn-id: trunk@17740 -
2008-12-09 04:24:54 +00:00
paul
3d0838c488
lcl: start removal of TButtonControl.UseOnChange
...
git-svn-id: trunk@17738 -
2008-12-09 02:29:24 +00:00
paul
6e2e2c1ff2
lcl: update visibility of methods to prevent compiler warnings
...
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
- move some descendants methods from lower visibility to higher
- fix use of protected KeyDown, Paint inside few ide units
git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
paul
177d9aa195
lcl: set defaults to some properties of standard controls
...
git-svn-id: trunk@17544 -
2008-11-23 12:26:40 +00:00
paul
5c300b1051
lcl: set some defaults for TComboBox and TLabel properties
...
git-svn-id: trunk@17508 -
2008-11-22 10:51:19 +00:00
paul
25e9426c10
lcl: MaxLength redo:
...
- MaxLength = 0 => no limit, MaxLength > 0 => limit. Default = 0 for memo, combo and edit
- fix gtk, gtk2 code where MaxLength = -1 was used for unlimited length in Memo (why? combo and edit used 0)
- fix qt combobox SetLength (was occasional forgotten?)
- cleanup
git-svn-id: trunk@17365 -
2008-11-13 06:42:37 +00:00
paul
3ca0b32173
lcl: TCustomListBox.ParentColor = False by default
...
git-svn-id: trunk@17329 -
2008-11-11 03:57:29 +00:00
paul
bb70dad400
lcl: publish TListBox.ParentColor property
...
git-svn-id: trunk@17328 -
2008-11-11 03:54:02 +00:00
paul
898d951e30
lcl: introduce TListBox.GetItemAtXY, TListBox.GetItemAtY exists for compatibility with existing projects
...
interfaces: replace TWSCustomListBox.GetIndexAtY by TWSCustomListBox.GetIndexAtXY
win32, wince, qt, carbon: use X coord too
(based on patch of Yuriy Yeroshkin, #0011923 )
git-svn-id: trunk@16801 -
2008-09-30 02:15:17 +00:00
paul
4cd05af849
lcl: remove old custom drawn checkbox code.
...
git-svn-id: trunk@16563 -
2008-09-12 06:40:07 +00:00
paul
c20e56842f
lcl: store Label color if it differs from clNone without regards to ParentColor
...
git-svn-id: trunk@16537 -
2008-09-11 02:57:11 +00:00
paul
3374c666b8
lcl: publish OnUTF8KeyPress
...
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +00:00
paul
b5789f4598
lcl: change Height to AHeight in TMeasureItemEvent to resolve conflict with TForm.Height in mode objfpc
...
git-svn-id: trunk@16492 -
2008-09-09 00:29:55 +00:00
mattias
2b3fb23528
LCL: TComboBox: clean up and added TCustomComboBox.UTF8KeyPress override for lower/uppercase, LCL: nicer parameter names
...
git-svn-id: trunk@16462 -
2008-09-07 11:09:00 +00:00
mattias
61bf784792
added comments
...
git-svn-id: trunk@16457 -
2008-09-06 17:10:44 +00:00
mattias
295c98508c
LCL: fixed combobox.MaxLength default value 0
...
git-svn-id: trunk@16316 -
2008-08-30 21:28:24 +00:00
mattias
0970d289f0
LCL: added TCustomComboBox.GetItems for overriding, fixed default value AutoSize and AutoCompleteText
...
git-svn-id: trunk@16314 -
2008-08-30 21:26:02 +00:00
tombo
6e943705bf
IDE object inspector: added switch UseOnGetItems to use OnGetItems instead of OnDropDown
...
LCL stdctrls: new event TCustomComboBox.OnGetItems - for just-in-time populating of items, fired with TCustomComboBox.IntfGetItems from widget set
LCL win32: implemented OnGetItems
Docs stdctrls: added TCustomComboBox.OnGetItems
git-svn-id: trunk@16300 -
2008-08-29 14:53:32 +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
d5d9f4c4d6
win32: update checklistbox itemheight in runtime on font change
...
git-svn-id: trunk@15433 -
2008-06-16 01:37:30 +00:00
paul
daf9bb41ce
lcl: publish OnContextPopup for more controls
...
git-svn-id: trunk@15425 -
2008-06-14 16:14:08 +00:00
paul
8300102cb2
lcl: publish OnContextPopup for TListBox and TCheckListBox
...
git-svn-id: trunk@15424 -
2008-06-14 14:30:26 +00:00
mattias
865c66425e
LCL: TMemo: published OnMouseWheel/OnMouseWheelDown,OnMouseWheelUp
...
git-svn-id: trunk@15316 -
2008-06-05 14:34:11 +00:00
vincents
baab4f3e05
LCL: implemented TCustomListBox.SelectAll (issue #1603 )
...
git-svn-id: trunk@15266 -
2008-05-28 08:02:34 +00:00
paul
ae4bdde101
lcl:
...
- don't publish Hint in TControl descendants, it is published in TControl itself
- add few missed TMemo properties
git-svn-id: trunk@15249 -
2008-05-27 03:40:39 +00:00
paul
1843642237
lcl: rearrange some class fields as suggested by Luiz to reduce occupied memory
...
git-svn-id: trunk@15201 -
2008-05-22 02:10:13 +00:00
paul
1fe2f01c5e
lcl: publish TListBox.OnMeasureItem (it works for windows, gtk2, qt)
...
gtk2: redo some parts of LCLIntfCellRenderer, implement item measure
git-svn-id: trunk@15178 -
2008-05-19 05:38:25 +00:00
marc
f7fe61c9e4
* published OnKey*
...
git-svn-id: trunk@15176 -
2008-05-18 14:31:33 +00:00
vincents
27cf27363d
LCL: Added DirectInput property for TCustomEditButton
...
patch by: Gerard Visent (modified)
mantis: 10861
git-svn-id: trunk@15118 -
2008-05-13 12:10:45 +00:00
paul
d94f02eac8
lcl: TCustomEdit.Undo, TCustomEdit.CanUndo
...
win32, qt: TCustomEdit "undo" support
git-svn-id: trunk@15089 -
2008-05-11 05:22:39 +00:00
sekelsenmat
4bae6b0476
Implements CaretPos for TCustomEdit and TCustomMemo under win32.
...
git-svn-id: trunk@14943 -
2008-04-23 20:06:32 +00:00
paul
8a48e510c8
qt: take Combobox.DropDownCount into account
...
git-svn-id: trunk@14728 -
2008-04-02 09:29:47 +00:00
vincents
6f62d8681a
LCL: published TListbox.DragKind (bug #8350 )
...
git-svn-id: trunk@14430 -
2008-03-05 14:46:55 +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
paul
27d0c29fb7
remove csCaptureMouse from TCustomEdit and TCustomCombobox (they are not needed and breaks behavior or qt applications)
...
git-svn-id: trunk@14220 -
2008-02-21 06:01:58 +00:00
paul
754b2e921d
change button enable state of TCustomEditButton descendants on ReadOnly change (issue #0010861 by Gerard Visent)
...
git-svn-id: trunk@14216 -
2008-02-21 04:17:28 +00:00
paul
fb6f426d2e
formatting
...
git-svn-id: trunk@14130 -
2008-02-14 08:28:30 +00:00
sekelsenmat
1f1caf9f20
TComboBox.AutoSize now defaults to true.
...
git-svn-id: trunk@14058 -
2008-02-09 21:22:54 +00:00
paul
fd1256d378
publish TCombobox.Constraints
...
git-svn-id: trunk@13758 -
2008-01-15 10:26:42 +00:00
paul
20dee3aee0
+ TCustomListbox.ClearSelection
...
git-svn-id: trunk@13682 -
2008-01-09 10:11:37 +00:00
mattias
0323db74dc
LCL: fixed calling AdjustSize when TCheckBox.Caption changed
...
git-svn-id: trunk@13646 -
2008-01-05 23:35:49 +00:00
mattias
e9b91e0bbe
LCL: fixed calling AdjustSize when TButton.Caption changed, bug #10547
...
git-svn-id: trunk@13645 -
2008-01-05 23:30:57 +00:00
paul
f8e055073d
publish some properties (from Aleksey Lagunov)
...
git-svn-id: trunk@13413 -
2007-12-22 09:17:19 +00:00
paul
0897bb06ff
- use BeginUpdate and EndUpdate from TCollection instead of own in TListColumns implementation
...
- commit forgotten file
git-svn-id: trunk@13383 -
2007-12-19 04:40:13 +00:00
mattias
0a348c595d
LCL: published TComboBox.AutoSize
...
git-svn-id: trunk@13346 -
2007-12-15 17:59:25 +00:00
vincents
38b374db96
LCL: added TEdit.OnDblClick (bug #10097 )
...
git-svn-id: trunk@13239 -
2007-12-08 22:29:15 +00:00
vincents
01a956df63
LCL: in case of index out of bounds error, the message shows the upperbound instead of the count of the list (bug #10367 )
...
git-svn-id: trunk@13201 -
2007-12-07 13:00:20 +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
223e59af66
LCL: fixed AlignControls when ClientRect changes during update, LCL: AutoSize now uses WithThemeSpace as default, gtk1 intf: implemented GetPreferredSize for WithThemeSpace, LCL: changed TButton/TBitBtn.BorderSpacing.InnerBorder from 4 to 0, IDE: removed InnerBorder values from IDE dialogs
...
git-svn-id: trunk@12615 -
2007-10-28 00:33:23 +00:00
paul
19df9e9b0f
lcl: fix OnClick, OnChange event sequence for TCustomCheckBox (now must be identical on all widgetsets)
...
git-svn-id: trunk@12474 -
2007-10-15 11:18:13 +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
tombo
15e3c6e26f
LCL TCustomEdit: removed useless code in InitializeWnd
...
git-svn-id: trunk@12459 -
2007-10-14 11:05:07 +00:00
paul
df48056fc0
LCL: fix shortcut handling for TButton and TCheckBox
...
git-svn-id: trunk@12133 -
2007-09-22 12:54:48 +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
mattias
4c1b802fe1
LCL: autosizing parent control now work with childs anchored to parent
...
git-svn-id: trunk@11851 -
2007-08-23 20:14:12 +00:00
mattias
73d0ae53b0
LCL: TLabel added DoMeasureTextPosition from Luiz Americo Pereira Camara
...
git-svn-id: trunk@11830 -
2007-08-16 18:42:49 +00:00
vincents
78ef0135a5
LCL: set combobox maxlength when the control is created (bug #9439 )
...
git-svn-id: trunk@11817 -
2007-08-14 18:30:00 +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
vincents
87d2069122
lCL: removed TLeftRight, is now part of the classes unit
...
git-svn-id: trunk@11368 -
2007-06-25 12:58:45 +00:00
vincents
baebd22616
LCL: moved TButton from buttons unit to stdctrls (bug #9137 ), compilation tested on windows for gtk2, qt and win32 widgetset
...
git-svn-id: trunk@11367 -
2007-06-25 08:34:41 +00:00
vincents
6a03559a23
LCL: added TCustomLabel.GetLabelText (issue #9121 ) from Laurent
...
git-svn-id: trunk@11339 -
2007-06-20 22:05:55 +00:00
jesus
183704f081
LCL, TCustomLabel default color is clNone, but it wont allow to store color:=clWindow which is the default for TControl
...
git-svn-id: trunk@11323 -
2007-06-14 21:04:56 +00:00
mattias
fe1ca96a65
LCL: implemented TStaticText.DialogChar to focus FocusControl, gtk2 intf: shortcuts of buttons, radiobuttons, checkboxes are now handled by the LCL
...
git-svn-id: trunk@11245 -
2007-05-31 21:38:56 +00:00
vincents
4698d08d12
wince interface: added support for OnAsyncSocketMsg event from Ales Katona
...
git-svn-id: trunk@11219 -
2007-05-29 19:27:37 +00:00
paul
0b6ce0bd99
BiDiMode patch from zaher dirkey (report 0008955)
...
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
paul
3c6665616c
- TCustomMemo.WantReturns implementation (0008352)
...
git-svn-id: trunk@11124 -
2007-05-10 14:12:03 +00:00
paul
1ef92b0f0b
- TMemo.Alignment implementation for win32, qt, gtk2
...
git-svn-id: trunk@11092 -
2007-05-07 07:31:14 +00:00
paul
45f07afcc1
- LCL and Win32 TListBox.Columns
...
git-svn-id: trunk@11083 -
2007-05-05 15:30:19 +00:00
paul
f83756a0d3
- request combobox item heights through onMeasureItem when style is ownerdraw variable + misc bugs with ItemHeight (report 0008113)
...
git-svn-id: trunk@11070 -
2007-05-04 01:26:23 +00:00
vincents
39a0ba8569
LCL: published Font and ParentFont for Radiobutton and Checkbox ( #8735 )
...
git-svn-id: trunk@10994 -
2007-04-24 11:33:29 +00:00
vincents
f73e81e3de
LCL: added Begin/EndUpdate in TCustomMemo.SetSelText, implemented SetUpdateState for memo lines in the win32 widgetset, fixes (8702)
...
git-svn-id: trunk@10974 -
2007-04-19 10:16:35 +00:00
paul
78187ac487
- added WsWinControl.CanFocus that inform about ability of control to be focused with default widgetset value = True (overrided for gtk)
...
- changed CanTab of TWinControl to use TWSWinControlClass.CanFocus
- published TRadioGroup.TabStop
git-svn-id: trunk@10829 -
2007-03-30 05:22:36 +00:00
paul
1158d39fd8
- publishing TMemo.OnDblClick event
...
git-svn-id: trunk@10812 -
2007-03-27 09:33:50 +00:00
paul
7cbd5a47d5
- publishing TMemo.OnClick event
...
git-svn-id: trunk@10811 -
2007-03-27 07:47:33 +00:00
paul
7e597d9d71
- added missed property TCustomListBox.Count for Delphi compatability
...
git-svn-id: trunk@10799 -
2007-03-25 16:12:00 +00:00
vincents
ba85e84687
LCL: published dragging related properties
...
patch by: Paul Ishenin
git-svn-id: trunk@10648 -
2007-02-16 08:31:43 +00:00
vincents
23b36dbfdd
LCL: published TListbox.OnDragDrop and OnDragOver
...
git-svn-id: trunk@10647 -
2007-02-15 10:07:05 +00:00
vincents
ff7a9a5c84
lcl: checkbox and radiobutton have ParentColor is true by default (bug #8284 )
...
git-svn-id: trunk@10614 -
2007-02-08 22:43:23 +00:00
vincents
7ef1dc90d4
LCL: published T(DB)CheckBox.Color and ParentColor (bug #8185 )
...
git-svn-id: trunk@10540 -
2007-01-30 15:33:39 +00:00
vincents
21bb6f3c42
LCL: also published TDBComboBox.Color and ParentColor
...
git-svn-id: trunk@10473 -
2007-01-18 13:54:04 +00:00
vincents
da0ece0f30
LCL: default value of TComboBox.ParentColor is false.
...
git-svn-id: trunk@10471 -
2007-01-18 13:30:28 +00:00
vincents
016177e2fb
LCL: published TComboBox.Color and TComboBox.ParentColor
...
git-svn-id: trunk@10470 -
2007-01-18 13:13:42 +00:00
mattias
0fc3bea335
codetools: added special file fpc unit postion libc
...
git-svn-id: trunk@10343 -
2006-12-21 13:05:18 +00:00
mattias
503a5be753
lcl: TCustomEdit: property AutoSelect, CustomComboBox: property AutoSelect and property CharCase from Funky Beast
...
git-svn-id: trunk@10327 -
2006-12-13 09:22:00 +00:00
mattias
69660016b1
LCL: published TMemo.Enabled
...
git-svn-id: trunk@10293 -
2006-12-04 15:59:02 +00:00
vincents
17bc899c64
LCL: published TStaticText.TabStop
...
git-svn-id: trunk@10260 -
2006-11-29 21:20:57 +00:00
vincents
37739383ed
published TStaticText.TabOrder
...
git-svn-id: trunk@10257 -
2006-11-29 13:02:18 +00:00
vincents
cb63d019b3
lcl: added overload for TCustomScrollbar.SetParams (issue #7657 ) from Tom Gregorovic
...
git-svn-id: trunk@10108 -
2006-10-25 21:11:19 +00:00
mattias
d17fddefd2
LCL: TScrollBar: adding PageSize to scrollinfo Max
...
git-svn-id: trunk@10051 -
2006-10-10 06:52:57 +00:00
mattias
af222dfa35
LCL: added TStaticText to additional tab in component palette for Delphi compatibility
...
git-svn-id: trunk@9999 -
2006-09-27 19:49:51 +00:00
mattias
12d2ead692
TComboBox: KeyDown no longer eats normal keys
...
git-svn-id: trunk@9756 -
2006-08-27 16:56:28 +00:00
mattias
7bb113cec8
fixed a few fpc 2.1.1 incompatibilities
...
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
mattias
8dddb17fa3
IDE find replace dlg: fixed resize events
...
git-svn-id: trunk@9587 -
2006-07-10 18:26:56 +00:00
mattias
909bde3051
fixed TRadioButton updating sibling buttons, when no handles are created
...
git-svn-id: trunk@9579 -
2006-07-10 00:31:40 +00:00
micha
dc66dedc3b
add wanttabs property to tcustommemo to disable grabbing of tab key; compatibility (issue #1811 )
...
git-svn-id: trunk@9570 -
2006-07-06 15:23:01 +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
e81c0f77a0
added WithThemSpace parameter to GetPreferredSize
...
git-svn-id: trunk@9331 -
2006-05-21 15:47:28 +00:00
mattias
6eb4930179
fixed references to COPYING.LCL
...
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
5c9c26ad49
enable autoadjust size of tLabel after changing font from Darek
...
git-svn-id: trunk@9125 -
2006-04-15 10:37:40 +00:00
mattias
00b7b56f6f
reduced overhead TLabel with single lines, added IFNDEF gtk_no_set_modal to deactivate modal forms in gtk intf from Darek
...
git-svn-id: trunk@9108 -
2006-04-09 20:55:52 +00:00
mattias
f6e1bf014e
added LM_CHANGED to TCustomComboBox from Darek
...
git-svn-id: trunk@9033 -
2006-03-28 17:05:15 +00:00
vincents
1d625be7d0
published TListBox.OnShowHint
...
git-svn-id: trunk@8946 -
2006-03-17 18:48:34 +00:00
mattias
2ed9fee8a6
fixed writing empty strings to lfm
...
git-svn-id: trunk@8933 -
2006-03-13 10:01:43 +00:00
mattias
b9bd15f7c6
implemented cbactRetainPrefixCase for TComboBox
...
git-svn-id: trunk@8929 -
2006-03-13 00:29:50 +00:00
vincents
323b83d861
removed fpc 2.0.0 compatibility workarounds
...
git-svn-id: trunk@8761 -
2006-02-17 15:19:01 +00:00
vincents
ed75b8050b
published TListBox.Color (issue #1264 )
...
git-svn-id: trunk@8760 -
2006-02-17 14:16:15 +00:00
vincents
c0e1ccde8a
published TComboBox.AutoComplete (issue #1706 )
...
git-svn-id: trunk@8753 -
2006-02-17 13:38:56 +00:00
vincents
be77c68da7
implemented TCustomComboBox.AutoComplete (issue #1706 )
...
git-svn-id: trunk@8752 -
2006-02-17 13:32:58 +00:00
mattias
126f596799
Added EndOfLineComplete capability for AutoCompleteText from Hwang Weng Sun
...
git-svn-id: trunk@8528 -
2006-01-16 09:14:47 +00:00
vincents
19d341988f
published TListBox.Enabled (issue #1262 )
...
git-svn-id: trunk@8499 -
2006-01-11 13:00:01 +00:00
mattias
25a6add0d6
renamed TComboBoxAutoCompleteTextSet to TComboBoxAutoCompleteTextOption
...
git-svn-id: trunk@8484 -
2006-01-10 14:28:10 +00:00
mattias
4d6ed5f8b2
added TComboBox.AutoCompleteText feature
...
git-svn-id: trunk@8483 -
2006-01-10 14:26:48 +00:00
micha
2088239f74
publish TCustomLabel.Transparent, seems to be implemented (issue #1182 )
...
git-svn-id: trunk@8386 -
2005-12-29 21:59:11 +00:00
micha
cced0352b3
fix ControlStyle csOpaque for TCustomLabel (not opaque when transparent)
...
git-svn-id: trunk@8240 -
2005-11-29 21:23:28 +00:00
mattias
0cb1f93961
fixed TComboBox InitializeWnd calling inherited
...
git-svn-id: trunk@8201 -
2005-11-21 18:53:43 +00:00
micha
84afc58a43
expand and implement ReadOnly for win32
...
git-svn-id: trunk@8200 -
2005-11-20 15:43:15 +00:00
vincents
90b57f35f5
published TGroupBox.AutoSize
...
made groupboxes in Run Parameters dialog autosized
git-svn-id: trunk@8092 -
2005-11-07 10:52:02 +00:00
micha
68d4ba68c5
improve memo/edit keystroke "handled" property, which is, message result
...
add ability to continue processing shortcut events (fixes issue #1308 )
git-svn-id: trunk@8062 -
2005-11-05 10:19:27 +00:00
vincents
4c2e697259
moved stringlist saving when destroying to FinalizeWnd (issue #1327 )
...
git-svn-id: trunk@8043 -
2005-11-02 22:39:55 +00:00
vincents
7b07d9012d
fixed TListBox.OnSelectionChanged event (issue #1340 )
...
git-svn-id: trunk@7987 -
2005-10-27 18:41:21 +00:00
mattias
dff234fb45
TToggleBox.AutoSize = false as default
...
git-svn-id: trunk@7936 -
2005-10-08 16:06:53 +00:00
mattias
06a1976a71
published TSpeedButton.Font
...
git-svn-id: trunk@7870 -
2005-10-01 00:38:24 +00:00
mattias
aac6d79b71
TBitBtn now calls AdjustSize on change
...
git-svn-id: trunk@7748 -
2005-09-19 22:07:12 +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
9e4a4eeb01
implemented TComboBox.OnSelect from Andrew Haines
...
git-svn-id: trunk@7681 -
2005-09-12 22:31:13 +00:00
marc
8925ef5f51
* Fixed bug #907
...
* Changed TLMScoll <-> TWMScroll, TLMScroll has extended position info
git-svn-id: trunk@7665 -
2005-09-10 16:31:04 +00:00
vincents
1419d84e3d
implemented TCustomEdit.Clear (issue #1142 )
...
git-svn-id: trunk@7630 -
2005-09-05 20:07:38 +00:00
mattias
2f5c43d2e1
added gtk handler for TCheckListBox item check change
...
git-svn-id: trunk@7591 -
2005-08-29 10:35:25 +00:00
mattias
862a04296b
added TComboBox.ReadOnly - only partially working under gtk1
...
git-svn-id: trunk@7546 -
2005-08-22 19:02:06 +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
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
micha
76838c6238
fix inability to uncheck checkbox
...
git-svn-id: trunk@7508 -
2005-08-16 09:27:22 +00:00
mattias
7811bbddf9
fixed config path for IDE Dialogs
...
git-svn-id: trunk@7461 -
2005-07-31 17:33:25 +00:00
mattias
63ebe03976
fixed TEdit to eat normal keys and avoid triggering accelerators
...
git-svn-id: trunk@7424 -
2005-07-25 23:11:48 +00:00
micha
854c9cf746
fix bug #741 : fix setting multiselect to not select all items; default extendedselect is true
...
git-svn-id: trunk@7382 -
2005-07-19 14:18:44 +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
mattias
bb74449136
fixed registering TStaticText
...
git-svn-id: trunk@7276 -
2005-06-23 18:48:55 +00:00
mattias
6bc643e291
hid TStaticText - it is obsolete
...
git-svn-id: trunk@7253 -
2005-06-19 10:16:27 +00:00
mattias
536f8dd243
implemented TCustomLabel.OptimalFill: boolean
...
git-svn-id: trunk@7250 -
2005-06-18 16:10:09 +00:00
mattias
19553ee2d3
implemented context help system for compiler/make messages
...
git-svn-id: trunk@7247 -
2005-06-18 08:49:32 +00:00
vincents
903c6d561e
fixed crashed with csOwnerDrawVariable combobox style (bug #934 ) from Jesus
...
git-svn-id: trunk@7236 -
2005-06-13 08:04:38 +00:00
mattias
3e841cb34a
fixed triggering TListBox.Click when clicking on selected item
...
git-svn-id: trunk@7205 -
2005-05-26 22:15:51 +00:00
micha
564ffa1867
prevent double onclick event when using click-on-selchange
...
git-svn-id: trunk@7155 -
2005-05-06 10:21:38 +00:00
micha
6c015e6ea2
introduce intfselectionchanged procedure for widgetsets that do not send LM_SELCHANGED automatically
...
fix senditemindex to cause onclick event
git-svn-id: trunk@7154 -
2005-05-06 09:39:49 +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
mattias
dfbe4b526d
fixed small aesthetical editoroptions bugs
...
git-svn-id: trunk@7089 -
2005-04-19 15:06:30 +00:00
mattias
6697af3196
accelerated TMemo on gtk, gtk2 and win32 interface from Andrew Haines
...
git-svn-id: trunk@7060 -
2005-04-05 19:41:19 +00:00
vincents
62622ade38
made TCustomCombobox.Clear virtual
...
git-svn-id: trunk@6998 -
2005-03-20 21:12:15 +00:00
mattias
57990d6de7
handle tab key in ControlKeyDown in TCustomEdit and TCustomComboBox
...
git-svn-id: trunk@6933 -
2005-03-10 09:02:11 +00:00
mattias
8a344c0ff0
BorderStyle for TCustomEdit in win32 intf from Jesus
...
git-svn-id: trunk@6925 -
2005-03-08 10:32:47 +00:00
marc
6ed8e2ecf4
* Reworked listviews to match new interface
...
git-svn-id: trunk@6848 -
2005-02-26 17:08:41 +00:00
mattias
49190601ad
fixed componentpalette adding via double click
...
git-svn-id: trunk@6826 -
2005-02-21 20:15:28 +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
458fb0ea45
made TListBox.Clear virtual
...
git-svn-id: trunk@6812 -
2005-02-19 18:23:28 +00:00
micha
aa256339b2
select index of item in list, if text occurs in list
...
git-svn-id: trunk@6780 -
2005-02-11 16:26:26 +00:00
mattias
5f6a3f169e
published TComboBox.ItemIndex from Sergios
...
git-svn-id: trunk@6734 -
2005-02-04 15:36:50 +00:00
mattias
77284fb222
published TEdit.OnEditingDone
...
git-svn-id: trunk@6733 -
2005-02-04 15:24:56 +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
5ef1f06d1c
added error message for TStaticText.BorderStyle not implemented during designing
...
git-svn-id: trunk@6693 -
2005-01-26 17:36:02 +00:00
micha
46192cb3cc
implement TCustomLabel.Layout
...
git-svn-id: trunk@6657 -
2005-01-21 14:18:11 +00:00