Multiline edit control

A place where plug-in developers can share their knowledge and experience.
Post Reply
pepak
Posts: 330
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

Multiline edit control

Post by pepak » Thu 27 Jul, 2017 17:42

Does FAR provide a multiline edit control? I couldn't find anything like that in the Encyclopedia, and come to think about it, the only place in FAR where I know of something like a multiline edit control is the user menu editor - but judging by its behavior, it's simply a set of several independent regular edits.

User avatar
HaRT
Moderator
Posts: 8109
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 67 times
Been thanked: 103 times

Multiline edit control

Post by HaRT » Thu 27 Jul, 2017 17:58

Nope. It was discussed in the Russian-language part of the forum a few years ago and one of FAR Team members even had some sketches of the implementation but that got nowhere IIRC. (Unfortunately, I failed to find these discussions now.)
Фар есть инструмент, а не нянька. © 2009 DrKnS

pepak
Posts: 330
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

Multiline edit control

Post by pepak » Thu 27 Jul, 2017 18:06

Too bad. Oh well. Fortunately, in my current scenario, I can get by with a Listbox, a set of Texts, or a set of Edits. But it would be nice to have a full-fledged Multiline Edit.

Shmuel
Posts: 5229
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 16 times
Been thanked: 151 times

Multiline edit control

Post by Shmuel » Thu 27 Jul, 2017 18:08

HaRT wrote:
Thu 27 Jul, 2017 17:58
It was discussed in the Russian-language part of the forum a few years ago
viewtopic.php?f=54&t=2375

User avatar
HaRT
Moderator
Posts: 8109
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 67 times
Been thanked: 103 times

Multiline edit control

Post by HaRT » Thu 27 Jul, 2017 18:25

pepak, as a workaround, you can open a custom-sized editor over your dialog and then use its text. The AltDescr plugin (for FAR 1.75) used this approach.
Image
Фар есть инструмент, а не нянька. © 2009 DrKnS

Post Reply

Return to “Plug-In Developers”