Recent

Author Topic: Fill jscrollview with some components  (Read 456 times)

juank1971

  • Jr. Member
  • **
  • Posts: 64
Fill jscrollview with some components
« on: September 18, 2020, 04:18:00 am »
Hi.

It is possible to put some components inside a jscrollview component at run time,
for example listview, jtextview, jeditText jbutton .


jmpessoa

  • Hero Member
  • *****
  • Posts: 1625
Re: Fill jscrollview with some components
« Reply #1 on: September 18, 2020, 05:12:58 am »

listview, no!

and add LAMW component in run time is a hard task.... but possible.

[jScrollView  has direct support to Add Image and Text.... look for the methods:  "AddImage" and AddText]
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

juank1971

  • Jr. Member
  • **
  • Posts: 64
Re: Fill jscrollview with some components
« Reply #2 on: September 18, 2020, 01:57:19 pm »
Thanks .  And is possible modify the component fo add another for example maps or buttons

ADiV

  • Jr. Member
  • **
  • Posts: 63
    • ADiV Software
Re: Fill jscrollview with some components
« Reply #3 on: October 05, 2020, 08:18:21 am »

listview, no!

and add LAMW component in run time is a hard task.... but possible.

[jScrollView  has direct support to Add Image and Text.... look for the methods:  "AddImage" and AddText]

"Listview" if it is possible to add it to a scroll thanks to the "DisableScroll (true)" function that you create for this purpose.

You can see how it works in the options screen of my last application loaded in Google Play: https://play.google.com/store/apps/details?id=adiv.QRiBar.QRiBar

jmpessoa

  • Hero Member
  • *****
  • Posts: 1625
Re: Fill jscrollview with some components
« Reply #4 on: October 05, 2020, 08:32:09 pm »

Quote
my last application loaded in Google Play: https://play.google.com/store/apps/details?id=adiv.QRiBar.QRiBar

Nice!

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

juank1971

  • Jr. Member
  • **
  • Posts: 64
Re: Fill jscrollview with some components
« Reply #5 on: Today at 05:38:26 am »
I do not understand well,

I insert. in the form a jscrollbox and then I insert a jlistview into it?

And since I create the DisableScroll (true) function, I don't know which properties disable the scroll, I don't understand anything you tell me
And desabled scroll jlistview or jscrollview???

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1350
Re: Fill jscrollview with some components
« Reply #6 on: Today at 07:54:58 am »
Quote
You can see how it works in the options screen of my last application loaded in Google Play: https://play.google.com/store/apps/details?id=adiv.QRiBar.QRiBar
Question: which QRcode-library (or component) did you use for this very nice app ?

 

TinyPortal © 2005-2018