SftOptions 1.0

SftOptions.Load Method

Softel vdm, Inc.

Loads all option settings.

Syntax       

VB.NET

object.Load

VB

object.Load

C#.NET

void object.Load();

VC++

HRESULT object->Load();

C

HRESULT object->raw_Load();

Delphi

procedure object.Load();

object

A SftOptions object.

Comments

The Load method loads all option settings.

The option settings as currently saved in the location defined by SftOptionsIO.File or SftOptionsIO.Registry are loaded into the SftOptions control.  Only option settings for which an entry has been added to the control are displayed. 

If no option entries have been previously saved in the location defined by SftOptionsIO.File or SftOptionsIO.Registry, the default values are set for each entry (see SftOptionsEntry.DefaultValue). 

The Save method is used to save all option settings.

The Load method does not have to be called if all entries are defined at design-time. It is only used after entries have been added at run-time using the SftOptions.Add method and InitializationComplete has been called to load the settings.

See Also  SftOptions Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2002 - Softel vdm, Inc. - www.softelvdm.com