Knowledge Base

FIX: MaxLength Property Reverts to "0" in the Properties Sheet

Article ID: 135710

Article Last Modified on 3/24/2000


APPLIES TO


This article was previously published under Q135710

SYMPTOMS

If you change the MaxLength property of an edit box, it reverts back to 0 after you press ENTER and move to another property.

WORKAROUND

To get the MaxLength property to accept a number place an equal sign (=) in front of the number you enter (for example, =25).

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.

Steps to Reproduce Problem

  1. Place an edit box on a form.
  2. Change the MaxLength property to 20, and press ENTER or click the check box.
  3. Move to a different property; for example, press UP ARROW to move to Margin. The number you typed changes back to 0 (zero).

Additional query words: 3.00 VFoxWin fixlist3.00b buglist3.00

Keywords: kbbug kbfix KB135710