ID:161162
 
I'm am taking programming and design in college and we have been playing with VB(Visual Basic) now the interface setup is slightly similar to that of BYOND although in VB when you want to disable a button at run-time you would do

btnButton.enabled = False

How would you do that in byond at run-time

For example I would like to have buttons/links/Menu Items disabled and as the player does something or at a certian time make them avaliable! Thanks
winset(usr,"btnButton","is-disabled=\"true\"")


More information can be found in the Skin Reference and winset, etc entires in the reference.
In response to Devourer Of Souls
Thank you, I have been on BYOND forever but still getting used to the interface! Thanks Again
In response to Devourer Of Souls
Devourer Of Souls wrote:
More information can be found in the Skin Reference...

Really wish that I could get there. Skin Reference doesn't seem to exist as every one of the links to get there has failed for me.
In response to Hiro the Dragon King
To see the skin reference, do this:

In DM, go to Help > Skin Reference. Yep, that simple and hidden.
In response to GhostAnime
GhostAnime wrote:
In DM, go to Help > Skin Reference. Yep, that simple and hidden.

That wasn't there when I tried earlier. I closed it like ten minutes ago, then I read this, opened DM and magically it's there now