Dynamic Object Captions

hitekvoop

Well-Known Member
I'm trying to set the caption of a button dynamically such as (where SL is my universe identifier):

Code:
Zone.0.Scanrate=100
SL.Scanrate.Caption=Zone.0.Scanrate

The idea being that if I manipulate Zone.0.scanrate value, that value shows up on a button called "SL.Scanrate" present in my universe. Even if I set SL.Scanrate.Caption explicitly I can't seem to make it work, I tried with and without quotes wrapped around the value I'm trying to set.

Any ideas?
 
The only small addition is a function intstr()


SL.Scanrate.Caption=intstr( Zone.0.Scanrate )


Regards,
Alexey
 
Back
Top