Using a Verb for a General Field in the Screen Builder

Last reviewed: June 26, 1995
Article ID: Q98685
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY

In the Screen Builder's Screen Picture dialog box, there is no direct method of assigning a VERB clause to a general field. This clause can be added by entering it in the Expression Builder.

MORE INFORMATION

The syntax in FoxPro to execute a VERB clause with an @ ... SAY command for a general object is:

   @ <row,column> SAY <general field> VERB <expN> | <expC>

The command verb can be either a numeric expression <expN> or a character expression <expC>. Command verb numbers start at 0 and are available for each installed object linking and embedding (OLE) server application.

To include a verb in the Screen Builder, the VERB clause should be added in the expression. For example:

   myole VERB 2

   -or-

   myole VERB "PLAY"

This will cause the general field "myole" to be executed with the proper VERB clause for that object.

REFERENCES

"Language Reference," version 2.5, pages L3-27, L3-30


Additional reference words: FoxWin 2.50 2.50a OLE
KBCategory: kbole kbprg
KBSubcategory: FxinteropOle


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 26, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.