Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptions.EllipseAction Event

The user has clicked on an Ellipse option.

Syntax

VB.NETPrivate Sub object_EllipseAction(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.EllipseAction
VBPrivate Sub object_EllipseAction(ByVal Name As String, ByVal Value As String)
C#.NETvoid object_EllipseAction(object sender, EventArgumentType e);
VC++void OnEllipseActionobject(_bstr_t Name, _bstr_t Value);
CHRESULT OnEllipseActionobject(BSTR Name, BSTR Value);

object

A SftOptions object.

Name

The name of the Ellipse entry.

Value

The current value of the option (see Entry.Value).

Comments

The EllipseAction event occurs when the user has clicked on an Ellipse option.

The application must implement a modal dialog or other mechanism to edit the contents of the option.

Example

Private Sub Form_Load()
	SftOptions1.Add "", "Main", "Temporary Files Path", entrySftOptionsTopic, "", "", Nothing, "", "", "", ""
	SftOptions1.Add "Main", "TempFiles", "Workfiles at C:\Windows\Temp", entrySftOptionsEllipse, "C:\Windows\Temp", "", Nothing, "", "", "", ""
	SftOptions1.InitializationComplete
End Sub

Private Sub SftOptions1_EllipseAction(ByVal Name As String, ByVal Value As String)
	'
	' Edit the provided Value using a modal dialog implemented
	' by the application
	'
	SftOptions1.Entry(Name).Value = "C:\Another\Directory\" & Time ' simulated modification
	SftOptions1.Entry(Name).Text = "Workfiles at " + SftOptions1.Entry(Name).Value
	SftOptions1.InitializationComplete
End Sub

See Also SftOptions Object | Object Hierarchy


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