Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptionsEntry.MakeCurrent Method

Makes the entry the current entry.

Syntax

VB.NETobject.MakeCurrent
VBobject.MakeCurrent
C#.NETvoid object.MakeCurrent();
VC++HRESULT object->MakeCurrent();
CHRESULT object->raw_MakeCurrent();

object

A SftOptionsEntry object.

Comments

The MakeCurrent method makes the entry the current entry.

If the entry is not currently displayed, it is scrolled into view.

The MakeVisible method can be used to make an entry visible without making it the current entry.

Example

SftOptions1.Add "", "Topic1", "Sample Topic 1", entrySftOptionsTopic, "", "", _
	Nothing, "", "", "", ""
SftOptions1.Add "Topic1", "Cb1", "Check Box 1", entrySftOptionsCheckBox, "", "", _
	Nothing, "", "", "", ""
SftOptions1.Add "Topic1", "Cb2", "Check Box 2", entrySftOptionsCheckBox, "", "", _
	Nothing, "", "", "", ""
SftOptions1.Add "", "Topic2", "Sample Topic 2", entrySftOptionsTopic, "", "", _
	Nothing, "", "", "", ""
SftOptions1.Entry("Cb2").MakeCurrent
SftOptions1.CurrentEntry.Text = SftOptions1.CurrentEntry.Text + " - Current Entry"
SftOptions1.InitializationComplete

See Also SftOptionsEntry Object | Object Hierarchy


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