Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum. Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !

CALCULATRICE EN DIALOG


Information sur la source

Catégorie :AddOns Niveau : Débutant Date de création : 27/07/2003 Date de mise à jour : 27/07/2003 20:43:51 Vu : 1 377

Note :
4,5 / 10 - par 2 personnes
4,50 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10

Commentaire sur cette source (4)
Ajouter un commentaire et/ou une note

Description

Bas voila tout est dans le titre :)
A mettre dans les remots et voilà.....
 

Source

  • menu channel,status,query {
  • .-
  • oO°Calculette°Oo :/dialog -m ca ca
  • .-
  • }
  • dialog ca {
  • title "Calculatrice by walt2001"
  • size -1 -1 154 80
  • option dbu
  • edit "", 1, 16 6 118 11, read
  • button "0", 2, 9 56 31 10, flat
  • button "1", 3, 9 45 31 10, flat
  • button "2", 4, 9 34 31 10, flat
  • button "3", 5, 9 23 31 10, flat
  • button "4", 6, 41 56 31 10, flat
  • button "5", 7, 41 45 31 10, flat
  • button "6", 8, 41 34 31 10, flat
  • button "7", 9, 41 23 31 10, flat
  • button "8", 10, 73 56 31 10, flat
  • button "9", 11, 73 45 31 10, flat
  • button "C", 12, 73 34 31 10, flat
  • button ",", 13, 73 23 31 10, flat
  • button "+", 14, 105 56 31 10, flat
  • button "x", 15, 105 45 31 10, flat
  • button "÷", 16, 105 34 31 10, flat
  • button "-", 17, 105 23 31 10, flat
  • button "=", 18, 138 29 12 29, flat
  • button "Fermer", 19, 18 68 115 11, flat ok
  • }
  • on *:dialog:ca:sclick:*: {
  • if ($did == 2) { did -a ca 1 0 }
  • if ($did == 3) { did -a ca 1 1 }
  • if ($did == 4) { did -a ca 1 2 }
  • if ($did == 5) { did -a ca 1 3 }
  • if ($did == 6) { did -a ca 1 4 }
  • if ($did == 7) { did -a ca 1 5 }
  • if ($did == 8) { did -a ca 1 6 }
  • if ($did == 9) { did -a ca 1 7 }
  • if ($did == 10) { did -a ca 1 8 }
  • if ($did == 11) { did -a ca 1 9 }
  • if ($did == 12) { /did -r ca 1 C }
  • if ($did == 13) { did -a ca 1 . }
  • if ($did == 14) { did -a ca 1 + }
  • if ($did == 17) { did -a ca 1 - }
  • if ($did == 15) { did -a ca 1 * }
  • if ($did == 16) { did -a ca 1 / }
  • if ($did == 18) { did -ra ca 1 $calc($did(1)) }
  • }
menu channel,status,query {
  .-
  oO°Calculette°Oo :/dialog -m ca ca
  .-
}
dialog ca {
  title "Calculatrice by walt2001"
  size -1 -1 154 80
  option dbu
  edit "", 1, 16 6 118 11, read
  button "0", 2, 9 56 31 10, flat
  button "1", 3, 9 45 31 10, flat
  button "2", 4, 9 34 31 10, flat
  button "3", 5, 9 23 31 10, flat
  button "4", 6, 41 56 31 10, flat
  button "5", 7, 41 45 31 10, flat
  button "6", 8, 41 34 31 10, flat
  button "7", 9, 41 23 31 10, flat
  button "8", 10, 73 56 31 10, flat
  button "9", 11, 73 45 31 10, flat
  button "C", 12, 73 34 31 10, flat
  button ",", 13, 73 23 31 10, flat
  button "+", 14, 105 56 31 10, flat
  button "x", 15, 105 45 31 10, flat
  button "÷", 16, 105 34 31 10, flat
  button "-", 17, 105 23 31 10, flat
  button "=", 18, 138 29 12 29, flat
  button "Fermer", 19, 18 68 115 11, flat ok
}
on *:dialog:ca:sclick:*: {
  if ($did == 2) { did -a ca 1 0 }
  if ($did == 3) { did -a ca 1 1 }
  if ($did == 4) { did -a ca 1 2 }
  if ($did == 5) { did -a ca 1 3 }
  if ($did == 6) { did -a ca 1 4 }
  if ($did == 7) { did -a ca 1 5 }
  if ($did == 8) { did -a ca 1 6 }
  if ($did == 9) { did -a ca 1 7 }
  if ($did == 10) { did -a ca 1 8 }
  if ($did == 11) { did -a ca 1 9 }
  if ($did == 12) { /did -r ca 1 C }
  if ($did == 13) { did -a ca 1 . }
  if ($did == 14) { did -a ca 1 + }
  if ($did == 17) { did -a ca 1 - }
  if ($did == 15) { did -a ca 1 * }
  if ($did == 16) { did -a ca 1 / }
  if ($did == 18) { did -ra ca 1 $calc($did(1)) }
}
 

Conclusion

mettez des commentaire pas torp méchants :D
 

Commentaires et avis

signaler à un administrateur
Commentaire de Tiboug le 28/07/2003 11:06:44

arf ,  franchemen maintenan des calculettes on en a vu des milliers
ca sert a rien den faire ou faites les mais les postez pas , surtout un truc aussi facil .....

signaler à un administrateur
Commentaire de thyb le 29/07/2003 00:40:25

deja vu, en plus meme pas complet

signaler à un administrateur
Commentaire de HeXoR le 30/07/2003 13:06:57

banal

signaler à un administrateur
Commentaire de Korniax le 20/12/2003 17:17:15

idem  lol

Ajouter un commentaire



Nos sponsors

Sondage...

CalendriCode

Juillet 2009
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
2728293031  

Consulter la suite du CalendriCode

Comparez les prix Nouvelle version

Photothèque Nouveau !



Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés
Temps d'éxécution de la page : 0,593 sec

Google Coop CodeS-SourceS Google Coop CodeS-SourceS


Certaines images présentes sur le site (notament certains avatars) sont issues des collections IconShock, donc si vous souhaitez utiliser ces icons vous devez les acheter, ne les copiez pas et ne utilisez pas dans vos sites et applications sans les avoir commandé.