Page 1 of 1

gérer appui long sur un switch

Posted: Thu Apr 26, 2012 10:57 am
by boogui
bonjour a tous

je voudrais utiliser un bouton pour deux actions différentes, je pensais donc à appui court=enter et appui long=exit
je n'ai pas trop d'idée sur comment procéder.

merci

Re: gérer appui long sur un switch

Posted: Thu Apr 26, 2012 1:20 pm
by dazz
bonjour, essayez le code ci-joint, il montre comment ajouter une branche décision et un délai pour faire un bouton de réaliser deux actions, espérons que cette aide, a dû utiliser Google Translate donc espérer de ce qui précède a un sens
dazz


hello try the attached code, it shows how to add a decision branch and a delay to make one button carry out two actions hope this helps, had to use google translate so hope the above makes sense
dazz