Graphics

 View Only
  • 1.  Xpression script edition

    Posted 04-03-2017 15:13

    Hi All,

    My knowledge in scripting is close to 0, but this one works fine on Xp 6.7 and not with Xp 5.4 and I have no idea why, does anybody knows??
    I'm stuck right there...
    I am just trying to make 3 different textobject to change automatically with the first one.



    dim texte1 as xpTextObject
    dim texte2 as xpTextObject
    dim texte3 as xpTextObject
    self.GetObjectByName("Programme1", texte1)
    self.GetObjectByName("Programme2", texte2)
    self.GetObjectByName("Programme3", texte3)
    texte2.Text = texte1.Text
    texte3.Text = texte1.Text





    Thanks!

    Schaack



  • 2.  RE: Xpression script edition

    Posted 04-03-2017 20:43
    Hello. Most likely, you were mistaken. Maybe in a script, maybe in a scene. The code works on both 3 and 5 and 6 versions. I checked. Check. Maybe even try to import the scene from project 6 version to version 5. Or put scene 5 version here.
    #XPression


  • 3.  RE: Xpression script edition

    Posted 04-04-2017 15:49
    Thanks for your answer. At least I can be sure it works !

    Actually we've tryied it on Xp5 again after my post.. and it worked too... and then did not again... we don't know why it does that..
    We are thinking of a bug of interference because there is several versions installed ..
    #XPression