Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass command button
Message
 
 
À
11/06/2003 12:49:38
Fabio Barbosa Silva
Jms Assessoria E Consultoria Ltda
Belo Horizonte, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00798492
Message ID:
00799026
Vues:
34
If you have a execute your class after your command , paste the command dodefault() in your event.
Dodefault() - > Execute a cod of class
Nododefault() -> Not Execute


FYI, It must be NODEFAULT without parenthesis... if you code with parenthesis in VFP8 you'll get an Error (not in previous version).
oC = CREATEOBJECT("MyLegacy")
OC.ShowMe()
DEFINE CLASS myLegacy as myCustom
  PROCEDURE ShowMe
     NODEFAULT() &&Later, use it without parenthesis...
     MESSAGEBOX("New Hola World")
  ENDPROC
ENDDEF

DEFINE CLASS myCustom as Custom
   PROCEDURE ShowMe
      MESSAGEBOX("Hello World")
   ENDPROC
ENDDEFINE
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform