Commit Graph

70 Commits

Author SHA1 Message Date
blikblum
ec03b534ad lcl: call inherited after setting FLines in TCustomMemo.InitializeWnd. Fix potential crash since widgetset code expect FLines be initialized
git-svn-id: trunk@36757 -
2012-04-14 00:37:15 +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
paul
5385b97a2e lcl: forgotten unit
git-svn-id: trunk@21832 -
2009-09-23 10:25:44 +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
f4a1e520cd lcl: cleanup
git-svn-id: trunk@21766 -
2009-09-19 09:34:41 +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
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
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
mattias
59cea6c0ba LCL: TMemo using TTextStrings
git-svn-id: trunk@18820 -
2009-02-24 18:24:40 +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
mattias
3815a3616f LCL: TCustomMemo: added switch -dEnableMemoTextStrings to use TTextStrings in TCustomMemo
git-svn-id: trunk@18710 -
2009-02-16 16:12:49 +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
sekelsenmat
da2a4e55f8 Fixes small typo
git-svn-id: trunk@17791 -
2008-12-11 01:06:16 +00:00
sekelsenmat
226434bc52 Moves freeing TStrings from standard controls to the widgetset. Necessary for widgets with a native TStrings.
git-svn-id: trunk@17787 -
2008-12-10 21:12:10 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +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
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
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
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
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
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
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
2ed9fee8a6 fixed writing empty strings to lfm
git-svn-id: trunk@8933 -
2006-03-13 10:01:43 +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
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
vincents
1419d84e3d implemented TCustomEdit.Clear (issue #1142)
git-svn-id: trunk@7630 -
2005-09-05 20:07:38 +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
63ebe03976 fixed TEdit to eat normal keys and avoid triggering accelerators
git-svn-id: trunk@7424 -
2005-07-25 23:11:48 +00:00
mattias
a6e4985cfb started basic docking anchoring and made Contributors.txt ASCII to show everywhere
git-svn-id: trunk@7362 -
2005-07-17 01:05:04 +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
mattias
47ff668c23 TCustomMemo: check for navigations keys only if not ReadOnly
git-svn-id: trunk@6934 -
2005-03-10 09:06:34 +00:00
mattias
e35647ff98 fixed loading TMemo.Lines - During Loading
git-svn-id: trunk@6447 -
2005-01-01 14:38:37 +00:00
mattias
b6faaef0cf added check handleallocated on loading memo
git-svn-id: trunk@6247 -
2004-11-15 12:37:52 +00:00
micha
dcf9c0e76f convert LM_SETPROPERTIES message to interface methods for TCustomMemo
git-svn-id: trunk@6044 -
2004-09-22 16:13:01 +00:00
micha
773ffa3278 convert LM_ATTACHMENU to interface method
git-svn-id: trunk@5961 -
2004-09-10 18:58:24 +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
13b1bfe34a TGTKListStringList now keeps selection on Put and Move
git-svn-id: trunk@5641 -
2004-07-03 11:11:09 +00:00
mattias
6e24956d9e replaced WMSize by DoSetBounds
git-svn-id: trunk@5476 -
2004-05-15 20:17:09 +00:00
mattias
e1f1af3fb2 improved grids e.g. OnPrepareCanvas patch from Jesus
git-svn-id: trunk@5469 -
2004-05-14 12:53:25 +00:00
mattias
7f77713e6c replaced writeln by debugln
git-svn-id: trunk@5456 -
2004-05-11 12:16:48 +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
mattias
ce11f9f6e2 implemented mainunit hints for include files
git-svn-id: trunk@5393 -
2004-04-10 17:58:57 +00:00
micha
912d81b51e revert intf split
git-svn-id: trunk@5225 -
2004-02-23 08:19:05 +00:00