SetFunctionValue

图形单元类页面类的函数成员

设置函数的程序内容。

语法

void=SetFunctionValue( string, string )

第一个参数是函数名。

第二个参数是程序。

Visual Graph 脚本示例

SetFunctionValue( "OnResize", "rect1.SetBounds( left, top, width, height ); rect2.SetBounds( left + 2, top + 2, width - 4, height - 4 )" )