PICTURE_BOTTOM

PICTURE_BOTTOM N

MET L'IMAGE EN BAS (ET LE CAPTION EN HAUT) DANS L'OBJET BUTTON_PICTURE NUMÉRO N

  • Type: Commande
  • Paramètre: 1
  • Groupe: Objets Système

ACTION

La commande PICTURE_BOTTOM N met l'image en bas (et le caption en haut) dans l'objet BUTTON_PICTURE numéro N

SYNTAXE : PICTURE_BOTTOM N

  • N = numéro d'objet système (entier ou réel). Doit être plus grand que 0 et inférieur ou égal au nombre maximum permis d'objets systèmes.

UTILISATION

  • La commande PICTURE_BOTTOM est utilisée pour mettre l'image en bas et le caption en haut dans un objet BUTTON_PICTURE

ERREUR

  • Si le numéro N n'est pas une expression correcte.
  • Si le numéro N excède le nombre maximum permis d'objets systèmes.
  • Si le numéro N est inférieur ou égal à 0.
  • Si l'objet système numéro N n'existe pas.
  • Si l'objet système numéro N n'est pas du type : BUTTON_PICTURE.

EXEMPLE

rem créer une button_picture

button_picture 1

height 1,80:width 1,80

rem dessiner une croix bleue sur fond rouge

color 1,200,0,0

2d_target_is 1

2d_pen_width 3

2d_pen_color 0,0,200

2d_line 0,0,25,25

2d_line 0,25,25,0

rem donner un texte

caption 1,"Texte"

wait 1000

picture_bottom 1

wait 1000

picture_left 1

wait 1000

picture_right 1

wait 1000

picture_top 1

EN RAPPORT

PICTURE_LEFT

PICTURE_RIGHT

PICTURE_TOP