andyhill Posted December 13, 2019 Share Posted December 13, 2019 I have been in the hybrid world for so long I forgot how to move the cursor on a Mobile Memo to the end at runtime, please show how. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 13, 2019 Share Posted December 13, 2019 17 minutes ago, andyhill said: to move the cursor on a Mobile Memo to the end at runtime Sorry, for what? Quote Link to comment Share on other sites More sharing options...
andyhill Posted December 13, 2019 Author Share Posted December 13, 2019 Programmatically move cursor to last char of last row (auto-scroll if necessary) of Mobile Memo at runtime Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 13, 2019 Share Posted December 13, 2019 32 minutes ago, andyhill said: Programmatically move cursor to last char of last row (auto-scroll if necessary) of Mobile Memo at runtime OK Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 13, 2019 Share Posted December 13, 2019 1 hour ago, andyhill said: Programmatically move cursor to last char of last row (auto-scroll if necessary) of Mobile Memo at runtime One possible solution I think: procedure TMainmForm.UnimButton1Click(Sender: TObject); begin UnimMemo1.JSInterface.JSCode(#1'.inputElement.setScrollTop('#1'.inputElement.dom.scrollHeight);'); end; Quote Link to comment Share on other sites More sharing options...
andyhill Posted December 14, 2019 Author Share Posted December 14, 2019 Locks up Safari ??? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.