🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #347

Re: TConstrains and Splitter : behavious

#347
From: Andreas Schmidt
Date: Wed, 05 Mar 2003 13:26
30 lines
2202 bytes
"Michal Borsuk" <MichalBorsuk@SiteFinder.pl> schrieb im Newsbeitrag
news:3E65C2D3.360BE8BE@SiteFinder.pl...
> Hello.
>
> I'm quite new to Delphi and having some minor problems with resizing and
> splitters.
>
> I have this form, with treeview on the left and listview on the right.
> The first is OK, the other one behaves somewhat strange.
> I have added size constrains so that it doesn't get too small, but when
> moving the splitter right, when minimum width is reached, the control
> gets "pushed" out of the main form, i. e. it shows that the minimum size
> is kept, but the listview slides under the right edge.
>
> Is this right? Or can it be prevented?

TSplitter:

property AutoSnap: Boolean;

Description
===========
Set AutoSnap to False to prevent the splitter from resizing neighboring
objects to zero when the user tries to make them smaller than MinSize. When
AutoSnap is False, such resize attempts are simply blocked, leaving the
neighboring object with a size of MinSize.

hth
Andreas
Technical Details
Message-ID: <b44tut$1rjvha$1@ID-13084.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!212.185.107.65!not-for-mail
References: <3E65C2D3.360BE8BE@SiteFinder.pl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baee,46c7bdfbb15f9ec5
X-Google-Attributes: gid10baee,public
X-Google-Thread: f8e31,46c7bdfbb15f9ec5
X-Google-Attributes: gidf8e31,public
X-Google-ArrivalTime: 2003-03-05 05:29:28 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!212.185.107.65!not-for-mail
From: "Andreas Schmidt" <a_j_schmidt@rocketmail.com>
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.students
Subject: Re: TConstrains and Splitter : behavious
Date: Wed, 5 Mar 2003 14:26:51 +0100
Lines: 32
Message-ID: <b44tut$1rjvha$1@ID-13084.news.dfncis.de>
References: <3E65C2D3.360BE8BE@SiteFinder.pl>
NNTP-Posting-Host: 212.185.107.65
Mime-Version: 1.0
Content-Type: text/plain;
 charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1046870813 62520874 212.185.107.65 (16 [13084])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000