1 Reply Latest reply on Jul 13, 2009 6:26 AM by mrvodka

    Changing the layout of an object via a script

    Ger

      Title

      Changing the layout of an object via a script

      Post

      In a certain procedure I am sending an email by pusshing a botton.

       

      I like to change the color of a botton via a script that is triggered by pushing the botton.

       

      Question: how to change the color of an object named 'accoordmail1'  from red to green

        • 1. Re: Changing the layout of an object via a script
          mrvodka
            

          Well if I understand you correctly and you want your button to change color if the email has been sent, then all you need is a number field, lets call it "sent", to mark it with a 1 if it was sent. This would be set as part of the script when the button is hit.

           

          Then you can use conditional formatting to change the color. ( checking the "sent" field )