Thread View: comp.lang.pascal.delphi.misc
2 messages
2 total messages
Started by Michal Borsuk
Wed, 05 Mar 2003 09:26
TConstrains and Splitter : behavious
Author: Michal Borsuk
Date: Wed, 05 Mar 2003 09:26
Date: Wed, 05 Mar 2003 09:26
20 lines
1829 bytes
1829 bytes
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? Thanks in advance -- Michal Borsuk
Re: TConstrains and Splitter : behavious
Author: Andreas Schmidt
Date: Wed, 05 Mar 2003 13:26
Date: Wed, 05 Mar 2003 13:26
30 lines
2202 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads