PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Animations in tab control and also triggers
Animations in tab control and also triggers
Iniciado por sdbxox, 03,sep. 2019 15:17 - 2 respuestas
Publicado el 03,septiembre 2019 - 15:17
Hi. Still new and learning so hopefully someone may have the answers.

I have set up a tab control with 6 panes. No problem. However, when I click on the pane headings to change, they use the animation to slide in which is what I want. However, if I change a pane via code, the animation doesn't happen, the pane just appears. Is there a way to animate in code so that if I change the pane, it slides in as it does manually?

Thanks for any suggestions
Miembro registrado
52 mensajes
Publicado el 04,septiembre 2019 - 15:34
I Can't find a way to use ExecuteProcess : should be the best solution

Also you can use this, not perfect ... but it works:

AnimationPrepare(TAB_Noname1)
TAB_Noname1= 1
AnimationPlay(animScrollRight)


1 is tab number you want to show
use animScrollRight ot animScrollLeft to fit your needs.
Mensaje modificado, 04,septiembre 2019 - 15:34
Publicado el 04,septiembre 2019 - 17:04
You are indeed a hero! That works perfectly!