|
-
Oct 8th, 2006, 04:15 PM
#1
Thread Starter
Addicted Member
[RESOLVED] More Drag & Drop questions
Hi peeps,
I have used an example of repeated D&D for this post.. by
iPrank
And as he says it does solve the issue asked on that topic.
I now have the ability (thx iPrank) to place lots of pictureboxes on my form, and I would like to progress to the next stage, which is that the newly placed pictureboxes need to be moved again to particular co-ordinates.
I am finding it difficult to work out when and what is going on.....I am told it is an array, does that mean the next PictureBox is automatically Index=1 and so on? and how do I get to detect a pictureBox, is it simply a Mouse_Click event? Which means I do a.... On click, get Index number, and if grid new position greater than last move to next grid position. Thats my thinking, am I so far off course?
Its difficult because these new pictureboxes aren't actually there until runtime, and I actually copy a few.
Ideally I would like them to snap to a grid, with arrowed buttons (I've already added them) that move them up and down the grid (only vertically) depending on which one is highlighted.
I hope I haven't babbled too much and that this is comprehensible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|