Recent

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

juank1971

  • Full Member
  • ***
  • Posts: 112
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: 2296
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

  • Full Member
  • ***
  • Posts: 112
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: 90
    • 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: 2296
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

  • Full Member
  • ***
  • Posts: 112
Re: Fill jscrollview with some components
« Reply #5 on: October 28, 2020, 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: 1738
Re: Fill jscrollview with some components
« Reply #6 on: October 28, 2020, 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 ?

ADiV

  • Jr. Member
  • **
  • Posts: 90
    • ADiV Software
Re: Fill jscrollview with some components
« Reply #7 on: October 29, 2020, 03:43:09 pm »
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 ?

It works with 2 scan engines ZBar and ZXing to cover more barcodes and QR than other applications.

ADiV

  • Jr. Member
  • **
  • Posts: 90
    • ADiV Software
Re: Fill jscrollview with some components
« Reply #8 on: October 29, 2020, 03:46:49 pm »
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???

When you create a scroll, you can add multiple components, to add a listview you have to disable the scroll of the listview.DisableScroll(true), you can do it with listview.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2296
Re: Fill jscrollview with some components
« Reply #9 on: October 29, 2020, 10:55:11 pm »

Hi, Don!

Some LAMW stuff is here:

jZbarcodeScannerView [android bridges]  and demo
jBarcodeGen [android bridges extra]     and demo
jcQRGen     [android bridges jCenter]   and demo
 
and

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

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fill jscrollview with some components
« Reply #10 on: October 30, 2020, 06:46:35 am »
@jmpessoa
Thanks. I have used the ZXing in the past. But the barcode scanner in the app by ADiV works much better !
So, that made me interested.
Will have a new look at the LAMW scan features !

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fill jscrollview with some components
« Reply #11 on: October 30, 2020, 11:04:30 am »
Wow. LAMW is so good.
Took me 5 minutes to build a perfectly working zbar scanner app from the demos.
Thanks very much.

 

TinyPortal © 2005-2018