visual C++ listbox

Hello,
I'm a real beginner and I need informations over a fire events for a listBox
the code is like this
private void listBox1_SelectedIndexChanged
(object sender, System.EventsArgs e)
{if (listBox1.Items[0].Selected)
textBox1->Text ="Lundi";
}
It does not work
can you help me
thks

Comments

  • : Hello,
    : I'm a real beginner and I need informations over a fire events for a listBox
    : the code is like this
    [code]
    private void listBox1_SelectedIndexChanged
    (object sender, System.EventsArgs e)
    {if (listBox1.Items[0].Selected)
    textBox1->Text ="Lundi";
    }
    [/code]
    : It does not work
    : can you help me
    : thks

    [green]If you use [ code] [ /code] tags it is easier to read. Do not insert the spaces after the [ above.[/green]


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