Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing method within a form...
Message
From
31/05/2003 17:56:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
31/05/2003 17:51:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00794925
Message ID:
00794932
Views:
9
>>I want to access and run a method within a form on-the-fly, without running the form.
>>
>>Thanks.
>
>I don't think it is possible to absolutely avoid running the form.

Correction: I don't think there is an easy way. You can open the form as a table (use MyForm.scx), search for the desired code (it is in one of the memo fields), copy it to a PRG, compile it (1), and run it. But this is fairly complicated.

(1) This requires VFP 6 with SP3, or later.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform