PRB: SelectOnEntry Property Is Ignored When KEYCOMP = DOS
Article ID: 142548
Article Last Modified on 9/30/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
This article was previously published under Q142548
SYMPTOMS
A Column in a Grid has the SelectOnEntry property set to True (.T.), but
when the form is run, the text is not selected.
CAUSE
The KEYCOMP setting is set to DOS. The KEYCOMP setting controls the
enabling or disabling of the SelectOnEntry property.
STATUS
This behavior is by design.
WORKAROUND
If KEYCOMP = DOS is the desired default setting, issue a SET KEYCOMP TO
WINDOWS in the procedure associated with the When event of the grid and
issue a SET KEYCOMP TO DOS in the procedure associated with the Valid event
of the grid. This will allow the SelectOnEntry property to function
properly.
Additional query words: VFoxWin
Keywords: KB142548