Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

_FlatProperties Property, SftTree Object

Defines whether properties are stored as a flat list in a property bag.

Syntax

Get

VB.NETBoolean = object._FlatProperties As Boolean
VBBoolean = object._FlatProperties As Boolean
C#.NETbool Boolean = object._FlatProperties;
VC++VARIANT_BOOL Boolean = object->_FlatProperties;
VARIANT_BOOL Boolean = object->Get_FlatProperties();
CHRESULT object->get__FlatProperties(VARIANT_BOOL* Boolean);

Put

VB.NETobject._FlatProperties = Boolean As Boolean
VBobject._FlatProperties = Boolean As Boolean
C#.NETbool object._FlatProperties = Boolean;
VC++VARIANT_BOOL object->_FlatProperties = Boolean;
void object->Put_FlatProperties(VARIANT_BOOL Boolean);
CHRESULT object->put__FlatProperties(VARIANT_BOOL Boolean);

object

A SftTree object.

Boolean

Defines whether properties are stored as a flat list in a property bag.

BooleanDescription
TrueProperties are stored as a flat list if a property bag is used (IPropertyBag interface).
FalseProperties are stored as objects if a property bag is used (IPropertyBag interface). This is the default and the recommended setting.

Comments

The _FlatProperties property defines whether properties are stored as a flat list in a property bag.

The _FlatProperties property can be used with development tools that do not properly save objects in a property bag (IPropertyBag interface). Visual Basic, Visual C++, Delphi, C++ Builder and many others fully support objects in property bags or use the IStream interface. For these, the _FlatProperties property should be set to False (the default).

When using development tools that cannot save objects in a property bag, you will notice that certain settings are lost when saving and loading forms, usually with HTML editors. In this case the _FlatProperties property should be set to True. This is a limitation of the development tool, not our product. Even with _FlatProperties set to False, Picture object and Font object definitions (such as the Font property) are still lost. These must be set at run-time and are lost if defined at design-time. Only the SftTree objects are affected by the _FlatProperties property.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2021 Softel vdm, Inc.