SUPPRIME LA COLONNE R DU GRID NUMÉRO N
ACTION
La commande GRID_COLUMN_DELETE N,C supprime la colonne C du GRID numéro N.
R doit appartenir au GRID :
- R doit être supérieur à 0,
- R doit être inférieur ou égal au nombre decolonnes du GRID numéro N.
SYNTAXE :
GRID_COLUMN_DELETE N,C
UTILISATION ERREUR EXEMPLE
grid 1:rem crée un GRID
rem le positionner
top 1,10:left 1,10
rem le dimensionner
width 1,350:height 1,150
rem remplir le GRID avec 5 lignes et 5 colonnes
grid_write 1,1,1,"Cellule 1,1"
grid_write 1,1,2,"Cellule 1,2"
grid_write 1,1,3,"Cellule 1,3"
grid_write 1,1,4,"Cellule 1,4"
grid_write 1,1,5,"Cellule 1,5"
grid_write 1,2,1,"Cellule 2,1"
grid_write 1,2,2,"Cellule 2,2"
grid_write 1,2,3,"Cellule 2,3"
grid_write 1,2,4,"Cellule 2,4"
grid_write 1,2,5,"Cellule 2,5"
grid_write 1,3,1,"Cellule 3,1"
grid_write 1,3,2,"Cellule 3,2"
grid_write 1,3,3,"Cellule 3,3"
grid_write 1,3,4,"Cellule 3,4"
grid_write 1,3,5,"Cellule 3,5"
grid_write 1,4,1,"Cellule 4,1"
grid_write 1,4,2,"Cellule 4,2"
grid_write 1,4,3,"Cellule 4,3"
grid_write 1,4,4,"Cellule 4,4"
grid_write 1,4,5,"Cellule 4,5"
grid_write 1,5,1,"Cellule 5,1"
grid_write 1,5,2,"Cellule 5,2"
grid_write 1,5,3,"Cellule 5,3"
grid_write 1,5,4,"Cellule 5,4"
grid_write 1,5,5,"Cellule 5,5"
wait 1000:rem attendre 1 seconde
rem détruire la colonne n° 3
grid_column_delete 1,3
GRID_COLUMN_DELETE
GRID_COLUMN_DELETE N,C
EN RAPPORT
GRID
GRID_CLEAR
GRID_COLUMN
GRID_COLUMN()
GRID_COLUMN_FIXED
GRID_COLUMN_FIXED()
GRID_COLUMN_INSERT
GRID_COLUMN_SIZING_OFF
GRID_COLUMN_SIZING_ON
GRID_COLUMN_WIDTH
GRID_COLUMN_WIDTH()
GRID_FIXED_COLOR
GRID_LOAD
GRID_ONE_COLUMN_WIDTH
GRID_ONE_COLUMN_WIDTH()
GRID_ONE_ROW_HEIGHT
GRID_ONE_ROW_HEIGHT()
GRID_READ$()
GRID_ROW
GRID_ROW()
GRID_ROW_DELETE
GRID_ROW_FIXED
GRID_ROW_FIXED()
GRID_ROW_HEIGHT
GRID_ROW_HEIGHT()
GRID_ROW_INSERT
GRID_ROW_SIZING_OFF
GRID_ROW_SIZING_ON
GRID_SAVE
GRID_WRITE
GRID_X_TO_COLUMN()
GRID_Y_TO_ROW()