JavaScript Editor js editor     Web development 



Main Page

Visual FoxPro provides two special operators for object programming: the dot operator (.) and the scope resolution operator (::). Visual FoxPro also adds commands that enable you to create a class, and to create and add objects to a class.

Operator, Command, Function Description

. (Dot operator)

Scopes objects to their parents and properties, events, and methods to objects.

:: (Scope resolution operator)

Calls a parent class method from within the subclass.

CREATEOBJECT(В )

Creates an object from a class, a subclass, or an OLE object.

DEFINE CLASS В В В with ADD OBJECT clause

Creates a class definition. The ADD OBJECT clause adds an object based on an existing class or subclass at design time.

GETOBJECT(В )

Returns a reference to an OLE object.

For more information about using classes and objects, see Object-Oriented Programming.

See Also



JavaScript Editor js editor     Web development