VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

ListIndex (ListBox OR ComboBox) from ItemData

Dipen Anovadia  (19 Submissions)   Miscellaneous   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Sun 18th December 2005   Mon 8th February 2021

ListIndex (ListBox OR ComboBox) from ItemData

API Declarations


Public Enum IFID_RETURN
IFID_NOERROR = 0
IFID_ERR_OBJ = 1
IFID_ERR_INPUT = 2
IFID_ERR_UNKNOWN = 3
IFID_ERR_EMPTYLIST = 4
End Enum

'IndexFromItemData
'Get the Index for List Object (ListBox OR ComboBox) from ItemData
'
'IN:
' lo - List Object (ListBox OR ComboBox)
' ItemData - ItemData to find
'(OPTIONAL)
' Start - Starting point (0 For first, by default)
' Finish - Finishing point (-1 For all, by default)
'
'OUT:
' lReturnError - Returns the error code
'
'RETURN:
' -1 - Failure, found No Index
' (Long) - Found Index
'
'NOTE: ItemData must be unique otherwise first item first change...


Rate ListIndex (ListBox OR ComboBox) from ItemData (1(1 Vote))
ListIndex (ListBox OR ComboBox) from ItemData.bas

ListIndex (ListBox OR ComboBox) from ItemData Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters