SftOptions 1.0

SftOptionsEntry.Remove Method

Softel vdm, Inc.

Removes the entry.

Syntax       

VB.NET

object.Remove

VB

object.Remove

C#.NET

void object.Remove();

VC++

HRESULT object->Remove();

C

HRESULT object->raw_Remove();

Delphi

procedure object.Remove();

object

A SftOptionsEntry object.

Comments

The Remove method removes the entry. 

The RemoveAll method can be used to remove all entries.

The entry is removed from the SftOptions control.  Registry and INI file settings cannot be removed with SftOptions or the SftOptsIO control.  These are normally removed by a setup application during uninstallation of the application.

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").Remove
SftOptions1.InitializationComplete

See Also  SftOptionsEntry Object | Object Hierarchy


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