Re: Listbox Event Handling in C#



AB,

Be aware that a lot of people create recursive actions on a Listbox by the events, be sure you did not do that, this is mostly the reason with slow performance in a listbox. I doubt that it has something to do with your webbrowser.

(recursive actions happens "by instance" as you add in an index change a new item to the listbox)

Cor

"AB" <anupamabiswas@xxxxxxxxx> schreef in bericht news:OTcdQJb8IHA.1428@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have a listbox and a webbrowser control.
For each single item selected I am generating a different web page.

However for more than one selection, a common web page gets generated.

I am handling the event in Listbox selectedindexchanged.

It is working well with a single selection. if I am making multiple
selections using keyboard or mouse, my entire application hangs.

Can somebody help me with this problem.

Thanks
AB



*** Sent via Developersdex http://www.developersdex.com ***

.



Relevant Pages

  • Re: Last Selection from MultiSelect Listbox
    ... What you can do is track the listbox selection in an array by modifying an array every time the listbox is changed. ... Dim idx As Integer, i As Integer ...
    (microsoft.public.excel.programming)
  • Re: Select range & copy
    ... I changed the range name of the ListBox stuff to mRefList ... "tvac" wrote: ... > Private Sub ListBox1_Click ... >> The first 2 columns have common data regardless of the selection. ...
    (microsoft.public.excel.programming)
  • Re: List of values
    ... I have to assume that the listbox is set to ... single-selection listbox. ... Private Sub ButtonOK_Click ... have shown is only the code to load the data into the listbox and display ...
    (microsoft.public.word.vba.general)
  • Re: Creating a Drop down list where can pick more than one choice
    ... do both tasks (make the listbox visible, and write the selected items into ... <MS ACCESS MVP> ... "Ken Snell MVP" wrote: ... Or do you want each selection to appear in the ...
    (microsoft.public.access.forms)
  • Re: List boxes in Microfocus Dialog System/Net Express?
    ... listbox is question is called a "Selection Box" in Dialog System and ... Dialog System's listbox rows start at 1. ... It wont necessarily be apparent from the demo project titles ... None of the examples I've found show how to accomplish what I'm trying ...
    (comp.lang.cobol)