event EditChange (Property as Property, Value as Variant)
Fired when user alters the text of an edit control.

 TypeDescription 
   Property as Property A Property object being changed.  
   Value as Variant A string expression that indicates the caption of the text box control.  

The EditChange event is fired when user alters the text of the control's edit box. The PropertyChange event is fired when user changes the property's value. Use the Value property to access the old value for the property being changed. Use the ID property to identify a property. The KeyDown event is fired when user presses a key. The KeyPress event occurs when the user presses and releases an ANSI key. The control fires the SelChange event when a new property is selected. Use the UserData property to associate an extra data to a property. 

Syntax for EditChange event, /NET version, on:

private void EditChange(object sender,exontrol.EXPROPERTIESLISTLib.Property Property,ref object Value)
{
}

Private Sub EditChange(ByVal sender As System.Object,ByVal Property As exontrol.EXPROPERTIESLISTLib.Property,ByRef Value As Object) Handles EditChange
End Sub

Syntax for EditChange event, /COM version, on:

private void EditChange(object sender, AxEXPROPERTIESLISTLib._IPropertiesListEvents_EditChangeEvent e)
{
}

void OnEditChange(LPDISPATCH Property,VARIANT FAR* Value)
{
}

void __fastcall EditChange(TObject *Sender,Expropertieslistlib_tlb::IProperty *Property,Variant * Value)
{
}

procedure EditChange(ASender: TObject; Property : IProperty;var Value : OleVariant);
begin
end;

procedure EditChange(sender: System.Object; e: AxEXPROPERTIESLISTLib._IPropertiesListEvents_EditChangeEvent);
begin
end;

begin event EditChange(oleobject Property,any Value)
end event EditChange

Private Sub EditChange(ByVal sender As System.Object, ByVal e As AxEXPROPERTIESLISTLib._IPropertiesListEvents_EditChangeEvent) Handles EditChange
End Sub

Private Sub EditChange(ByVal Property As EXPROPERTIESLISTLibCtl.IProperty,Value As Variant)
End Sub

Private Sub EditChange(ByVal Property As Object,Value As Variant)
End Sub

LPARAMETERS Property,Value

PROCEDURE OnEditChange(oPropertiesList,Property,Value)
RETURN

Syntax for EditChange event, /COM version (others), on:

<SCRIPT EVENT="EditChange(Property,Value)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function EditChange(Property,Value)
End Function
</SCRIPT>

Procedure OnComEditChange Variant llProperty Variant llValue
	Forward Send OnComEditChange llProperty llValue
End_Procedure

METHOD OCX_EditChange(Property,Value) CLASS MainDialog
RETURN NIL

void onEvent_EditChange(COM _Property,COMVariant /*variant*/ _Value)
{
}

function EditChange as v (Property as OLE::Exontrol.PropertiesList.1::IProperty,Value as A)
end function

function nativeObject_EditChange(Property,Value)
return

The following sample prints the current text of the control's editing box:

Private Sub PropertiesList1_EditChange(ByVal Property As EXPROPERTIESLISTLibCtl.IProperty, Value As Variant)
    Debug.Print Value
End Sub

 


Send comments on this topic.
1999-2015 Exontrol.COM, Software. All rights reserved.