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 (
DM.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:
jImageView2.Images:=DM.jImageList1;
jImageView2.ImageIndex:=3;
I attached example.