Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sizeable window panes?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00831247
Message ID:
00831319
Views:
17
This message has been marked as the solution to the initial question of the thread.
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:
>
>
* a little error proofing code here
>
>this.left = nXCoord     && this.top for the horizontal bar
>
>* 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!?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform