Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I made more test and the ScrollBars setting to both seem to cause this problem. I change it back to none and the width doesn't change anymore.
Furthermore, the problem only arise if the rightmost control is close to the edge of the form. If I increase the width of the form, I don't have any problem with ScrollBars set to Both.
I think that if you don't leave a gap wide enough for the scrollbar to appear at the right of the form, VFP will, for an unknown reason, shrink the width of the form when openinig it in the form designer.
>VFP 6.0 SP1
>
>Here are the non-default properties of my form:
>AutoCenter = .T.
>BufferMode = 2 - Optimistic
>DataSession = 2 - Private data session
>Height = 107
>ScrollBars = 3 - Both
>ShowTips = .T.
>ShowWindow = 2 - As Top-level form
>Width = 394
>
>After saving the form and I opening it again, the width is changed to 386 (the vertical scroll bar appear).
>
>Has anybody encounter this problem ?
>
>TIA
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement