Troubleshooting

Script executed on interface change?

Started by matino on .

Sign in or create an account to join the conversation.

9 posts

Topic starter
Is there a way to execute a script when taping on an interface?

I have a tabbed container on an interface and i want to go directly to 1 tab each time i go to that interface instead of staying on the last tab selected.
Is there a way to do so?
yeah i know but some stuff are missing, like "selecttab".
This is a problem that exist for a long time. Even in jazzmutant (Legacy), the manual missed some infos...

Quick question when you update the version, do you update the manual or should we look for additionnal infos somewhere else?
Apologies for the confusion here, it was not my day. :-)

Functions to set Container tabs and to select Interface pages do exist.
selecttab(object, index)
selectinterface(index)

Functions to get the currently selected Container tab or Interface page do NOT exist.

Cheers,
NB
Hi Matino
One way to deal with this is to include Interface changing into your program design rather than using the automatic paging system.
Have buttons selecting your interfaces and then running scripts to do what you want to do.
Otherwise there may be some 'hacked' way around it all if you always want it to do this behaviour.
Then you have complete programmatic control of what you can do, (within the API that is).

Cheers
MM
If there is a way i'm all up for it!
Since there is a space reserved for interface tabs i really don't wanna waste another spot on the screen for this...

Do you have anymore infos?

@Liine maybe put this in the wishlist if its not done already? I mean put object where the interface tabs are.