Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptionsEntry.Value Property

Defines the entry's value.

Syntax

Get

VB.NETString = object.Value As String
VBString = object.Value As String
C#.NETstring String = object.Value;
VC++_bstr_t String = object->Value;
_bstr_t String = object->GetValue();
CHRESULT object->get_Value(BSTR* String);

Put

VB.NETobject.Value = String As String
VBobject.Value = String As String
C#.NETstring object.Value = String;
VC++_bstr_t object->Value = String;
void object->PutValue(_bstr_t String);
CHRESULT object->put_Value(BSTR String);

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.

NameDescription
entrySftOptionsTopicAny string value, not used or saved.
entrySftOptionsCheckBoxThe string value "1" represents a selected options, any other value (including a null string) represents a deselected option.
entrySftOptionsCheckBox3The string value "1" represents a selected options, "-1" represents unknown state, any other value (including a null string) represents a deselected option.
entrySftOptionsRadioButtonThe string value "1" represents a selected options, any other value (including a null string) represents a deselected option.
entrySftOptionsEllipseAny string value.

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

See Also SftOptionsEntry Object | Object Hierarchy


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