CHAI3DCHAI3D

normal Delete an existing picture

More
23 Jun 2016 22:19 #1

Hello,

Is it possible to delete a picture, which I have inserted before? I have tried some commands, but it was not ?possible to delete this picture.

Thanks in advance?

Please Log in or Create an account to join the conversation.

More
23 Jun 2016 22:24 #2

Are you referring to a post you made in the past?

Please Log in or Create an account to join the conversation.

More
25 Jun 2016 13:21 #3

What do you mean exactly?

Please Log in or Create an account to join the conversation.

More
25 Jun 2016 23:44 #4

What kind of picture do you want to delete?

Please Log in or Create an account to join the conversation.

More
26 Jun 2016 09:48 #5

It is a png-file or a jpg-file. I want to programm a game, which shows you, if you win, "congratulation". Furthermore this pricture (congratulation) should go away, if I push a certain button...

Please Log in or Create an account to join the conversation.

More
29 Jun 2016 15:46 #6

To display messages in 2D, you can either use a label widget (cLabel) to display a line of text. See example 03-analytics for instance. Or otherwise you can also use a bitmap image as you suggested (cBitmap). See example 06-images.

In both cases, to show or hide the image/label, simply call the following method:

// hide bitmap image
myBitmap->setShowEnabled(false);

// show bitmap image
myBitmap->setShowEnabled(true);

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum