General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2008 Server
>>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only