Listview
LVCLICKSCRIPT |
Script that is run when an item is clicked in the listview. |
RW |
LVCLICKSCRIPTFILE |
Scriptfile that is run when an item is clicked in the listview. |
RW |
LVDOUBLECLICKSCRIPT |
Script that is run when an item is doubleclicked in the listview. |
RW |
LVDOUBLECLICKSCRIPTFILE |
Scriptfile that is run when an item is doubleclicked in the listview. |
RW |
LVSELECTSCRIPT |
Script that is run when an item is selected in the listview. |
RW |
LVSELECTSCRIPTFILE |
Scriptfile that is run when an item is selected in the listview. |
RW |
LVINDEX |
Index (starts with 0) to get or set the selected row. |
RW |
LVROWS |
Returns the total rows in the listview. |
R |
LVINFOSHOWOPTION |
This variable determines when/if the Info is shown in the listview when an item is selected. Default value is 1. 0: Info is not copied to the textbox 1: Info is copied to the textbox 2: Info is copied to the textbox 3: Info is copied to the textbox |
RW |
LVSetFontSize(size As Single) As Boolean |
LVGetText(row As String, columnIndex As Integer) As String |
LVSetText(row As String, columnIndex As Integer, value As String) As Boolean |
LVGetChecked(rowindex As Integer) As Boolean (index is0-based) |
LVSetChecked(rowindex As Integer, value As Boolean) As Boolean |
GetIndexOnKey(Key As String) As Integer |
|
LVCreate() As Boolean |
LVRemove() As Boolean |
LVSetView(Optional IsGroupsShown As Boolean = True, Optional IsGridLinesShown As Boolean = False, Optional IsCheckBoxesShown As Boolean = False, Optional View As String = "Details") As Boolean |
LVClear() As Boolean |
LVAutoResize() As Boolean |
|
LVSetHeader(headerInfo As String, Optional show As Boolean = True, Optional sort As Boolean = False) As Boolean |
LVSetGroup(groupname As String, header As String) As Boolean |
LVGetInfo(rowindex As Integer) As String (index is 0-based, -1 is last item, -2 is second last, etc.) |
LVSetInfo(rowindex As Integer, value As String) As Boolean |
LVAddRows(content As String) As Boolean |
LVAddRow(RowInfo As String, Optional Info As String = "", Optional Group As String = "") As Boolean |
|
LVFilterIn(value As String, columnIndex As Integer, Optional exactCompare As Boolean = False) As Boolean (index is 0-based, -1 is last item, -2 is second last, etc.) |
LVFilterOut(value As String, columnIndex As Integer, Optional exactCompare As Boolean = False) As Boolean (index is 0-based, -1 is last item, -2 is second last, etc.) |
LVFilterClear() As Boolean |
|
LVSetXML(XML as string) as string |
LVGetXML(XML as string) as string |
Rows are separated by a new line. Column information is separated by '|' or '\'.
Properties per column are separated by '/;' or by '/+' and can be:
WIDTH, FILTER, ALIGN (Left/Right/Center) or keyname
Listviewitems can have properties for:
BACKCOLOR, FORECOLOR, FONTSTYLE, GROUP,TOOLTIP, USESTYLEONSUBITEMS, CHECKED, IMAGEKEY, IMAGEINDEX, INFO or keyname
Listviewsubitems can have properties for:
BACKCOLOR, FORECOLOR, FONTSTYLE or keyname
Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software