Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReadMethod method
Message
From
28/01/1999 17:43:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
28/01/1999 13:54:42
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00181447
Message ID:
00181569
Views:
11
>set classlib to readtest
>x = createobject("readtest.readtest")
>messagebox(x.readmethod("init"), "Init Code")
>messagebox(x.readmethod("justcode"), "Custom Method Code")
>
>I have read that ReadMethod works only in Visual Classes. But I have not found any other limitations for it. My class is not programmatic, so I assume ReadMethod should work. But it does not.
>
>Any suggestions?
>TIA.
>Dmitriy Zaslavskiy

ReadMethod was intended for builders and wizards, so it's supposed to work in design mode. BTW, I'm not sure that createobject("readtest.readtest") is correct syntax - I've never seen it, unless it's from OLE class. Does your object really get instantated?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform