Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Panel image on child panel?

Author
Message
neilo20
15
Years of Service
User Offline
Joined: 25th Jul 2008
Location: UK
Posted: 2nd Aug 2008 19:42
hi ya,
Ive made a panel and added an image to the background and then wanted to add some child panels into that.
The problem Ive got is it wont display any images on the child panel?

hopefully someone can help me out
Ian G
15
Years of Service
User Offline
Joined: 3rd Jun 2008
Location: SSM, Canada
Posted: 6th Aug 2008 17:40 Edited at: 6th Aug 2008 17:41
Assuming you're using BlueGUI, make sure you've got a memblock command somewhere in your code so the compiler will include the memblock dll in order to use DBP images on panels. You can always use
so you don't actually call the command, but the compiler includes the needed dlls. If you're loading an external .bmp image (setpanelImage myPanel,"MyBitmap.bmp") it should work as memblock commands are not needed for that.
neilo20
15
Years of Service
User Offline
Joined: 25th Jul 2008
Location: UK
Posted: 7th Aug 2008 21:45
Thank you for replying my post

After a bit of trial and error I have located what was wrong!

I was calling the create commands within a function but the child image was not defined as global.

As soon as I added gadget16 to the global list it worked perfectly.

thanks again for replying tho

Login to post a reply

Server time is: 2024-03-28 09:16:30
Your offset time is: 2024-03-28 09:16:30