ListRemoveRow(listboxName As String, rowNumber As Integer)

 

Deletes the specified row of listbox listboxName.

  

 

Parameters:

 

Name

Type

Value

Description

listboxName

String

name

ScreenFieldName of the listbox to set the number of columns.

Ctrl+Click onto a listbox to retrieve its listboxName

(= ScreenFieldName).

rowNumber

Integer

0 - n

Index of row to be deleted.

rowNumber  is zero-based

  

Available in:

 

WindowMain

WindowLink

YES

YES

 

Used in:

 

XojoScript Name

GUID

Delete selected item and price in finances

35299AF9-97D6-45CD-9014-7460F8396199

Delete selected price from eventlist

813368EF-BD00-4341-BF44-AB606CC49FEE

Delete seminar participation payment

FBE87F41-596E-4C04-BB74-1B9A8FA21FEF

 

Hint: You can find references to XojoScripts which make use of this function by sending the following SQL statement to the database:

Select id,GUID, ScriptName,ScriptCode from im_scripts where ScriptCode Like '%ListRemoveRow%'

 

Example XojoScript:

 

// Delete selected price and code from list in events

Dim lb As String = "imLB_evt_List3"

ListRemoveRow(lb,ListIndex(lb))