Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Apr 17th, 2008, 3:58 AM   #11
beni_dude
Newbie
 
beni_dude's Avatar
 
Join Date: Apr 2008
Posts: 19
Rep Power: 0 beni_dude is on a distinguished road
Re: Dragging and Dropping

First thing you are right about this being in some new kind of thread but I wasn't sure because it was already on the subject of d&d, If you ask me start an new thread I will do so Happily!

I'm using right now visual studio 2008 and its an full version.

What I'm trying to do is this:
I want to create an win form that has in it lets say 12 labels and 12 text box and I want the user to d&d the right label in the right text box (I already created something like that in VB6 (but that was a bit easier because their it wasn't hard to create an array of controls) but it wasn't with the d&d option!

it sounds simple enough, after all that I need to do is make sure that once the user clicks on the label (or press on it and I think that click event is the one I need to catch ) I will give the control (the label) the x&y location of the mouse and then make sure that he (the user) can drop it only on text box (he can place it in the wrong text box and then he will receive some kind of error message)

It will be really helpfully if some one could find some kind of simple example that shows how to d&d a control in run time! god knows that I TRIED and failed!
__________________
NULL is all around me!
beni_dude is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:02 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC