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:
00185704
Vues:
17
>>>>I had a similar problem with a form when I tried to place a grid's right edge too close to the right edge of the form. I couldn't track down whether the form size was changed as the grid was opened or saved. And I don't remember exactly how many pixels "too close" was. Shrinking the grid solved my problem.
>>>
>>>Appreciate the response, I saw the other threads after my post -- so I did try to re-size everything so nothing was close to the edges (grids buttons etc) --- still had the same problem.
>>
>>Darn. Sorry.
>_____________________________________________________________________
>
>Rich,
>
>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 Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform