Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptions.CurrentEntry Property

Returns the SftOptionsEntry object of the current entry.

Syntax

Get

VB.NETrefEntryObj = object.CurrentEntry As SftOptionsEntry
VBSet refEntryObj = object.CurrentEntry As SftOptionsEntry
C#.NETSftOptionsEntry refEntryObj = object.CurrentEntry;
VC++ISftOptionsEntry* refEntryObj = object->CurrentEntry;
ISftOptionsEntry* refEntryObj = object->GetCurrentEntry();
CHRESULT object->get_CurrentEntry(ISftOptionsEntry** refEntryObj);

object

A SftOptions object.

refEntryObj

Returns the SftOptionsEntry object of the current entry.

Comments

The CurrentEntry property returns the SftOptionsEntry object of the current entry.

The end-user can change the selected (or current entry) by using the Home, End and arrow keys or by clicking on a new entry.

The Entry.MakeCurrent method can be used to make an entry 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 SftOptions Object | Object Hierarchy


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