View Single Post
  #4  
Old 10-05-2007, 09:53 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Stefan View Post
How its not updating properly? What text do you see ?
When the arrows are pushed, the text just remains the same.

For example, if you take the example code off of the wiki:
PHP Code:
new GuiTextEditSliderCtrl("Test_EditSlider") {
  
profile GuiBlueTextEditSliderProfile;
  
10;
  
10;
  
width 160;
  
height 20;
  
format "Edit $d Slider";
  
range = {1,200};
  
value 123;

The slider says "Edit 1 slider" no matter what. If you change format to:
PHP Code:
format "$d Slider"
Then it is working fine.


(Again, replace $ with the percent sign).
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote