HeaderClass Property

Specifies the name of the member class to use when adding new header member objects to a Column container. Read/write at design time and run time.

The HeaderClass property is used instead of MemberClass for a Column parent container. For more information about the MemberClass property, see MemberClass Property.

Note

If the member class is based on a class that is stored in a program (.prg) file, make sure that the compiled program (.fxp) file is synchronized with the .prg file.

Column.HeaderClass [ = cClassName ]

Return Value

  • cClassName
    Specifies the name of a member class in a program (.prg) file.

Remarks

Applies To: Column Object

You cannot edit or create a subclass of the Header class in a visual class library (.vcx). You need to use a program (.prg) file to define a Header class.

The Column class can contain only one header; therefore, no header count property is associated with the column.

At run time, changing the HeaderClassLibrary and HeaderClass properties at run time does not affect the header. You can change the header only by using the AddObject or ' methods, which replaces the current header with the new header.

See Also

Reference

Member Classes (Visual FoxPro)
MemberClass Property
HeaderClassLibrary Property
AddObject Method
NewObject Method

Other Resources

Properties (Visual FoxPro)