Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/100450

From BetaArchive Wiki
Knowledge Base


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.

REFERENCES

"Commands & Functions," version 2.01, pages 4-77 and 3-147


Additional query words: 2.01 SYS system eighteen

Keywords: KB100450
Technology: kbAudDeveloper kbFoxBASE201Mac kbFoxBASESearch kbFoxproSearch kbHWMAC kbOSMAC