ITEM_SELECT N,L

SELECTIONNE L'ARTICLE NUMÉRO L DE L'OBJET SYSTÈME NUMÉRO N



ACTION

La commande ITEM_SELECT N,L sélectionne la ligne (article) numéro L de l'objet système désigné par son numéro N.

L'objet système est du type : MEMO, MEMO_RICH, COMBO, LIST, SYNEDIT.

Remarque 1: la première ligne a le numéro 1.

Remarque 2: si L vaut 0, la sélection est annulée.


SYNTAXE : ITEM_SELECT N,L


UTILISATION


ERREUR


EXEMPLE

' créer un LIST

list 1

' remplir le LIST avec 3 lignes

item_add 1,"c'est la ligne 1"

item_add 1,"c'est la ligne 2"

item_add 1,"c'est la ligne 3"

' attendre pendant 1 seconde

wait 1000

' sélectionner la deuxième ligne

item_select 1,2


EN RAPPORT

MEMO

MEMO_RICH

COMBO

LIST

FILE_ADD

ITEM_ADD

ITEM_INSERT

ITEM_DELETE

ITEM_SELECT

COUNT()

ITEM_INDEX()

ITEM_INDEX$()

ITEM_READ$()


Content created by Jack. Updated March 07, 2025