scrollbar

J

juli jul

Hello,
I have 4 controls on a form : chart (docked to top),scrollbar that
supposed to be in the chart part of the form,than there is the
splitter(docked to top) and than there is a grid(docked to fill).
I want to dock the scrollbar that it would be located in the bottom of
the chart(the upper part).
How can I do it?
Thank you very much.
 
B

Benoit Vreuninckx

juli said:
Hello,
I have 4 controls on a form : chart (docked to top),scrollbar that
supposed to be in the chart part of the form,than there is the
splitter(docked to top) and than there is a grid(docked to fill).
I want to dock the scrollbar that it would be located in the bottom of
the chart(the upper part).
How can I do it?
Thank you very much.

Hi,

As the chart and the scrollbar logically form one unit, you should first
dock a panel to the top of the form. In this panel you drop the
scrollbar (docked to the bottom) and the chart (docked to fill). Then
you add the splitter, and last but not least the grid (docked to fill).
A good advise: if you are using a splitter, place a panel at the left
(or top) and a panel at the right (or bottom) of the splitter.

Cheers,
Benoit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top