Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class definition problem
Message
De
30/05/2001 02:24:07
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00512512
Message ID:
00512530
Vues:
7
Hi Eric,

thanks for you reply :)

I know Lparameters is needed to pass variables
I only want to use the following code to show a shape which can be clicked, but it gives "unknown member DETECTOR"..
May I ask what is the problem with it? How can I fix it?
define class MyRoom as container
  procedure Init
    this.addobject("Detector", "MyShape")
  endproc

  procedure Detector.click
    wait window "You clicked me!"
  endproc
enddefine
Thanks a lot!
error(503): file structure failure, signature file corrupted.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform