Get Started
·
Register
·
Login
Posts
ID:558933
Favorites
Creations
Manually closing a skin window
in
Developer Help
[Tips]
ID:558933
Mar 21 2012, 10:59 am
(See the
best response
by DarkCampainger.)
Zerok Kaiba
How do I close a window without using the close button?
#1
Mar 21 2012, 1:54 pm
Best response
DarkCampainger
You can use
winshow()
, or you can use
winset()
to set the
is-visible
property to false.
#2
Mar 21 2012, 10:05 pm
Zerok Kaiba
Thanks again DarkCampainger.
#3
Mar 22 2012, 12:37 am
LaNuiit
winset(
"
[window]
.
[control]
"
,
"is-visible=false"
)
The control_id can be a window name, or in a "[window].[control]" format, or just the control ID as long as it is unique.
is-visible=false
will close the window
is-visible=true
will open the window
Copyright © 2013 BYOND. All rights reserved.