pictogram Auteur: Patrick Biker
Date: 18 mars 2006
Maj : 21 Mars 2015

Des exemples d'utilisation des fonctions du WLangage

Rien de tel qu'un exemple pour comprendre une fonction de WLangage. Dans cette section, vous trouverez des exemples simples.

Des exemples évolués, où la fonction est utilisée en contexte, sont également disponible sur ce site.

Aller à la page des exemples évolués

AnimationChangeParametre (en anglais AnimationSetParameter)

// Changement des paramètres d'animation d'une image
AnimationChangeParamètre (Image1, " AllerRetour" , Vrai )


Début de la page

AnimationChangeParametre (en anglais AnimationSetParameter)

// Changement des paramètres d'animation d'un libellé
AnimationChangeType(MonLibellé, "Clignotement")
AnimationChangeParamètre (MonLibellé, "Durée", 100)
AnimationChangeParamètre (MonLibellé, "Couleur", iBleuFoncé )


Début de la page

AnimationChangeType (en anglais AnimationSetType)

// Change l'animation du champ IMAGE1
AnimationChangeType (Image1, "Défilement")


Début de la page

AnimationChangeType (en anglais AnimationSetType)

// Changement des paramètres d'animation d'un libellé
AnimationChangeType (MonLibellé, "Clignotement")
AnimationChangeParamètre(MonLibellé, "Durée", 100)
AnimationChangeParamètre(MonLibellé, "Couleur", iBleuFoncé )


Début de la page

AnimationLitParametre (en anglais AnimationGetParameter)

SI AnimationLitParamètre (Image1, "Boucle") = Vrai ALORS
    AnimationChangeParamètre(Image1, "Boucle", Faux )
FIN


Début de la page

AnimationLitParametre (en anglais AnimationGetParameter)

SI AnimationLitParamètre (LibNomClient, "Couleur") = iTransparent ALORS
    AnimationChangeParamètre(LibNomClient, "Couleur", iJauneClair )
FIN


Début de la page