<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 Jun 2020 15:32:54 Z</lastBuildDate><pubDate>11 Jun 2020 17:48:40 Z</pubDate><description>Bonjour à tous,&#13;
j'ai plusieurs fois essayé de simplifier mon code mais sans succès. Pouvez vous m'aider ? voici mon code:&#13;
&#13;
SI SAI_BTN_001 = "Occupée" ALORS&#13;
	BTN_CHAMBRE_001 = "001" + " Occupée"&#13;
	BTN_CHAMBRE_001..ImageFond = Null&#13;
	BTN_CHAMBRE_001..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_001 = "Réservée" ALORS&#13;
	BTN_CHAMBRE_001 = "001" + " Réservée"&#13;
	BTN_CHAMBRE_001..ImageFond = BTN_RESERVER..ImageFond&#13;
	BTN_CHAMBRE_001..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_002 = "Occupée" ALORS&#13;
	BTN_CHAMBRE_002 = "002" + " Occupée"&#13;
	BTN_CHAMBRE_002..ImageFond = Null&#13;
	BTN_CHAMBRE_002..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_002 = "Réservée" ALORS&#13;
	BTN_CHAMBRE_002 = "002" + " Réservée"&#13;
	BTN_CHAMBRE_002..ImageFond = BTN_RESERVER..ImageFond&#13;
	BTN_CHAMBRE_002..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_003 = "Occupée" ALORS&#13;
	BTN_CHAMBRE_003 = "003" + " Occupée"&#13;
	BTN_CHAMBRE_003..ImageFond = Null&#13;
	BTN_CHAMBRE_003..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_003 = "Réservée" ALORS&#13;
	BTN_CHAMBRE_003 = "003" + " Réservée"&#13;
	BTN_CHAMBRE_003..ImageFond = BTN_RESERVER..ImageFond&#13;
	BTN_CHAMBRE_003..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_004 = "Occupée" ALORS&#13;
	BTN_CHAMBRE_004 = "004" + " Occupée"&#13;
	BTN_CHAMBRE_004..ImageFond = Null&#13;
	BTN_CHAMBRE_004..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_004 = "Réservée" ALORS&#13;
	BTN_CHAMBRE_004 = "004" + " Réservée"&#13;
	BTN_CHAMBRE_004..ImageFond = BTN_RESERVER..ImageFond&#13;
	BTN_CHAMBRE_004..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_005 = "Occupée" ALORS&#13;
	BTN_CHAMBRE_005 = "005" + " Occupée"&#13;
	BTN_CHAMBRE_005..ImageFond = Null&#13;
	BTN_CHAMBRE_005..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
SI SAI_BTN_005 = "Réservée" ALORS&#13;
	BTN_CHAMBRE_005 = "005" + " Réservée"&#13;
	BTN_CHAMBRE_005..ImageFond = BTN_RESERVER..ImageFond&#13;
	BTN_CHAMBRE_005..CouleurFond = RougeFoncé&#13;
FIN&#13;
&#13;
--&#13;
Très respectueusement</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code/read.awp</link><title>simplifier un code</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Stephane Vital OHOU</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240370/read.awp</comments><pubDate>12 Jun 2020 15:32:54 Z</pubDate><description>Bonjour Jordan,&#13;
&#13;
Merci de me l'accorder. Je crois que avec toutes ces bonnes réponses, je vais pouvoir moi aussi aider quelqu'…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240370/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240370/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code/read.awp">simplifier un code</source><title>Re: simplifier un code</title></item><item><author>Ndrj</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240348/read.awp</comments><pubDate>11 Jun 2020 21:08:29 Z</pubDate><description>Bonjour,&#13;
&#13;
Tu avais déja demander de simplifier ton code (il y a une petite variante je te l'accorde)&#13;
&#13;
https://forum.pcsoft.f…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240348/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240348/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code/read.awp">simplifier un code</source><title>Re: simplifier un code</title></item><item><author>Philippe SB</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240347/read.awp</comments><pubDate>11 Jun 2020 20:06:38 Z</pubDate><description>[code:wl]&#13;
BoutonChambre est un Champ&#13;
&#13;
POUR nchambre=1 À 5&#13;
	BoutonChambre &lt;- {"BTN_CHAMBRE_"+NumériqueVersChaîne(nchambre,"03…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240347/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240347/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code/read.awp">simplifier un code</source><title>Re: simplifier un code</title></item><item><author>Stephane Vital OHOU</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240346/read.awp</comments><pubDate>11 Jun 2020 20:06:35 Z</pubDate><description>Salut Samir BOUCHETIBAT,&#13;
                                        extraordinaire ton code simplifié. Il marche très bien. Merci&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240346/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240346/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code/read.awp">simplifier un code</source><title>Re: simplifier un code</title></item><item><author>Samir BOUCHETIBAT</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240344/read.awp</comments><pubDate>11 Jun 2020 19:06:51 Z</pubDate><description>Bonjour,&#13;
Avec des indirections par exemple :&#13;
&#13;
[code]&#13;
POUR nchambre=1 À 5&#13;
&#13;
  SI {"SAI_BTN_"+Droite("000"+nchambre,3),indCha…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240344/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code-240344/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240341-simplifier-code/read.awp">simplifier un code</source><title>Re: simplifier un code</title></item></channel></rss>
