LAMW jImageList lazarus / 43-Android ---------------------------------------------------------------------- dseligo · 2021-07-11 15:33 Is there something special going on with jImageList? If I put jImageList on a form and choose some images and then put another jImageList on the same or another form: images are already there in the new jImageList! Also, how can I have something like Data Module, to have things like this in one place? ---------------------------------------------------------------------- rsu333 · 2021-07-11 16:01 Check path, Or Talley with sharedemo app. ---------------------------------------------------------------------- jmpessoa · 2021-07-12 05:05 Quote how can I have something like Data Module ... You can try add a secondary form and the set the property ActivityMode = actEasel (this form can only be "create" and "init" .....[but  not "show"...] ---------------------------------------------------------------------- dseligo · 2021-07-14 11:09 Quote from: rsu333 on July 11, 2021, 06:01:08 pmCheck path, What path do you mean? QuoteOr Talley with sharedemo app. I included test project (from jni directory). If I add jImageList to unit1, it already has images in it - same as in unit2. If I delete all jImageLists in project and add it again - it already has images in it. Adding and removing in one jImageList affects other jImageList. It's like that there is some global permanent jImageList for project. ---------------------------------------------------------------------- dseligo · 2021-07-14 12:15 Quote from: jmpessoa on July 12, 2021, 07:05:45 amQuote how can I have something like Data Module ... You can try add a secondary form and the set the property ActivityMode = actEasel (this form can only be "create" and "init" .....[but  not "show"...] I did that and then put jImageList on that form. I have jImageView on main form and secondary form (with ActivityMode actEasel) in uses of main form. I can't select property images in Object Inspector of jImageList. If I enter it manually (QuoteDM.jImageList1), then I can select image and it is shown in design time. But in run-time image is not shown. It works if properties are set in code: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   jImageView2.Images:=DM.jImageList1;  jImageView2.ImageIndex:=3; I attached example.