<!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=013240803-29112004><FONT face=Arial color=#0000ff size=2>I've
never tried it but instead of setting the visible property to false, change the
height to 0.</FONT></SPAN></DIV>
<DIV><SPAN class=013240803-29112004><FONT face=Arial color=#0000ff size=2>It
might preserve the order. As I said, never tried it. (might also
effect tab order though but you could disable the panel if this
happened).</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> Stephen Bertram
[mailto:sbertram@maxnet.co.nz]<BR><B>Sent:</B> 29 November 2004 1:45
PM<BR><B>To:</B> NZ Borland Developers Group - Delphi List<BR><B>Subject:</B>
Re: [DUG] Position of stacked panels<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I can do that, but it requires iterating through
up to 50 panels adding the heights if they are visible....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Isn't there a way of manipulating the Z-order or
is that only effective on Create?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Stephen</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> Monday, November 29, 2004 3:13
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [DUG] Position of stacked
panels</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=332381402-29112004><FONT face=Arial color=#0000ff
size=2>Modify the top property values when the panels are
displayed.</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> Stephen Bertram
[mailto:sbertram@maxnet.co.nz]<BR><B>Sent:</B> 29 November 2004 12:34
PM<BR><B>To:</B> NZ Borland Developers Group - Delphi
List<BR><B>Subject:</B> [DUG] Position of stacked
panels<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hi All</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>A very basic question - what is the best way
to keep the order of alTop panels correct as they are shown and hidden on
a dynamic form (Delphi 5)? I have inherited an app which has several
hidden panels that are displayed on events, but they do not always
position correctly.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Stephen</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>