I successfully setup a gui with a background image using a formlayout with controls on top. But when I try to setup a gui with frames, and the same code that worked before is now nested in one of the frames, everything works, but no background image. The pseudo code is like this:
create window create column layout create frameLayout create fowmlayout create buttons - image is declared last set parent set parent edit form layout and position buttons - image is positioned first (I've tried making it last, but no difference) create second frame layout create grid layout create buttons set parent set parent set parent edit grid layout.
So is there anything wrong with the order of this? I assumed that because it worked alone, it would work nested. Any comments or suggestions would be greatly appreciated!
When you say split the picture up, does that mean to cover both frames? I only want a bg picture in the top frame, and the second frame just for slider controls, etc, but with no background.
That's too bad that it's not a consistent thing you can depend on. So I guess it would be a waste of time to try to find a "hack" or workaround to get it working?
thanks so much for your input! You might have saved me a lot of grief!
In this package, there is a script that will let you create a graphic gui for your characters. You may be able to locate and dissect it. See if it helps....
which directory should the image be in, and how do you type in the location to it? The only one that works for me so far is if I put it in my root folder, C:\ and then address it like this: string $image_location = "\image.jpg";
I've tried other directories, ie icons, scripts etc. and all sorts of locations but can't get it to find the image.