Rodd,
You can use some of the code from the class browser. It has a draggable seperation bar. The source code is in C:\Program
Files\VFP8\Tools\xsource\xsource.zip file.
Look at the code attached to shpSplitterH and shpSplitterV objects in browser.scx.
>I'd like to create a window similar to Outlook in which there is a vertical window pane on the left and 2 horizontal panes on the right (when using the email preview option).
>
>Outlook allows you to size these panes via the "bars" that appear in between the panes.
>
>I've tried a few different tricks but haven't been able to come up with a result thats completely satisfying.
>
>The closest I've come is by placing rectangular shape objects in between the grid and the two edit boxes. Then on MouseOver of either of the shapes, I do the following:
>
>
>
>this.left = nXCoord
>
>* I also resize the appropriate edit boxes or grid
>
>
>This works but it looks a little funny in that the bars show up separate and don't blend into one another as they do in Outlook. Okay, call me picky but Microsoft has it working without 2 separate bars. <g>
>
>Has anyone played around with this to where you might have a much better solution!?