Recent

Author Topic: jtextview with several lines  (Read 300 times)

juank1971

  • Jr. Member
  • **
  • Posts: 81
jtextview with several lines
« on: October 31, 2020, 06:29:55 am »
Hi, How do I put a jtextview with several lines one below
the other and several colors
and sizes can be put in the same jtextviewin run time

Is posible or any idea with anothere component

jmpessoa

  • Hero Member
  • *****
  • Posts: 1663
Re: jtextview with several lines
« Reply #1 on: October 31, 2020, 09:53:35 pm »
Several lines is ok. But not several size and color.

    jTextView1.Append('More text');
    jTextView1.AppendLn('More lines'); 
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

jmpessoa

  • Hero Member
  • *****
  • Posts: 1663
Re: jtextview with several lines
« Reply #2 on: November 01, 2020, 09:47:55 pm »
Well,  You can try jWebView component....

jWebView1.LoadFromHtmlFile(....);
jWebView1.LoadFromHtmlString(....);
   

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Segator

  • Full Member
  • ***
  • Posts: 123
    • https://github.com/Nenirey
Re: jtextview with several lines
« Reply #3 on: November 02, 2020, 03:35:20 pm »
and enable the WrappingLine properties and increase the MaxLines
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

 

TinyPortal © 2005-2018