How to update/change items in a listbox

[b][red]This message was edited by strix at 2002-11-30 3:39:52[/red][/b][hr]
Hi,

The listbox is filled with several names.
When I click a name in the listbox I like to change the selected item into another name and update the listbox so that the listbox shows the new name


Please help me.......thanks

Strix





Comments

  • Try this

    1. Double Click on the listbox
    2. then in that code type the following:

    Dim r as String
    r = inputbox("Change Name to:")
    Me.[i]nameoflistbox[/i].SelectedItem = r

    I havn't tested it, but is should work





    : [b][red]This message was edited by strix at 2002-11-30 3:39:52[/red][/b][hr]
    : Hi,
    :
    : The listbox is filled with several names.
    : When I click a name in the listbox I like to change the selected item into another name and update the listbox so that the listbox shows the new name
    :
    :
    : Please help me.......thanks
    :
    : Strix
    :
    :
    :
    :
    :
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion