PRB: Text Box SpecialEffect Property Resets BorderWidth

    Article ID: Q135370
    Creation Date: 21-AUG-1995
    Revision Date: 03-DEC-1996

    The information in this article applies to:

    • Microsoft Access versions 7.0, 97

    SYMPTOMS

    Novice: Requires knowledge of the user interface on single-user computers.

    When you change the SpecialEffect property of a text box from Flat to Shadowed, the BorderWidth property changes from Hairline to 3 pt. If you change the SpecialEffect property back to Flat, the BorderWidth is unaffected. The result is a text box with a 3 pt. border, which may be wider than you expect.

    RESOLUTION

    You can manually change the BorderWidth property of the text box to a smaller width, such as Hairline (the default width).

    STATUS

    This behavior is by design.

    MORE INFORMATION

    Steps to Reproduce Behavior

    1. Create a new form not based on any table or query and open it in Design view.
    2. Add a text box, and set the following properties:

             Name: Text0
             SpecialEffect: Flat
             BorderWidth: Hairline
      
    3. Change the text box's SpecialEffect property to Shadowed. Note that the BorderWidth property changes to 3 pt.
    4. Change the text box's SpecialEffect property to Flat. Note that the BorderWidth property does not change. The text box still has a 3 pt.-wide border.

    REFERENCES

    For more information about the SpecialEffect property, search the Help Index for "SpecialEffect," and then "SpecialEffect Property," or ask the Microsoft Access 97 Office Assistant.


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.
©1997 Microsoft Corporation. All rights reserved. Legal Notices.

KBCategory: kbusage
KBSubcategory: FmsProp
Additional reference words: 7.00 97 8.00