Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Split form window
Message
De
17/04/2015 10:04:00
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Documentation de produit
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01618628
Message ID:
01618632
Vues:
52
>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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform