@d-healey said in A couple of expansion questions:
You have not loaded the images into the panels. Start with one regular panel and one expansion, and make it all work. Once you have this you can tackle it with child panels - which is basically the same thing, but overcomplicates it and makes it seem confusing.
Is this
if (isDefined(imageList[i]) && imageList[i] != "")
g.drawImage(imageList[i], [x, y, width, height], 0, 0);
and this
loadImages();
not doing that?
Regardless the error messages I'm getting are
{EXP::ExpansionName}Icon.png not found
for each expansion so it looks like it isn't even finding the images to load either way or have I misunderstood the error?
@d-healey said in A couple of expansion questions:
This is just regular paint routine stuff, I have a few videos about paint routines. Make yourself a paint routine sandbox project and play around.
So it is possible to set 2 separate lines of text? I can then set the position of each through paint routines.
I wasn't sure if you could set 2 separate text items or if it would have to be 1 with a carriage return or something similar?
@d-healey said in A couple of expansion questions:
I don't really know what your saying there, so probably not. You can see how I've implemented the hover action, so you just need to add your click event in the mouse callback too.
What I mean is the hover isn't really distnguishing between an end action, regardless of what child panel it is hovering over it is doing the same action. Whereas with the load if it is child panel1 it is doing 1 thing specifically (load exp 1), child panel 2 being clicked would load exp 2 and so on.
Its that unique end action that I can't get my head around. I hope that makes sense?