Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form max width
Message
 
 
À
23/04/2015 00:35:36
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:
01619002
Vues:
36
>>>>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.
>>
>>Thank you for the _Screen.width. As far as how "my" splitter will work, it is a little different than probably some others. I need the right pane to maintain the same width. So I have to increase the overall width of the form. But not too much.
>
>It's up to you - but a bit strange. One should not surprise users. :)
>
>If the the right pane maintains its width, why not simply keep the width in resize? Anchor to right and the left pain to left / right? It removes the need of the splitter?
>
>Just my EUR 0,02

The customer wants the UI to be similar to a competitive product that he used to use (the "other" product uses a splitter). And I think that using the splitter is easier (for the user in terms of UI) than resizing the form.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform