PRB: Alignment Tool Mis-Aligns Check Boxes

Last reviewed: January 15, 1996
Article ID: Q142396
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0 and 3.0b

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 reference words: 3.00 3.00b VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxprgUdwindow


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.