Author Topic: Button goto and script not running  (Read 4379 times)


  • Newbie
  • *
  • Posts: 4
Button goto and script not running
« on: December 02, 2011, 11:17:20 AM »
My project jumps to another card but the script inside the gotobutton is not executed.
If I don't set the button to goto using the tool bar then the button's script runs but if the button is selected for goto then the script is ignored. How can the button script run and then jump to the required card?


  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Button goto and script not running
« Reply #1 on: December 02, 2011, 01:20:32 PM »
Hi Chandra

If you need a script to run inside a button then do not use the button's GotoCard property on the toolbar because that property disables a button's script.

Instead, just use the GotoCard command inside your button:-
Code: [Select]

@ button script to run
IF (x=2) THEN
   GotoCard 2

GotoCard 4


I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.