Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a method programaticaly
Message
De
25/08/1998 09:30:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
23/08/1998 14:21:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00129153
Message ID:
00129658
Vues:
31
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform