<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=710534101-18022005><FONT face=Arial color=#0000ff size=2>Ah, I 
see what you want.&nbsp; I've never had a need to try that.</FONT></SPAN></DIV>
<DIV><SPAN class=710534101-18022005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=710534101-18022005><FONT face=Arial color=#0000ff 
size=2>Sorry.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Ross Levis 
  [mailto:ross@stationplaylist.com]<BR><B>Sent:</B> 18 February 2005 12:10 
  PM<BR><B>To:</B> NZ Borland Developers Group - Delphi List<BR><B>Subject:</B> 
  Re: [DUG] Docking forms together<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>I'm using D5.1.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I've managed to dock controls inside a form, but 
  that is not what I need.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I&nbsp;set the mainform as a&nbsp;DockSite and a 
  child&nbsp;form with dmAutomatic&nbsp;dkDocking.&nbsp; When I drag the child 
  form over the mainform, the whole child form jumps into the middle of the 
  mainform.&nbsp; This is not what I'm after.&nbsp; I only want to edges of the 
  windows to be docked so it looks like this:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><A 
  href="http://www.undu.com/Articles/990413b.html">http://www.undu.com/Articles/990413b.html</A></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I don't think the docking system in&nbsp;D5 is 
  designed for this.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I was excited for a short time when I found this 
  site, but it doesn't deal with the docking and undocking funtionality.&nbsp; 
  The code quoted on this page is only useful when the forms are already 
  docked.&nbsp; Perhaps I will need to write my own routines to check the 
  positioning of the windows&nbsp;&nbsp; It may not be too 
  difficult.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><FONT face=Arial size=2><FONT 
  color=#000000>Cheers,<BR><BR>Ross.</FONT></FONT></FONT></DIV>
  <BLOCKQUOTE 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=JeremyN@frontiersoftware.com.au 
    href="mailto:JeremyN@frontiersoftware.com.au">JeremyN@frontiersoftware.com.au</A> 
    </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@ns3.123.co.nz 
    href="mailto:delphi@ns3.123.co.nz">delphi@ns3.123.co.nz</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, February 18, 2005 1:24 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [DUG] Docking forms 
    together</DIV>
    <DIV><BR></DIV>
    <DIV><SPAN class=264192600-18022005><FONT face=Arial color=#0000ff 
    size=2>Check out the docking demo application.&nbsp; It's pretty 
    good.</FONT></SPAN></DIV>
    <DIV><SPAN class=264192600-18022005><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=264192600-18022005><FONT face=Arial color=#0000ff 
    size=2>What version are you using?&nbsp;</FONT></SPAN></DIV>
    <DIV><SPAN class=264192600-18022005><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=264192600-18022005><FONT face=Arial color=#0000ff 
    size=2>You can setup docksites anywhere on a form.</FONT></SPAN></DIV>
    <DIV><SPAN class=264192600-18022005><FONT face=Arial color=#0000ff size=2>I 
    suggest studying the demo.</FONT>&nbsp;</SPAN></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
      size=2>-----Original Message-----<BR><B>From:</B> Ross Levis 
      [mailto:ross@stationplaylist.com]<BR><B>Sent:</B> 18 February 2005 11:02 
      AM<BR><B>To:</B> NZ Borland Developers Group - Delphi 
      List<BR><B>Subject:</B> [DUG] Docking forms together<BR><BR></FONT></DIV>
      <DIV><FONT face=Arial size=2>I've never used docking and&nbsp;the 
      documentation doesn't seem to handle this situation.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>I have one or more&nbsp;non-modal forms that 
      can be&nbsp;opened from the mainform and&nbsp;can&nbsp;stay open.&nbsp; I 
      want to be able to dock the forms to the mainform, so if the mainform is 
      moved, the subforms move as well.&nbsp; The docking facilities&nbsp;in 
      Delphi appear to only handle internal docking within a form, and not on 
      outside edges of form windows.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>How is&nbsp;this&nbsp;done?</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2><FONT 
      color=#000000>Cheers,<BR>Ross.</FONT></FONT></DIV></BLOCKQUOTE>
    <P>
    <HR>

    <P></P>_______________________________________________<BR>Delphi mailing 
    list<BR>Delphi@ns3.123.co.nz<BR>http://ns3.123.co.nz/mailman/listinfo/delphi<BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>