Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Scrolling a form inside a pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Scrolling a form inside a pane

 Post Reply Post Reply
Author
Message
Superpippo View Drop Down
Groupie
Groupie


Joined: 02 March 2005
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote Superpippo Quote  Post ReplyReply Direct Link To This Post Topic: Scrolling a form inside a pane
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mtidev View Drop Down
Newbie
Newbie


Joined: 20 July 2005
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtidev Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.