Set Talk, Set("Talk"), Sys(103), Set Odometer, Set("Odometer")
These commands control the display of messages from various record-processing commands.
Usage |
SET TALK ON | OFF SET TALK WINDOW [ WindowName ] | NOWINDOW cOnOrOff = SET( "TALK" ) cNoWindow = SET( "TALK", 1 ) cOnOrOff = SYS( 103 ) SET ODOMETER TO [ nRecords ] nRecords = SET( "ODOMETER" ) |
The second form of SET TALK specifies where the feedback appears. By default, it appears in the Windows-style status bar. If you use WINDOW and specify a defined window, it works as long as you remember to ACTIVATE the window. The other two forms, though, SET TALK WINDOW and SET TALK NOWINDOW, only make sense if you turn off the Windows-style status bar. Then, WINDOW puts the talk in a WAIT WINDOW and NOWINDOW sends it to the main FoxPro window. |
Example |
SET ODOMETER TO 500 SET TALK ON |
See Also |