We don't have a multi-line FNC component other than TTMSFNCRichEditor & TTMSFNCMemo unfortunately. TTMSFNCEdit inherits from TEdit and thus also inherits the capabilities which is single line text editing.
We looked at this and see some possibilities at extending TTMSFNCRichEditor. Right now, there is no Lines property, only a Text property, which is public. Can you provide me with a list of requirements so we can verify if we can meet them before working on extending TTMSFNCRichEditor?
Really all I want is something to replicate the behaviour of the Delphi TMemo, but as an FNC component which can be used across all platforms.
I prefer simplicity. The FNCEdit is already useful having the "EditType" with options like "etString" and "etNumeric", if this component could have an EditType "etMemo" which held string data but could word wrap for multi-line representation on screen and data entry it would be great.
I tried using the RichEditor as if it was a TMemo, just setting the .Text property, but this resulted in some weird behaviour.
The text shows until the control has focus, then when the control has focus it becomes invisible, also there is no word-wrap ... so long lines over run the ends of the control.
TTMSFNCRichEditor has automatic wordwrap as default. How do you see a different behavior from this?
I can also not see an issue with invisible text when the control gets focus.Perhaps your SelectionTextColor/SelectionColor properties are the same?
If the problem persists, can you please provide steps / sample source project with which we can reproduce this here?