Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a new method to a form
Message
From
18/02/1997 22:52:23
 
 
To
12/02/1997 22:19:19
Alhad Marathe
Asm Consulting
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00020302
Message ID:
00020999
Views:
52
>If I have a form set and want to add a new method to a form in the form set, the method is added to the formset and not to the form.
>
>Any suggestions ?
>
>Also is there a way of knowing which tables are in the dataenvironment of a particular form at runtime? I am using the default data session. I am trying to create a class for a generic closebutton which will use tablerevert function on all tables in a form when a form is released
>
>Thanks in advance
>
>Alhad


Concernig tablerevert function I usually use private dada session and I have the following code in release method of form baseclass:-

for i = 1 to aused(nooftables)
select nooftables(i,1)
if str(cursorgetprop('Buffering'),1) $ '2345'
=tablerevert(.t.)
endif
endfor
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform