From ce0d90422353f9460b8c199916f0a32bb4e32db5 Mon Sep 17 00:00:00 2001 From: juha Date: Tue, 6 Jul 2021 20:19:58 +0000 Subject: [PATCH] IdeIntf: Allow multi-line property editors in Dialogs, TTaskDialog. Issue #39170, patch by Don Siders. git-svn-id: trunk@65388 - --- components/ideintf/propedits.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/ideintf/propedits.pp b/components/ideintf/propedits.pp index 2bad441a2b..6a256a9294 100644 --- a/components/ideintf/propedits.pp +++ b/components/ideintf/propedits.pp @@ -8238,6 +8238,9 @@ begin RegisterPropertyEditor(TypeInfo(TCustomPage), TCustomTabControl, 'ActivePage', TNoteBookActiveControlPropertyEditor); RegisterPropertyEditor(TypeInfo(TSizeConstraints), TControl, 'Constraints', TConstraintsPropertyEditor); RegisterPropertyEditor(TypeInfo(TStrings), TNoteBook, 'Pages', TPagesPropertyEditor); + RegisterPropertyEditor(TypeInfo(TTranslateString), TCustomTaskDialog, 'Text', TStringMultilinePropertyEditor); + RegisterPropertyEditor(TypeInfo(TTranslateString), TCustomTaskDialog, 'ExpandedText', TStringMultilinePropertyEditor); + RegisterPropertyEditor(TypeInfo(TTranslateString), TCustomTaskDialog, 'FooterText', TStringMultilinePropertyEditor); // Property is hidden and editing disabled by HiddenPropertyEditor : RegisterPropertyEditor(TypeInfo(TAnchorSide), TControl, 'AnchorSideLeft', THiddenPropertyEditor);