Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a method programaticaly
Message
From
25/08/1998 09:30:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/08/1998 14:21:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00129153
Message ID:
00129658
Views:
30
>Hi all,
>
>How do I to create a method programaticaly.
>Write method do not create a method.
>
>
>Thank You,
>
>Mauricio Mesa.

You can't do this from within a builder - you'd have to open the .scx first, find the top record (where it says "Form" in "Baseclass" memo), and add a line in Reserved4 memo (or was it reserved3? add a custom method yourself and browse these two, you'll find your method's name). The line should have a space, method name, and chr(13). Optionally, between the name and CR you can insert comments. Then you should close the .scx file and reload it into the editor, and do your builder as before - now your method exists. Since this involves saving the form, opening it as table, and reopening it in the form designer, it's quite unsuitable to be done within a builder.

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