2.34.5 Execute
Contents
Description
Run LabTalk script in the context of the object, so that the script can assume the object is the active object. This is applicable to Layer and Page objects only.
Syntax
VB: Function Execute(LabTalkStr As ByVal String ) As Integer
C++: int Execute(LPCSTR LabTalkStr )
C#: int Execute(string LabTalkStr )
Parameters
Return
0 if no error.
Remark
Examples
VBA
to Set Worksheet Row Header Width
Dim app As Origin.ApplicationSI Dim wks As Origin.Worksheet Set app = New Origin.ApplicationSI Set wks = app.FindWorksheet("") 'make row header width 200 pixels wks.Execute ("wks.RHW=200")
LabVIEW
The following LabVIEW Block Diagram shows how to set the width of a worksheet's row header to 200 pixels
Version Information
8.0SR2
