Click here to Skip to main content
16,013,918 members
Home / Discussions / C#
   

C#

 
AnswerRe: RichTextBox Pin
mav.northwind10-Dec-06 18:48
mav.northwind10-Dec-06 18:48 
QuestionHow to import XML into Excel using C#? Pin
uberhacker6-Dec-06 11:59
uberhacker6-Dec-06 11:59 
QuestionComparing user input to array characters Pin
neptune2k6-Dec-06 11:43
neptune2k6-Dec-06 11:43 
AnswerRe: Comparing user input to array characters Pin
lost in transition 6-Dec-06 11:48
lost in transition 6-Dec-06 11:48 
GeneralRe: Comparing user input to array characters Pin
neptune2k6-Dec-06 12:02
neptune2k6-Dec-06 12:02 
AnswerRe: Comparing user input to array characters Pin
led mike6-Dec-06 12:02
led mike6-Dec-06 12:02 
QuestionOdd ListBox behavior with drag/drop enabled Pin
Dan Neely6-Dec-06 10:24
Dan Neely6-Dec-06 10:24 
AnswerRe: Odd ListBox behavior with drag/drop enabled Pin
Dan Neely6-Dec-06 10:57
Dan Neely6-Dec-06 10:57 
I've partially kludged around this by setting SelectedIndex at the same time as I'm using the GetSelected Method to check which items are selected to generate my drag/drop event.

This appears to fix the problem about 99% of the time. Occasionally however, while doing a series of very frantic clicks on the list I manage to get two items shown as selected in the UI even though clicking on one should automatically clear the selection on the prior item. When this happens, I'm still having my SelectedIndexChanged event fire with the SelectedIndex property filled iwth an indexOutOfRangeException. When looking at the returns from GetSelected in the debugger, only one of the two items that appear selected in the UI are returning true.

The listbox is using the multiExtended selection mode, so it shouldn't be possible to select multiple items with hte mouse at all.

--
Rules of thumb should not be taken for the whole hand.

QuestionSyntax error (missing operator) in query expression Pin
MyRunner6-Dec-06 9:50
MyRunner6-Dec-06 9:50 
AnswerRe: Syntax error (missing operator) in query expression Pin
Colin Angus Mackay6-Dec-06 10:03
Colin Angus Mackay6-Dec-06 10:03 
Questionreportviewer Pin
magnifique6-Dec-06 8:37
magnifique6-Dec-06 8:37 
AnswerRe: reportviewer Pin
jdkulkarni6-Dec-06 17:33
jdkulkarni6-Dec-06 17:33 
QuestionDatabase Design Question/Problem Pin
mfcuser6-Dec-06 7:11
mfcuser6-Dec-06 7:11 
AnswerRe: Database Design Question/Problem Pin
_Zorro_6-Dec-06 7:18
professional_Zorro_6-Dec-06 7:18 
GeneralRe: Database Design Question/Problem Pin
mfcuser6-Dec-06 7:26
mfcuser6-Dec-06 7:26 
GeneralRe: Database Design Question/Problem Pin
Colin Angus Mackay6-Dec-06 7:29
Colin Angus Mackay6-Dec-06 7:29 
GeneralRe: Database Design Question/Problem Pin
Colin Angus Mackay6-Dec-06 7:27
Colin Angus Mackay6-Dec-06 7:27 
AnswerRe: Database Design Question/Problem Pin
Colin Angus Mackay6-Dec-06 7:25
Colin Angus Mackay6-Dec-06 7:25 
AnswerRe: Database Design Question/Problem Pin
Colin Angus Mackay6-Dec-06 7:30
Colin Angus Mackay6-Dec-06 7:30 
GeneralRe: Database Design Question/Problem Pin
mfcuser6-Dec-06 7:49
mfcuser6-Dec-06 7:49 
GeneralRe: Database Design Question/Problem Pin
Colin Angus Mackay6-Dec-06 8:01
Colin Angus Mackay6-Dec-06 8:01 
GeneralRe: Database Design Question/Problem Pin
mfcuser6-Dec-06 8:37
mfcuser6-Dec-06 8:37 
GeneralRe: Database Design Question/Problem Pin
Colin Angus Mackay6-Dec-06 9:35
Colin Angus Mackay6-Dec-06 9:35 
GeneralRe: Database Design Question/Problem Pin
mfcuser6-Dec-06 10:08
mfcuser6-Dec-06 10:08 
AnswerRe: Database Design Question/Problem Pin
Guffa6-Dec-06 8:02
Guffa6-Dec-06 8:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.