Skip to content

2nd Listbox Sends

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #187370
    UAE KILLER
    Member

    Hola

    How to make the second ListBox sends text ?

    Is it because it’s been limited to listbox1 in this code:

    iResult = SendMessageByString(iHnd, WM_SETTEXT, 0, Me.ListBox1.Text )

    Gracias

    #187371
    AhFox
    Member

    I think it’s easy to get text this way

    Me.listbox1.items(itemIndex)

    or loop through all items

    VB.NET
    for each item as string in Me.listbox1.items
    msgbox(item)
    next

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.