Jump to content

[GUI] Remove an element from a dialog

Recommended Posts



I will try to explain that quickly : I made a dialog with some buttons, text and images.
I would like to know if it is possible to remove one element from the dialog when I click on one of the button.


So let's imagine a window with 2 images in it and 2 buttons in it : one button to remove the image 1, one other to remove the image 2. Everything is in the same window . 
How can I do that ?


I know about the function closeDialog idc, but it's not what I want because it closes everything. I tried the function with the idc of the element I want to remove, but it closes everything so I guess that I'm using this function wrong.


I hope that you understand what I'm trying to do.

Thank you ! :-)

Share this post

Link to post
Share on other sites

This is exactly what I was looking for, ctrlShow is doing the job.

Thank you very much killzone_kid !

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now