Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class definition problem
Message
From
30/05/2001 02:24:07
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00512512
Message ID:
00512530
Views:
6
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform