Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ridiculous dimensions
Message
De
29/10/2008 23:03:19
 
 
À
29/10/2008 20:47:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01358223
Message ID:
01358243
Vues:
17
>>>A friend just started experimenting with forms - no experience in this area - and found some strange behavior. Since I didn't understand what was going on, he sent me the form. Upon inspection, it turned out that the behavior was due to the combination of Form.AutoCenter = .T., combined with a Form.Height and Form.Width close to 10,000 pixels each.
>>>
>>>Now it became more or less clear to me why no form elements were visible until the form was maximized.
>>>
>>>What I don't understand is, how can someone without any experience with forms accidentally select such a size? I can imagine no combination of maximizing, resizing, etc., that will produce this result!
>>>
>>>Oh, apparently my friend produced this with the Spanish translation of the IDE - the Web site carries a warning not to use it in production environments. I thought this might cause some of this weird behavior. On my own machine, I only have the English version.
>>
>>
>>Hi Hilmar,
>>
>>He probably did what I do once in a while.... he clixked on the form header in development mode/
>>
>>HTH,
>>
>>Ken
>
>Huh? Wouldn't that just select the form with a single-click, maximize with a double-click? Did you ever actually manage to accidentally give the form really huge dimensions?

You are correct, accidently double click on the form header in design mode and, If the form has been set to resizable, the form will "maximize". I try to keep my design window sized to barely accomodate the form in order to make best use of the screen real estate, so I did not notice the form had huge dimensions until I ran it.

Ken
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform