HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

UseThemes Property, SftTree Object

Defines whether Windows themes are used.

Syntax

Get

VB.NETBoolean = object.UseThemes As Boolean
VBBoolean = object.UseThemes As Boolean
C#.NETbool Boolean = object.UseThemes;
VC++VARIANT_BOOL Boolean = object->UseThemes;
VARIANT_BOOL Boolean = object->GetUseThemes();
CHRESULT object->get_UseThemes(VARIANT_BOOL* Boolean);

Put

VB.NETobject.UseThemes = Boolean As Boolean
VBobject.UseThemes = Boolean As Boolean
C#.NETbool object.UseThemes = Boolean;
VC++VARIANT_BOOL object->UseThemes = Boolean;
void object->PutUseThemes(VARIANT_BOOL Boolean);
CHRESULT object->put_UseThemes(VARIANT_BOOL Boolean);

object

A SftTree object.

Boolean

Defines whether Windows themes are used.

BooleanDescription
TrueWindows themes can be used, if available.
FalseWindows themes are never used.

Comments

The UseThemes property defines whether Windows themes are used.

Examples

VB6

      DragType        =   3
      Enabled         =   1
      HandleReturn    =   -842150451
      MousePointer    =   0
      LeftButtonOnly  =   1
      LeftItemClickOnly=   1
      OLEDropMode     =   0
      RightToLeft     =   0
      UseThemes       =   -1  'True
      Scrollbars      =   3
      ScrollbarStyle  =   0
      ShowTruncated   =   1
      VAlignStyle     =   0
      VirtualMode     =   0
      WebLicense      =   ""
      SmoothScroll    =   1

See Also SftTree Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.