Compartir a través de


DEClassLibrary Property

Specifies the name of a program (.prg) or visual class library (.vcx) file that contains the DataEnvironment class specified by the DEClass property. Read/write at design time and read-only at run time.

Form.DEClassLibrary [= cClassLibraryName]

Return Value

  • cClassLibraryName
    Character data type. The cClassLibraryName parameter specifies one of the following:

    • Name of a program (.prg) file

    • Name of a visual class library (.vcx) file

Remarks

Applies To: Form Object

For details, see DEClass Property.

Example

The following example creates a Form class and then sets the DEClassLibrary and DEClass properties to specify an external DataEnvironment class and class library.

DEFINE CLASS form1 as Form
   DEClassLibrary="MyProgram.prg"
   DEClass="MyDE"
ENDDEFINE

See Also

Concepts

Access and Assign Methods

Protecting and Hiding Class Members

Reference

Form Object Properties, Methods, and Events

PUBLIC Command

DataEnvironment Object

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)