ITEM_INSERT N,L,T
INSÉRE L'ARTICLE T APRÈS LA LIGNE L DANS L'OBJET SYSTÈME NUMÉRO N
ACTION
La commande ITEM_INSERT N,L,T ajoute le texte T comme ligne (article) après la ligne numéro L dans l'objet système désigné par son numéro N.
L'objet système est un : MEMO, MEMO_RICH, COMBO, LIST, DLIST, SYNEDIT.
Remarque: la première ligne a le numéro 1.
SYNTAXE : ITEM_INSERT N,L,T
UTILISATION
ERREUR
EXEMPLE
' créer un LIST
list 1:width 1,150
' remplir le LIST avec 2 lignes
item_add 1,"c'est la ligne 2"
item_add 1,"c'est la ligne 3"
' wait for 1 second
wait 1000
' insérer une ligne en première position
item_insert 1,1,"c'est la première ligne"
EN RAPPORT
MEMO
MEMO_RICH
COMBO
LIST
DLIST
SYNEDIT
FILE_ADD
ITEM_ADD
ITEM_DELETE
ITEM_SELECT
ITEM_INDEX$()
ITEM_INDEX()
ITEM_INDEX$()
ITEM_READ$()
COUNT()
Content created by Jack. Updated March 07, 2025