Jump to content

Recommended Posts

Posted

hello,

 

i have got a html frame with 100 lines ,

i would like to focus on a specific line number. 

 

is there a method to do that in TUniHTMLFrame component to select the line number that the component show to the user.

 

 

thank you! 

Posted

Hi,

 

It's up to you because you decide what will be rendered inside the HTML frame (html elements).

 

When you say 'lines' what do you mean? explain more?

Posted

when  loading text inside the component il show the top of the text i.e the first line

 

i would like to show a line number by code i.e : i woul like to make a vertical 'autoscroll ' by code in the component htmlframe 

Posted

I suggest you to use some js component that supports viewing text with line numbers and has method to focus on specific line, or scroll it into the view. You can code that yourself, but I'm pretty sure this is already available so no point in reinventing the wheel.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...