Hello!
I am using a ListBox control in a WinForm. ListBox control is populated
through a DataSource. The problem starts when ListBox selects "index 0"
automatically at form load. I have tried ListBox.ClearSelection() and
ListBox.SelectedIndex = -1 but they don't work. ClearSelection actually
clears all selections but it doesn't seem to affect visual effects, same
goes for SelectedIndex = -1.
I have also tried Invalidate(true) and Refresh() methods but still
problem persist.
Is there any way to "unselect" ListBox index '0'??
Maqsood Ahmed
Kolachi Advanced Technologies
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!