MET L'IMAGE EN HAUT (ET LE CAPTION EN BAS) DANS L'OBJET BUTTON_PICTURE NUMÉRO N
ACTION
La commande PICTURE_TOP N met l'image en haut (et le caption en bas) dans l'objet BUTTON_PICTURE numéro N
SYNTAXE :
PICTURE_TOP N
UTILISATION ERREUR 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
PICTURE_TOP
PICTURE_TOP N
EN RAPPORT
PICTURE_BOTTOM
PICTURE_LEFT
PICTURE_RIGHT