sicoobcooplivre Posted October 18, 2022 Share Posted October 18, 2022 @SherzodGood Morning! Please, I need some help: I need to know the number of lines inside a unimemo component, but sometimes the user doesn't press enter to break the line, and then unimemo.lines.count is not correctly returning the number of lines being displayed! Is there any way I can get exactly how many lines are showing on my screen? Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 18, 2022 Share Posted October 18, 2022 3 hours ago, sicoobcooplivre said: Please, I need some help: I need to know the number of lines inside a unimemo component, but sometimes the user doesn't press enter to break the line, and then unimemo.lines.count is not correctly returning the number of lines being displayed! Is there any way I can get exactly how many lines are showing on my screen? Hello @sicoobcooplivre Try analyze this link: https://www.demo2s.com/javascript/javascript-textarea-count-wrapped-lines-rows.html Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted October 18, 2022 Author Share Posted October 18, 2022 Thank you, I will study! 1 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.