Microsoft KB Archive/142396

= PRB: Alignment Tool Mis-Aligns Check Boxes =

Article ID: 142396

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q142396



SYMPTOMS
Using the alignment tools from the Layout toolbar mis-aligns check boxes when the check box Alignment property is set to Right.



WORKAROUND
To save the proper alignment of right-aligned check boxes, use the 'Align Right Sides' button from the Layout toolbar instead.



STATUS
This behavior is by design.



MORE INFORMATION
Check boxes can be created with an Alignment property set to Right. This places the Caption text to the left of the actual check box. If the Alignment buttons are used to align these check boxes, they line up visually on the screen, but are saved improperly.

Steps to Reproduce Behavior

 * 1) Create a new form, and place two check boxes on the form. Change the Caption property for the two check boxes to two different length strings. Change the Alignment property of both check boxes to Right.
 * 2) Right-click any toolbar, and select the Layout toolbar.
 * 3) Select the two check boxes by clicking one and holding down the SHIFT key as you click the other.
 * 4) Click the 'Align Left Sides' button from the Layout toolbar; this is the top button. Note that the check boxes line up properly.
 * 5) Save the form.
 * 6) Edit the form you just saved. Note that the check boxes are no longer aligned properly.

Additional query words: VFoxWin

Keywords: KB142396

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.