Link to home
Start Free TrialLog in
Avatar of Michael Sterling
Michael SterlingFlag for United States of America

asked on

drag and drop a form

is there an example (sample code) of how to drag and drop one form onto another?
Avatar of 2266180
2266180
Flag of United States of America image

you cannot drag a form. what are you trying to do?
Avatar of Michael Sterling

ASKER

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...
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)
- https://www.experts-exchange.com/questions/21381469/Create-Two-forms-like-Object-TreeView-Object-Inspector-of-Delphi.html (this might be ok)
- http://news.jrsoftware.org/news/misc/msg02543.html (this I just found. never tested by me.)
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...
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=
ASKER CERTIFIED SOLUTION
Avatar of 2266180
2266180
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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