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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Wed Jan 09, 2008 7:16 pm   

[2.18 Pro] Buttons blank on session load
 
This is from my Treant Calendar package, which is now available in the Package Library online.

I've got buttons to display the date and time of day. The default values displayed before connecting will both be "Unknown" except that my buttons are blank. Just connecting doesn't update the display, but when I actually log in and sync the date and time values, it updates properly. So, it's more of a "buttons are not initialized on session open after variables are reset" sort of issue. Nothing major.

Code:
<button name="btn_time" autosize="false" width="140" height="20" toolstyle="true" transparent="false" color="black" textcolor="yellow" gaugelowcol="red" gaugebackcol="#E0DFE3" priority="2" id="49">
  <caption>@time</caption>
  <value>time</value>
</button>

Code:
<var name="time" type="Literal" usedef="true" id="11">
  <value>Night</value>
  <default>Unknown</default>
</var>
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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