FIX: Problems With @GETS and CLEAR GETS If No READ (183895)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
This article was previously published under Q183895 SYMPTOMS
An @...GET text box control does not remain visible.
CAUSE
This is known to happen in Visual FoxPro 5.x when the @...GET is cleared
with the CLEAR GETS command before it has been activated with a READ
command.
RESOLUTION
One possible resolution is to issue a READ TIMEOUT .001 after the @...GET
prior to the CLEAR GETS command. Please see the sample program in the Steps
to Reproduce Behavior section below for an example.
A better solution would be to use Object-Oriented Programming (OOP) style
programming with a Text box control. Implementing this workaround would
depend on the situation.
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: | 3/23/2000 |
---|
Keywords: | kbbug KB183895 kbAudDeveloper |
---|
|