Recent

Author Topic: LAMW: Adding images to Jimagelist  (Read 358 times)

c4p

  • Full Member
  • ***
  • Posts: 111
LAMW: Adding images to Jimagelist
« on: May 24, 2023, 02:24:20 pm »
Is there a way to add an image either from a jImageView or jBitmap to a JImagelist? I have tried using a few methods but none were successful, I am downloading using imageview1.loadfromURL and want to populate a jImagelist then save them.
Of course, I can easily save images from a pre-populated JImagelist with images added manually from the filesystem, just struggling adding images that I have downloaded to a ImageVIew1 to a jImageList.
Is this possible?

Any help greatly appreciated.  :)
« Last Edit: May 24, 2023, 07:49:52 pm by c4p »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2206
Re: LAMW: Adding images to Jimagelist
« Reply #1 on: May 25, 2023, 01:39:14 am »
JImagelist  ís a "design time" helper, not a "run time" store....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

c4p

  • Full Member
  • ***
  • Posts: 111
Re: LAMW: Adding images to Jimagelist
« Reply #2 on: May 25, 2023, 11:20:16 pm »
Yes, this makes sense, I applied a workaround, thank you.

JImagelist  ís a "design time" helper, not a "run time" store....

 

TinyPortal © 2005-2018