Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Oddyfish
Newbie


Joined: 13 Jun 2004
Posts: 9
Location: United Kingdom

PostPosted: Mon Jun 14, 2004 1:39 am   

Disabled buttons
 
Can I disable buttons a-la Windows 'you can't click me' style.

This is a bit of a follow on from my last post - but I thought it might be interesting as a seperate topic.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Jun 14, 2004 3:23 am   
 
Sure use the %btnenable function. My favorite way to do it is directly in the button caption. That way my scripts don't even have to know there is a button there, they just set the variables they normally set and the button picks up the correct state for itself.
Reply with quote
Oddyfish
Newbie


Joined: 13 Jun 2004
Posts: 9
Location: United Kingdom

PostPosted: Mon Jun 14, 2004 1:22 pm   
 
Oh wow - thats EXACTLY what I was after.

Good man that man!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net