Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Put a grid anchor=15.
>>
>>after run form. change grid's left property as a bigger value.
>>
>>resize form. Grid's left property resetting the first initial... :(
>>
>>There will no VFP10 and probably no patch... :(
>
>Setting anchor to a non-0 value has interesting (but documented) consequences for moving things. In many situations, you need to store the anchor value, move the object, then reset the anchor.
>
>Tamar
Hey! It works!!! Thank you!.. Great!!! I tried reset left propery from resize method with no success. Your workaround excellent...
Update: You right. If I would be look for anchor to help I would be see:
Anchoring is based on the coordinates of the control at the time when the control's Anchor property is originally set, typically, when the control is instantiated. It is not based on the control's current position. Therefore, even after you move a control, anchoring applies to the control's original position. This behavior explains the difference between an Anchor value of 0 and 3.
Précédent
Suivant
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