Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptions.InitializationComplete Method

Signals that all entries have been added.

Syntax

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

object

A SftOptions object.

Comments

The InitializationComplete method signals that all entries have been added.

If entries are added or removed, their properties (such as Entry.Text) are modified, which can affect horizontal scrolling, the InitializationComplete method should be used.

The InitializationComplete method recalculates the horizontal scrolling extent and optimizes the horizontal scrollbar. If no entry is selected, the first entry is selected and the SelectionChange event occurs.

The InitializationComplete method does not have to be called if all properties and entries are defined at design-time. However, it is perfectly acceptable to use the InitializationComplete method in this case.

Example

SftOptions1.Add "", "Topic1", "Sample Topic 1", entrySftOptionsTopic, "", "", _
	Nothing, "", "", "", ""
SftOptions1.Add "", "Topic2", "Sample Topic 2", entrySftOptionsTopic, "", "", _
	Nothing, "", "", "", ""
SftOptions1.InitializationComplete

See Also SftOptions Object | Object Hierarchy


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