Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 3212

How to scroll current view to specific line (row) in FMX TMemo component by C++ Builder?

$
0
0

I'd like to scroll the current view to specific line in FMX Memo. I used to use below code in VCL component:

TopVisibleRow = SendMessage(LogMemo->Handle, EM_GETFIRSTVISIBLELINE, 0, 0);
SendMessage(LogMemo->Handle, EM_LINESCROLL, 0 , TargetLine - TopVisibleRow));

Is there any method to jump to specific line in FMX memo for cross-platform application?

I'm using C++ Builder Berlin Update 2.


Viewing all articles
Browse latest Browse all 3212


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>