共用方式為


ParentClass Property

Returns the name of the class on which the object's class is based. Read-only at design time and run time.

Object.ParentClass

Remarks

In the Class Designer, the ParentClass property contains the name of the class on which the subclass's class is based.

See Also

Parent Property

Applies To: ActiveDoc Object | CheckBox | Column | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | Custom | EditBox | Form | FormSet | Grid | Header | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | Page | PageFrame | ProjectHook Object | _SCREEN | Session Object | Shape | Spinner | TextBox | Timer | ToolBar