Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxEdit.GetSelectionV Method

Returns the starting and ending positions of the current selection in the edit control portion.

Syntax

VB.NETobject.GetSelectionV(ByRef iStart As Object, ByRef iEnd As Object)
VBobject.GetSelectionV(iStart As Variant, iEnd As Variant)
C#.NETvoid object.GetSelectionV(out object iStart, out object iEnd);
VC++HRESULT object->GetSelectionV(const _variant_t&* iStart, const _variant_t&* iEnd);
CHRESULT object->raw_GetSelectionV(VARIANT* iStart, VARIANT* iEnd);

object

A SftBoxEdit object.

iStart

Returns the zero-based index of the first character where the selection starts.

iEnd

Returns the zero-based index of the last character before which the selection ends.

Comments

The GetSelectionV method returns the starting and ending positions of the current selection in the edit control portion.

The GetSelectionV method is used with Internet Explorer/VBScript.

The text of the current selection in the edit control portion can be retrieved using the Edit.SelText property.

See Also SftBoxEdit Object | Object Hierarchy


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