Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Split form window
Message
From
17/04/2015 10:04:00
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01618628
Message ID:
01618632
Views:
53
>Hi,
>I am looking for some suggestions on how to implement a split-window form. Let me describe.
>
>The form should be divided into two, kind of like you can divide a grid with a SplitBar property. The left side of the screen will show the grid bound to a cursor. And the right side of the split form will show the selected record in a Detailed view (textboxes, combo, edit boxes, etc.).
>
>The trick that I need to figure out is that the user should be able to make the left side wider or narrower. So there has to be a vertical divider that user can “grab” with a mouse and slide left-right.
>
>I would appreciate any suggestions on how this can be implemented.
>TIA

Hm google will bring some results on VFP splitter.

It's tricky. I can give you a brief explanation what I do

I do a (transparent) shape as splitter.
then you need tho have a hidden shape that covers the whole form
then the thing is done via OLE drgadrop,
OLEStartDrag will bring the cover topmost (zorder) while OLEDrag will put the cover in background
The cover OLEDragOver will return coordinates while the splitter OEGiveFeedback does the refresh.

Thats basically is what I do.

This is ancient code ....


Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform