Commit Graph

108 Commits

Author SHA1 Message Date
bart
409cedc9c4 LCL: Implement TCustomEdit.NumbersOnly property.
Currently only effective on Windows.

git-svn-id: trunk@43678 -
2014-01-09 13:36:11 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
juha
1d91cbbe30 Revert "LCL: Invalidate TCustomEdit after setting PasswordChar. Issue #23627". Windows issue.
git-svn-id: trunk@39830 -
2013-01-11 17:27:15 +00:00
juha
8f7cd7dad2 LCL: Invalidate TCustomEdit after setting PasswordChar. Issue #23627
git-svn-id: trunk@39826 -
2013-01-11 11:04:33 +00:00
sekelsenmat
80ab27d495 Starts implementing accessibility support for TEdit in LCL-CustomDrawn-Cocoa
git-svn-id: trunk@38200 -
2012-08-08 06:13:53 +00:00
paul
68d65a2b2c lcl: don't allow LCL to handle arrow keys of TCustomEdit descendants (fixes bug #0022191), handle WantTabs and WantReturn of TCustomMemo inside CM_WANTSPECIALKEY handler
git-svn-id: trunk@37689 -
2012-06-19 01:17:25 +00:00
blikblum
ce12dfae54 lcl: move interface initialization of TCustomEdit from CreateWnd to InitializeWnd. Consistent with other controls and allows interfaces to check is handle is being created
git-svn-id: trunk@36754 -
2012-04-13 17:29:27 +00:00
paul
ab9046d536 lcl: reduce amount of calls of WS methods in TCustomEdit.TextChanged
git-svn-id: trunk@35389 -
2012-02-16 02:29:37 +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
a0912487d5 LCL: Add and move some properties to be skipped by form loader.
git-svn-id: trunk@34798 -
2012-01-19 16:32:56 +00:00
sekelsenmat
3270436597 Adds virtual keyboard support to LCL-CustomDrawn-Android
git-svn-id: trunk@34221 -
2011-12-16 14:31:57 +00:00
sekelsenmat
aa5c1a901c customdrawnws: Starts implementing TEdit, Starts implementing Android key events, updates the example
git-svn-id: trunk@34167 -
2011-12-14 08:14:19 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
zeljko
bf1bdb52a7 LCL: fixed calling of wrong inherited method in TCustomEdit.KeyUpAfterInterface(). fixes #17332
git-svn-id: trunk@27250 -
2010-09-02 18:31:38 +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
paul
321a2f3d30 lcl, win32, wince: use system cut, copy, paste operations for TEdit control and descendants
git-svn-id: trunk@26480 -
2010-07-06 11:43:02 +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
zeljko
58192fb656 LCL: TCustomEdit: set Modified if we really call Change().Patch by Bart Broersma. fixes #16793
git-svn-id: trunk@26366 -
2010-06-30 20:42:52 +00:00
martin
d724916e5d LCL: Fix Memo/Edit, preserve caret when dealing with ecUpperCase,ecLowerCase / issue #16490
git-svn-id: trunk@25477 -
2010-05-17 10:31:43 +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
622f0ba392 lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +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
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
mattias
4d4b4bb80e LCL: call TCustomEdit.Change even if no handle is allocated
git-svn-id: trunk@21801 -
2009-09-21 12:36:07 +00:00
vincents
bc85f9b08e LCL: fixed setting TEdit.SelStart and SelLength before the handle has been created
git-svn-id: trunk@21113 -
2009-08-06 07:59:00 +00:00
paul
b3be50f764 gtk2: use queued SelLength if available (issue #0014065)
git-svn-id: trunk@20768 -
2009-06-30 08:11:13 +00:00
paul
d9c7fdad82 gtk: fix setting readonly for TCustomEdit (bug #0013773)
git-svn-id: trunk@20106 -
2009-05-21 13:01:22 +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
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +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
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
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
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
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
362c46dac6 lcl: use UTF8 versions of LowerCase, UpperCase internally
git-svn-id: trunk@16560 -
2008-09-12 03:24:27 +00:00
paul
b8949b9c21 lcl: fix TEdit, TCombobox SelText setter
git-svn-id: trunk@16502 -
2008-09-09 12:29:45 +00:00
paul
0e46060ced lcl: more utf8 fixes
git-svn-id: trunk@16479 -
2008-09-08 07:34:25 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +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
1f12493662 Adds some more comments to caretpos.
git-svn-id: trunk@14944 -
2008-04-23 20:07:49 +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
8f523aab33 - formatting
- misc

git-svn-id: trunk@14414 -
2008-03-05 03:29:25 +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
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
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00