点击或拖拽改变大小

Functions.CreateObject 方法

X#
Creates an object from a class definition or an Automation-enabled application.

命名空间:  XSharp.VFP
程序集:  XSharp.VFP (在 XSharp.VFP.dll 中) 版本:2.22 GA
语法
 FUNCTION CreateObject(
	cClassName,
	_args
) AS Object CLIPPER
查看代码

参数

cClassName (Optional)
类型:__Usual
Specifies the class or OLE object from which the new object is created.
_args (Optional)
类型:__Usual
These optional parameters are used to pass values to the Init event procedure for the class. The Init event is executed when you issue CREATEOBJECT( ) and allows you to initialize the object.

返回值

类型:Object
The object that was created
参见