B4J Question [ABMaterial] scroll ABMCodeLabel down to a position

peacemaker

Expert
Licensed User
Longtime User
hi, All

Is it possible to scroll ABMCodeLabel ?
Or what other long text container can be used to show a loooong log text in a fixed height, but with software scrolling to a position?
 

Cableguy

Expert
Licensed User
Longtime User
hi, All

Is it possible to scroll ABMCodeLabel ?
Or what other long text container can be used to show a loooong log text in a fixed height, but with software scrolling to a position?
I recall something about setting page sections that could be scolled to...
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Question is about possibility to scroll container views...
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
check this one:
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
In ABMaterial, you dont have a TextArea control...
How ever, I believe that if you use the scrollTo method of the page component and the Cursor Position together, you can achieve this function
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
In ABMContainer you have
    • ScrollToComponent (component As ABMComponent, speed As Int)
    • ScrollToRow (row As Int, speed As Int)
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Yes, but the log looks super in a ABMCodeLabel, but it needs to scroll it upto the very bottom:
1696181592647.png
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
My last suggestion is to use the HTMLAddClass and look for a suitable HTML code
    • HTMLAddClass (Class As String)
      the is the ONLY HTMLxxx method that also can be used BEFORE the component is added
 
Upvote 0
Top