SftOptions 1.0

SftOptionsEntry.Value Property

Softel vdm, Inc.

Defines the entry's value.

Syntax       

Get

VB.NET

String = object.Value  As String

VB

String = object.Value  As String

C#.NET

string String = object.Value;

VC++

_bstr_t String = object->Value;
_bstr_t String = object->GetValue();

C

HRESULT object->get_Value(BSTR* String);

Delphi

String := object.Value   : WideString;

Put

VB.NET

object.Value = String  As String

VB

object.Value = String  As String

C#.NET

string object.Value = String;

VC++

_bstr_t object->Value = String;
void object->PutValue(_bstr_t String);

C

HRESULT object->put_Value(BSTR String);

Delphi

object.Value := String   : WideString;

object

A SftOptionsEntry object.

String

Defines the entry's value.

Comments

The Value property defines the entry's value. 

The Value property reflects the current value of the property in the SftOptions control (the user interface control).  The actual value as currently saved in the Registry or INI file is accessed using the SftOptsIO control and its SftOptsIO.OptionValue property or through the SftOption control's SftOptionsIO.OptionValue property.

Based on the entry type, the following Values are supported.

Name

Description

entrySftOptionsTopic

Any string value, not used or saved.

entrySftOptionsCheckBox

The string value "1" represents a selected options, any other value (including a null string) represents a deselected option. 

entrySftOptionsCheckBox3

The string value "1" represents a selected options, "-1" represents unknown state, any other value (including a null string) represents a deselected option.

entrySftOptionsRadioButton

The string value "1" represents a selected options, any other value (including a null string) represents a deselected option. 

entrySftOptionsEllipse

Any string value.

When testing check box or radio button values (or the associated SftOptionsIO.OptionValue or SftOptsIO.OptionValue properties), test for "1" or "" (i.e., do not test for "0").

See Also  SftOptionsEntry Object | Object Hierarchy


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