Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ubel on Sun 06/03/2005 12:52:58

Title: Can I turn a label on/off? [SOLVED]
Post by: Ubel on Sun 06/03/2005 12:52:58
Hi! Is it possible to turn a GUI label on and off. I tried to search for a code for it in the Help Contents but I couldn't find anything like that.
Title: Re: Can I turn a label on/off?
Post by: Scorpiorus on Sun 06/03/2005 13:01:46
The upcoming AGS version (2.7) makes it possible with label.Visible property.
As a workaround, you can probably move it off the GUI area ( SetGUIObjectPosition(GUI, LABEL, -1000, -1000) ) or clear the text ( SetLabelText("") ).
Title: Re: Can I turn a label on/off?
Post by: Ubel on Sun 06/03/2005 13:09:06
Thanks! I'll try that. Good thing it's coming with the later version.