PRB: Alignment Tool Mis-Aligns Check Boxes (142396)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b

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.

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:KB142396