Print Page | Close Window

Scrolling a form inside a pane

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=1897
Printed Date: 29 September 2024 at 11:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Scrolling a form inside a pane
Posted By: Superpippo
Subject: Scrolling a form inside a pane
Date Posted: 03 March 2005 at 2:45am

Hi folks,

I am migrating to xtreme docking an old application of mine.

I have some forms that i put inside panes by .handle property of panes.

When I create forms and panes I take care that the form is correctly sized inside the pane.

But when the user change the dock position of panes (example from left to top) at runtime i cant get the pane heigth and width to resize my forms (reading the forums it seems to be a long time lack of xtreme docking) and i was not able to activate scrollbars to scroll the form inside the pane, so the forms are unusable!

Here came my questions:

1) How can i scroll a form that is inside a pane? There is some way to activate scrollbar when the form is greater then client area of a pane ?

2) Please please please, give us width and height property of the pane.

Thanks a lot

 

 



-------------
SuperPippo



Replies:
Posted By: Oleg
Date Posted: 04 March 2005 at 12:38am
You need catch Rezize event of Form. Width and Height of pane is same as Width and Height of Form inside pane...

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mtidev
Date Posted: 20 July 2005 at 1:53pm

I don't understand.  I'm having the same problem.  But if the Width and Height of the pane is the same as the Width and Heigth of the Form, then you wouldn't need scroll bars (because you can see the whole thing).  Does this control not have scrolling built in?

mtidev



Posted By: Oleg
Date Posted: 21 July 2005 at 7:58am

No. DockingPanes have no builtin scrolling.

you can put standrd scroll bar on form and picture box with controls. And manually scroll this picture box inside form.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net