Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messing with .SCX form file methods?
Message
From
04/10/2001 13:14:29
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00564042
Message ID:
00564287
Views:
20
>No problem...
>I could be wrong, but when I looked at RESERVED3 it looks like that field is for method names that you create yourself. Not for methods that are already part of VFP objects default method which RightClick Event is.

There are several types of entries in Reserved3, and they have a different char for prefix - sometimes it's a *, sometimes a ^ - depending on whether it's a locally introduced property (i.e one the parent class doesn't have), introduced method, overridden method (exists in parent class but not blank here) etc.

If you're not using the designer, you'd better write a builder (you don't have to register it in builder.dbf, just open up your form/class) and then run it from the command window:
=aselobj(aObj)
aObj[1].writemethod({method name}, {var containing method text})
Still, you'd have to Compile Form, just in case. It doesn't take too long, but that does depend on the complexity of the form.

back to same old

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

Click here to load this message in the networking platform