Command Line

Command LBINSERT

Function:

Insert a string at a specified locating in a list box.
Syntax:
LBINSERT dlg_id id index "string"
dlg_idSpecifies the identifier of the dialog box that contains the list box.
idSpecifies the identifier of the list box.
indexSpecifies the index to insert the string into.
stringSpecifies a sequence of characters to insert into the list box.
Note:
  • Indexes are zero based, that is, the first string in the list box is at index 0, the second string is at index 1 and so on.
  • Unlike command LBADD, command LBINSERT does not cause a list with a Sort style to be sorted.
  • Also see command LBADD and LBDELETE.

Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc