Hi
Help search still down.
I have a gui (gPanel customised) with a button on scripted as gPanel.Visible=false; but the button is not active... it is set to Run Script.
function CloseInfo_OnClick(GUIControl *control, MouseButton button)
{
gPanel.Visible=false;
}
any ideas why?
cheers
barefoot
I assume "the button is not active" means that gPanel remains visible. Are you sure you're not setting it to visible somewhere else?
Hi Matti
Well, I checked everything in Global and it seemed ok though I suspected an error somewhere but then I decided to Import new gPanel and set the interface and button up again and surprise surprise it worked.. Odd.. anyhow, ok now.
cheers
:=
barefoot