Condividi tramite


THISFORMSET Object Reference

Provides a reference to the current form set in event code or in a class definition.

THISFORMSET.PropertyName | ObjectName

Parameters

  • PropertyName
    Specifies a property for the form set.
  • ObjectName
    Specifies an object in the form set.

Remarks

THISFORMSET provides a convenient way of referring to the current form set when writing event-handling programs in a form. Using THISFORMSET instead of explicitly referring to the current form by name (for example, form1.command1.caption) makes program code portable between forms.

When creating class definitions, THISFORMSET also provides a means of referring to the current form set within a method. THISFORMSET lets you reference an object on the form or property without using multiple Parent properties.

See Also

THIS | THISFORM | Object Reference Creation | Programmatic Class Definitions