Dynamic Object Captions

Discussion in 'PangoScript, Universe and Midi Templates' started by hitekvoop, Feb 5, 2016.

  1. hitekvoop

    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?
     
  2. ENOT

    ENOT Software Developer Staff Member

    The only small addition is a function intstr()


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


    Regards,
    Alexey
     

Share This Page