7 Replies Latest reply: Mar 19, 2015 6:49 PM by leo kaplun RSS

    OnClick Event

      I have a text object (TX1) that has a bunch of Action attached to it. I need to have another text object (TX2) that does everything that TX1 does and a few more actions. Instead of replicating all the actions of TX1 into TX2 I thought I could just get TX2 to 'click' TX1. But I can't seem to get it working. Activate Object seems to just highlight the object.

        • Re: OnClick Event
          Jyothish KC

          Hi Leo,

           

          Can explain your last line a bit more?

          ". Instead of replicating all the actions of TX1 into TX2 I thought I could just get TX2 to 'click' TX1. But I can't seem to get it working. Activate Object seems to just highlight the object."

           

          Regards

          KC

            • Re: OnClick Event

              For example:

              click on TX1 >> change color to green, hide some objects, show other objects.

              click on TX2 >> [change color to green, hide some objects, show other objects] + show/hide some other object.

               

              I dont want to replicate the Actions in TX2, I just want TX1 to be  automatically 'clicked' when TX2 is actually cliked

            • Re: OnClick Event
              hariprasad avula

              You can achieve it only through the Macro. Button won't support such kind of actions as per my concern.

              • Re: OnClick Event
                Andrew Whitfield

                What's the benefit of having Text 2 click Text 1? I don't get it. If it's just to save time creating Text 2, then just copy and paste TEXT 1 and add the extra bits to it..

                  • Re: OnClick Event

                    I guess copying will be most efficient. It's a bit hard to explain, but I need to work with multiple levels tabs.

                    I tires using Container objects, but they are very difficult to work with, especially if you have one inside of the other and if you need to have things like lines together with other objects.

                    I already have a few buttons that do a lot of actions, I thought that if I could have another button that 'clicks' the button with many actions, it will be simpler to maintain.