Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1 CRASH and 1 BUG/ISSUE: bindevent and array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
1 CRASH and 1 BUG/ISSUE: bindevent and array
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01031424
Message ID:
01031424
Vues:
59
x=CREATEOBJECT("testbind")
ADDPROPERTY(x,"some[1]")

BINDEVENT(x,"some",x,"delegate")

? "BUG ? : write into the property don't call delegate"

x.some[1] = null

*UNBINDEVENTS(x,"some",x,"delegate")

CLEAR TYPEAHEAD
WAIT "CRASH: To remove an array bind to a method " TIMEOUT 1

REMOVEPROPERTY(x,"some")


DEFINE CLASS testbind as Custom

	PROCEDURE delegate
		? "delegate"
		
ENDPROC
Répondre
Fil
Voir

Click here to load this message in the networking platform