<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>6 Nov 2018 14:27:42 Z</lastBuildDate><pubDate>1 Nov 2018 17:19:07 Z</pubDate><description>Bonjour tout le monde,&#13;
&#13;
J'ai un petit soucis, je m'explique.&#13;
&#13;
je doit déplacer une image dans une autre image pour le déplacement aux touches du clavier (flèches) pas de problème, j'applique un pas de 1 pix mais voila je désire que si l'utilisateur appuy sur la touche shift que le pas change a 10, mais si on laisse le doit appuyer cela ne marche pas.&#13;
&#13;
&#13;
Voici le code que j'ai pour le moment (j'ai compensé avec une variable, mais c'est pas élégant)&#13;
&#13;
[code:wl]&#13;
&#13;
PROCEDURE Deplacement()&#13;
&#13;
&#13;
SI TableOccurrence(TABLE_Calques)=0 ALORS RENVOYER Faux&#13;
 &#13;
&#13;
SI _EVE.wParam = VK_SHIFT ALORS&#13;
	SI gnPasAvancement=1 ALORS &#13;
		gnPasAvancement=10&#13;
	SINON&#13;
		gnPasAvancement=1&#13;
	FIN&#13;
FIN&#13;
&#13;
&#13;
SELON _EVE.wParam&#13;
	CAS VK_RIGHT&#13;
		nomimg est une chaîne&#13;
		nomimg = TABLE_Calques.COL_NomImage&#13;
		{nomimg,indChamp}..X+=gnPasAvancement&#13;
		CAS VK_LEFT&#13;
			nomimg est une chaîne&#13;
			nomimg = TABLE_Calques.COL_NomImage.&#13;
			{nomimg,indChamp}..X-=gnPasAvancement&#13;
			CAS VK_DOWN&#13;
				nomimg est une chaîne&#13;
				nomimg = TABLE_Calques.COL_NomImage&#13;
				{nomimg,indChamp}..Y+=gnPasAvancement&#13;
				CAS VK_UP&#13;
					nomimg est une chaîne&#13;
					nomimg = TABLE_Calques.COL_NomImage&#13;
					{nomimg,indChamp}..Y-=gnPasAvancement&#13;
	AUTRE CAS&#13;
		&#13;
FIN&#13;
&#13;
&#13;
[/code]&#13;
&#13;
Si quelqu'un as une idée elle est la bienvenue.&#13;
&#13;
Cordialement</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift/read.awp</link><title>Intercepter la touche SHIFT</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>contact</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift-221745/read.awp</comments><pubDate>6 Nov 2018 14:27:42 Z</pubDate><description>Merci, je vais tester&#13;
&#13;
Cordialement</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift-221745/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift-221745/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift/read.awp">Intercepter la touche SHIFT</source><title>Re: Intercepter la touche SHIFT</title></item><item><author>Francis MOREL</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift-221648/read.awp</comments><pubDate>2 Nov 2018 16:13:10 Z</pubDate><description>Bonjour,&#13;
&#13;
Perso j'aurai plutôt fait &#13;
[code:wl]&#13;
SI TableOccurrence(TABLE_Calques)=0 ALORS RENVOYER Faux&#13;
&#13;
SI ToucheEnfoncée(…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift-221648/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift-221648/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221634-intercepter-touche-shift/read.awp">Intercepter la touche SHIFT</source><title>Re: Intercepter la touche SHIFT</title></item></channel></rss>
