Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

drag and drop a form

Posted on 2008-11-10
8
Medium Priority
?
978 Views
Last Modified: 2012-05-05
is there an example (sample code) of how to drag and drop one form onto another?
0
Comment
Question by:Michael Sterling
  • 4
  • 3
7 Comments
 
LVL 28

Expert Comment

by:2266180
ID: 22925762
you cannot drag a form. what are you trying to do?
0
 
LVL 1

Author Comment

by:Michael Sterling
ID: 22925822
i don't understand what you mean when you say "you can't drag a form". i drag them all the time across the screen etc. but what i'm trying to do is drag a form that is basically a navigation tool for my application, and allow it to be docked to the top of any form that i drop it on...
0
 
LVL 28

Expert Comment

by:2266180
ID: 22925966
you're mixing terms here. you move a form. you don't drag it. drag is the operation part of the drag and drop. you cannot drag a form. sure, you can move a form and you can dock a form. so you have 3 operations here;
- moving (which everybody does)
- drag and drop (which you cannot do on forms)
- and docking (which you can only do with some forms)

for docking, here are a few links.
- http://www.youtube.com/watch?v=Fa1SH4u2o3Y (I just discovered these videos a few days ago. vido turials: the new pink lol)
- http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_21381469.html (this might be ok)
- http://news.jrsoftware.org/news/misc/msg02543.html (this I just found. never tested by me.)
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:Michael Sterling
ID: 22926057
i see what your saying,...yes i need to be able to dock form a to form b after i've moved form a over the top of form b and released the mouse...
0
 
LVL 28

Expert Comment

by:2266180
ID: 22926119
that's docking, in case you were waiting for confirmation. I know se that you tagged this as delphi 7 :D
from what you describe, you are looking for a behaviour like winamp forms? if so, then better look at this article: http://www.delphi3000.com/articles/article_2251.asp?SK=
0
 
LVL 28

Accepted Solution

by:
2266180 earned 2000 total points
ID: 23312949
seems that the asker has made himself a habbit of deletng his questions after receiving good answers. delete is out of the question
0
 
LVL 1

Author Closing Comment

by:Michael Sterling
ID: 31515278
i appologize i rushed through these without thinking....i will not do this in the future. i do appreciate the help that i get and rushing through to delete without consideration of your time and efforts was disrespecful and rude. My opplogies
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question