![]() |
Scrolling a form inside a pane |
Post Reply ![]() |
Author | |
Superpippo ![]() Groupie ![]() Joined: 02 March 2005 Status: Offline Points: 67 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
mtidev ![]() Newbie ![]() Joined: 20 July 2005 Location: United States Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |