Click here to Skip to main content
15,893,594 members
Home / Discussions / C#
   

C#

 
AnswerRe: string Pin
Sunil Lanke24-Mar-09 0:09
Sunil Lanke24-Mar-09 0:09 
AnswerRe: string Pin
Sunil Lanke24-Mar-09 0:16
Sunil Lanke24-Mar-09 0:16 
AnswerRe: string Pin
musefan24-Mar-09 0:27
musefan24-Mar-09 0:27 
QuestionLumenWorks.Framework.IO.Csv (CSV Reader) Pin
saku6923-Mar-09 23:23
saku6923-Mar-09 23:23 
AnswerRe: LumenWorks.Framework.IO.Csv (CSV Reader) Pin
saku6924-Mar-09 0:46
saku6924-Mar-09 0:46 
QuestionHow to detect if a user leaves a control while holding a Mousebutton down? Pin
Megidolaon23-Mar-09 22:48
Megidolaon23-Mar-09 22:48 
AnswerRe: How to detect if a user leaves a control while holding a Mousebutton down? Pin
musefan23-Mar-09 22:57
musefan23-Mar-09 22:57 
GeneralRe: How to detect if a user leaves a control while holding a Mousebutton down? Pin
Megidolaon24-Mar-09 1:52
Megidolaon24-Mar-09 1:52 
Not quite.
My problem isn't that things don't get selected, this seems to work.

My problem is that multiple PictureBoxes can be selected while the mousebutton is held down (all are fine, if you let go of one it's MouseUp event shoul fire and stop the selecting).
While the mousebutton is held down, (during the MouseDown event), you practically can only select neighboring TextBoxes, to select one that isn't next to a previously selected one, you'd have to let go of the button and thus the slection would be stopped (and started from new).

Now the problem is that if you exit the area where the PictureBoxes are displayed, while still holding the mousebutton down and then move to a far away PictureBox and it would get added to the selection, making it inconsistent.

I somehow want force the user to be able to only select up to 25 neighboring PictureBoxes, preferrably with a limit of 5 boxes horizontally and 5 boxes vertically.
GeneralRe: How to detect if a user leaves a control while holding a Mousebutton down? Pin
King Julien24-Mar-09 3:32
King Julien24-Mar-09 3:32 
GeneralRe: How to detect if a user leaves a control while holding a Mousebutton down? [modified] Pin
Megidolaon24-Mar-09 21:48
Megidolaon24-Mar-09 21:48 
Question.Net error..... Pin
S K Y23-Mar-09 22:40
S K Y23-Mar-09 22:40 
AnswerRe: .Net error..... Pin
Eddy Vluggen23-Mar-09 23:20
professionalEddy Vluggen23-Mar-09 23:20 
Questionexcel sheet Pin
Mangesh Tomar23-Mar-09 22:37
Mangesh Tomar23-Mar-09 22:37 
AnswerRe: excel sheet Pin
Nagy Vilmos23-Mar-09 23:01
professionalNagy Vilmos23-Mar-09 23:01 
QuestionPersiaDevelopers.com Pin
Majid Shahabfar23-Mar-09 22:13
Majid Shahabfar23-Mar-09 22:13 
AnswerRe: PersiaDevelopers.com Pin
Eddy Vluggen23-Mar-09 22:35
professionalEddy Vluggen23-Mar-09 22:35 
QuestionRetrieve items from the last index on Dictionary. Pin
CodingLover23-Mar-09 21:59
CodingLover23-Mar-09 21:59 
AnswerRe: Retrieve items from the last index on Dictionary. Pin
12Code23-Mar-09 22:13
12Code23-Mar-09 22:13 
QuestionRe: Retrieve items from the last index on Dictionary. Pin
CodingLover23-Mar-09 22:19
CodingLover23-Mar-09 22:19 
AnswerRe: Retrieve items from the last index on Dictionary. Pin
12Code23-Mar-09 23:42
12Code23-Mar-09 23:42 
QuestionRe: Retrieve items from the last index on Dictionary. Pin
CodingLover23-Mar-09 23:53
CodingLover23-Mar-09 23:53 
AnswerRe: Retrieve items from the last index on Dictionary. Pin
12Code24-Mar-09 0:07
12Code24-Mar-09 0:07 
GeneralRe: Retrieve items from the last index on Dictionary. Pin
CodingLover24-Mar-09 0:41
CodingLover24-Mar-09 0:41 
GeneralRe: Retrieve items from the last index on Dictionary. Pin
12Code24-Mar-09 17:03
12Code24-Mar-09 17:03 
GeneralRe: Retrieve items from the last index on Dictionary. Pin
12Code23-Mar-09 23:53
12Code23-Mar-09 23:53 

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.