Announcement

Collapse
No announcement yet.

Variables are not updated in the actual screen

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Variables are not updated in the actual screen

    I have an issue with the variables (labels).
    When i change the variable's value the label is not immediately updated into the actual screen .
    If i want to see the good value , i must to change to screen and return after that to my first screen .
    My code is like that:
    Code:
    L,18,504,291,25,255,255,255,14,"Arial:BI","=$GOADDRESS$","LEFT",,"DS=3,3,0,0,0"
    How can i change that please ?

  • #2
    Use the RELOADSCREEN Command

    "RELOADSCREEN" - Reloads current .skin file (screen)

    Comment


    • #3
      Hmmm I have never had to use any type of reloading the screen... I have used Variables with AutoIt scripts in the past. Soon as the script updates the variable, the label updates instantly in the skin..... I will test that when I get back home after work, just to see.
      Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

      My Fiero Build Thread

      Comment


      • #4
        No , the RELOADSCREEN don't solve my issue !
        That is curious is that a variable is not update , but a label defined into my plugin ,yes , my solution would be , i think to define a label with this variable ! No ?

        Comment


        • #5
          Ok, I just confirmed... When I put a variable into the skin, and use the skin tool to set the variable, it changes instantly in RR.
          (This is using the December 2011 RideRunner)

          This is the variable line in the skin:

          L,210,200,276,20,255,255,255,24,"Arial","=$TestVar $",,

          This is the line I put in the skin tool to set the variable:
          setvar;testvar;This test is working

          Here are a couple screen shots of the variable being set:

          Click image for larger version

Name:	VarTest0001.jpg
Views:	1
Size:	98.4 KB
ID:	2281523

          Click image for larger version

Name:	VarTest0002.jpg
Views:	1
Size:	103.6 KB
ID:	2281524
          Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

          My Fiero Build Thread

          Comment

          Working...
          X