Using a Verb for a General Field in the Screen Builder

ID: Q98685

The information in this article applies to:

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

Last Reviewed: June 26, 1995