Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: on _VFP Intellisense don't show the UDP
Message
De
11/08/2005 07:48:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01040137
Message ID:
01040150
Vues:
14
>The _VFP is a VFP COM interface. It's a bug that you can add a property to it.
>

I don't agree.
Every object has Application, and therefore it is a lot of profit and sensible to be able to add properties to the application object.
Besides it is difficult to think to a bug or a side effect that supports,
(almost!) all the commands without collapsing or errors.
ADDPROPERTY(_VFP,"SomeProperty",4)
odelegate=CREATEOBJECT("_VFP_Delegate")

BINDEVENT(_VFP,"SomeProperty",odelegate,"callMe",1)
_VFP.SomeProperty = 5

DEFINE CLASS _VFP_Delegate AS Custom
	PROCEDURE callme
		? "bind",this.Application.SomeProperty
ENDDEFINE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform