Remove image property of StaticImage?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

westpointer
Just popping in
Just popping in
Posts: 16
Joined: Sat Nov 15, 2008 13:12

Remove image property of StaticImage?

Postby westpointer » Tue Jun 30, 2009 05:22

Hello, I set the imge property of a StaticImage using:

Code: Select all

mWnd->setProperty("Image", "set:MainMenuImage image:full_image");

And I want to remove the image I set for this StaticImage at other place in my code, but I dont know how. :?:

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Remove image property of StaticImage?

Postby CrazyEddie » Tue Jun 30, 2009 09:10

Code: Select all

mWnd->setProperty("Image", "");


HTH

CE.

westpointer
Just popping in
Just popping in
Posts: 16
Joined: Sat Nov 15, 2008 13:12

Re: Remove image property of StaticImage?

Postby westpointer » Tue Jun 30, 2009 15:45

Thanks CE, It helps. :)


Return to “Help”

Who is online

Users browsing this forum: No registered users and 35 guests