Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form max width
Message
De
22/04/2015 16:12:32
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
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:
01618977
Message ID:
01618978
Vues:
50
>Hi,
>
>I am working on a form splitter where user can drag it left and right to increase the size of the window (and at the same time increase or decrease the left pane). I don't want to increase the width of the form such that the right edge would go beyond the available screen/desktop. How can I determine the max width for a form and given desktop and the resolution?
>
>TIA

Desktop is in SYSMETRICS as far as I remember
VFP is _SCREEN.width

Then you need to do some math with thisform left, thisform width and desktops width

Anyway:
It is usual that the splitter changes the ration of forms elements, not the overall width of a form
Try windows explorer, or VFP's property dialog.
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