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



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0

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).

Modification Type:MajorLast Reviewed:3/24/2000
Keywords:kbbug KB135710