Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Incremental Form.Width Gotcha
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00185668
Message ID:
00185913
Vues:
16
>>>I think I have found the --- BUG ---
>>>
>>> 1) Create a new form or use an old form
>>> 2) titlebar = 0
>>> 3) save by CTRL+W
>>> 4) The width property of the form will increment.
>>>
>>>If you save by clicking on the close control -- it will not increment.
>>>
>>>Darrell
>>
>>That is wierd. I almost always close-and-save using CTRL-W (we're showing our FPD roots :). I've never seen the behavior except the time I mentioned when I had objects (a grid) too close to the edge.
>>
>>Wait, I just noticed the other similarity. When I had the problem I'd set TitleBar to 0. (Basically I was trying to save a form which was just big enough to old the grid on it, so the form wouldn't be visible and I could "lay" it on another form. Before I went too far with that I realized how stupid it was. Maybe I shouldn't admit here where no one else has done anything stupid before ;)
>>
>>So maybe if you have a title-less form, Ctrl-W widens it. FoxPro guys (i.e. Randy Brown, Robert Green) is this by design somehow? Does Ctrl-W mean "widen" in some contexts? (Doubt it. If so, it shouldn't also mean "close and save".)
>>
>>Cheers,
>________________________
>Rich,
>
>One additional note -- if you open the form and click multiple times on the titlebar property -- you can watch the form grow.
>
>Darrell


Hi Darrell,
I had the same problem, only it was with a form in a formset.
I had to restrain the form by setting MinWidth and MaxWidth properties of the form to the desired value.
Good luck!
A moment of silence is our cosmic reset button.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform