Re: SpyBot S&D written in Delphi
- From: "Rudy Velthuis [TeamB]" <velthuis@xxxxxxxxx>
- Date: Thu, 30 Jun 2005 19:35:07 +0200
At 19:01:12, 30.06.2005, Craig Stuntz [TeamB] wrote:
> I've never used Anchors at all because I find that Align is much more
> reliable and can do similar things.
I use Anchors a lot. They're nice if you don't want your components to
cover all existing space, but should resize with their parent (or keep
constant distance to the borders).
If you have this simple scenario (please use fixed width font):
+------------------------------------------------+
| |
| +------------------------------+ +-----------+ |
| | Edit1 | | Button1 | |
| +------------------------------+ +-----------+ |
| |
| +------------------------------+ |
| | Listbox1 | |
| | | |
| | | |
| | | |
| +------------------------------+ |
| |
+------------------------------------------------+
I set Edit1 to Left,Top,Right, Button1 to Top,Right and ListBox1 to
Left,Top,Right,Bottom. That is not so easy to do with Align, unless you
use a range of panels to cover the empty spaces.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de
"Death is one of the few things that can be done as easily lying down.
The difference between sex and death is that with death you can do it
alone and no one is going to make fun of you." -- Woody Allen.
.
- Follow-Ups:
- Re: SpyBot S&D written in Delphi
- From: Craig Stuntz [TeamB]
- Re: SpyBot S&D written in Delphi
- References:
- SpyBot S&D written in Delphi
- From: Jako Grobler
- Re: SpyBot S&D written in Delphi
- From: Peter Morris [Droopy eyes software]
- Re: SpyBot S&D written in Delphi
- From: Rudy Velthuis [TeamB]
- Re: SpyBot S&D written in Delphi
- From: Craig Stuntz [TeamB]
- SpyBot S&D written in Delphi
- Prev by Date: Re: SpyBot S&D written in Delphi
- Next by Date: Re: SpyBot S&D written in Delphi
- Previous by thread: Re: SpyBot S&D written in Delphi
- Next by thread: Re: SpyBot S&D written in Delphi
- Index(es):