FIX: SelText in Edit Box Limited to 255 Characters (172088)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Macintosh 3.0b
This article was previously published under Q172088 SYMPTOMS
In Visual FoxPro 3.x and 5.x for Windows and Visual FoxPro 3.0b for the
Macintosh, the SelText property for an Editbox selects only up to 255
characters.
RESOLUTION
The workaround is to use the SUBSTR function as illustrated below:
SelectedText = SUBSTR(ThisForm.edit1.Value, ;
ThisForm.edit1.SelStart + 1, ;
ThisForm.edit1.SelLength)
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This has been corrected in Visual FoxPro
6.0.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbbug kbcode kbfix KB172088 kbAudDeveloper |
---|
|