Lazarus
Programming => Packages and Libraries => LazReport => Topic started by: runs on March 24, 2023, 01:31:06 am
-
how could I do this, take the images from the dataset and put them in order from left to right and top to bottom?
Any ideas on how to deal with it?
-
Sample in attachment.
-
I am attaching a small project which iterates over the records of the "mushrooms" sample project (in examples/database/image_mushrooms, converted to dbf) and displays the images in a scrollbox with flowpanel. The TFlowPanel is a control which rearranges its controls in some grid-like manner. The scrollbox is needed to display scrollbar in the case that the images do not fit in the viewport. The images are created at runtime while iterating over the dataset. To improve visual appearance each image is inserted in a gray panel with additional label for the image name.
-
Sample in attachment.
Thanks!!!
-
I am attaching a small project which iterates over the records of the "mushrooms" sample project (in examples/database/image_mushrooms, converted to dbf) and displays the images in a scrollbox with flowpanel. The TFlowPanel is a control which rearranges its controls in some grid-like manner. The scrollbox is needed to display scrollbar in the case that the images do not fit in the viewport. The images are created at runtime while iterating over the dataset. To improve visual appearance each image is inserted in a gray panel with additional label for the image name.
Thanks
-
Hello Paweld,
Your sample (Grid of images: published.7z) seems very interesting. I try to execute it, but I could not because file "test.lrf" does not exist. Could you add it in your sample ? Thanks in advance.
-
Sorry Paweld, I found it...