Recent

Author Topic: [SOLVED] LAMW : Memo  (Read 2278 times)

majid.ebru

  • Sr. Member
  • ****
  • Posts: 494
[SOLVED] LAMW : Memo
« on: January 27, 2017, 07:30:47 pm »
Hi
how to use memo in LAMW android?
thankyou
« Last Edit: February 10, 2017, 03:17:49 pm by majid.ebru »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Memo LAMW
« Reply #1 on: January 27, 2017, 07:48:28 pm »
Hello majid.ebru!

You need configure jEditText. Example [from "AppDemo1"]


 object jEditText1: jEditText
    LayoutParamWidth = lpMatchParent
    LayoutParamHeight = lpOneFifthOfParent
    InputTypeEx = itxMultiLine
    MaxTextLength = 800
    ScrollBarStyle = scrlInsideInset
    MaxLines = 10
    HorScrollBar = False
    VerScrollBar = True
    WrappingLine = True
    Editable = True


NOTE: You can use jWebView to output formated  text !

ex.   jWebView1.LoadFromHtlmString(......);
        jWebView1.LoadFromHtmlFile(......);


« Last Edit: January 27, 2017, 08:01:20 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018