Microsoft KB Archive/100450

= PRB: SYS(18) Does Not Return Name of GET Objects =

PSS ID Number: 100450

Article Last Modified on 6/24/2004

-

The information in this article applies to:


 * Microsoft FoxBASE+ for Macintosh 2.01

-



This article was previously published under Q100450



SYMPTOMS
The SYS(18) function will not return the name of a GET object, only the current GET field.



CAUSE
Normally, while information is being entered in a GET field on a screen, triggering the ON KEY= routine allows the SYS(18) function to return the name of that field. However, this technique does not work on a GET object such as a check box or popup. In FoxBASE+/Mac, GET objects cannot be selected with the keyboard, nor can they remain selected after they are clicked with the mouse. Since these GET objects cannot remain selected, the SYS(18) function will not return the name of the object. SYS(18) also won't work if it is put in a VALID procedure that is connected with a GET object.



MORE INFORMATION
The SYS(18) function returns the name of the field being entered when the current ON KEY= routine was triggered. A READ needs to be in effect for SYS(18) to function.

