Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

EntrySelectMouse Property, SftMask Object

Defines whether mouse clicks honor the EntrySelect property setting.

Syntax

Get

VB.NETBoolean = object.EntrySelectMouse As Boolean
VBBoolean = object.EntrySelectMouse As Boolean
C#.NETbool Boolean = object.EntrySelectMouse;
VC++VARIANT_BOOL Boolean = object->EntrySelectMouse;
VARIANT_BOOL Boolean = object->GetEntrySelectMouse();
CHRESULT object->get_EntrySelectMouse(VARIANT_BOOL* Boolean);

Put

VB.NETobject.EntrySelectMouse = Boolean As Boolean
VBobject.EntrySelectMouse = Boolean As Boolean
C#.NETbool object.EntrySelectMouse = Boolean;
VC++VARIANT_BOOL object->EntrySelectMouse = Boolean;
void object->PutEntrySelectMouse(VARIANT_BOOL Boolean);
CHRESULT object->put_EntrySelectMouse(VARIANT_BOOL Boolean);

object

A SftMask object.

Boolean

Defines whether mouse clicks honors the EntrySelect property setting.

BooleanDescription
TrueWhen the control receives the input focus as a result of mouse input (left mouse button), the behavior defined using the EntrySelect property is used.
FalseWhen the control receives the input focus as a result of mouse input (left mouse button), no selection takes place and the insertion point is positioned where the mouse button was clicked (possibly adjusted to the nearest input position).

Comments

The EntrySelectMouse property defines whether mouse clicks honor the EntrySelect property setting.

Examples

VB.NET

    AxSftMask1.Mask = "$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)"
    AxSftMask1.Text = "127.0.0.1"
    AxSftMask1.EditStyle = SftMaskEditStyleConstants.editSftMaskUpDown
    AxSftMask1.AutoAdvance = True
    AxSftMask1.AutoSize = True
    AxSftMask1.TabAdvance = True
    AxSftMask1.TabAdvanceLast = True
    AxSftMask1.EntrySelect = SftMaskEntrySelectConstants.entrySftMaskSelectHome
    AxSftMask1.EntrySelectMouse = True
End Sub

VB6

    SftMask1.Mask = "$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)"
    SftMask1.Text = "127.0.0.1"
    SftMask1.EditStyle = editSftMaskUpDown
    SftMask1.AutoAdvance = True
    SftMask1.AutoSize = True
    SftMask1.TabAdvance = True
    SftMask1.TabAdvanceLast = True
    SftMask1.EntrySelect = entrySftMaskSelectHome
    SftMask1.EntrySelectMouse = True
End Sub

C#

    axSftMask1.Mask = @"$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)";
    axSftMask1.Text = "127.0.0.1";
    axSftMask1.EditStyle = SftMaskEditStyleConstants.editSftMaskUpDown;
    axSftMask1.AutoAdvance = true;
    axSftMask1.AutoSize = true;
    axSftMask1.TabAdvance = true;
    axSftMask1.TabAdvanceLast = true;
    axSftMask1.EntrySelect = SftMaskEntrySelectConstants.entrySftMaskSelectHome;
    axSftMask1.EntrySelectMouse = true;
}

C++

    m_pMask1->Mask = _T("$I^03(0,255)\\.$I^03(0,255)\\.$I^03(0,255)\\.$I^03(0,255)");
    m_pMask1->Text = _T("127.0.0.1");
    m_pMask1->EditStyle = editSftMaskUpDown;
    m_pMask1->AutoAdvance = VARIANT_TRUE;
    m_pMask1->AutoSize = VARIANT_TRUE;
    m_pMask1->TabAdvance = VARIANT_TRUE;
    m_pMask1->TabAdvanceLast = VARIANT_TRUE;
    m_pMask1->EntrySelect = entrySftMaskSelectHome;
    m_pMask1->EntrySelectMouse = VARIANT_TRUE;

    return TRUE;
}

See Also SftMask Object | Object Hierarchy


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