FBProperty Class Reference


Detailed Description

Generic application property.

FBProperty objects cannot be instantiated by the user. Reference to a property can be obtained either via an instance of a FBComponent object, or by calling the method 'Find()' of a FBPropertyManager. The class FBComponent has a FBPropertyManager data member named 'PropertyList'.

When accessing a FBProperty object via its containing object, you can get or set (assuming it is not read-only) its value directly:


      lObject.Visibility = True
   

When accessing a property reference directly, its value is obtained via it's 'Data' member.


      lProp = lObject.PropertyList.Find( 'Visibility' )
      if lProp: lProp.Data = True
   

The methods 'PropertyCreate()' and 'PropertyRemove' of the class FBComponent can be used to modify an object's set of properties.

Inheritance diagram for FBProperty:
Inheritance graph
[legend]

List of all members.

Public Attributes

str  Name
  Read Property: The property's name.
object  Data
  Read Write Property: The property data value.

Member Data Documentation

Read Property: The property's name.


FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty
FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty FBProperty