Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a new method to a form
Message
De
18/02/1997 22:52:23
 
 
À
12/02/1997 22:19:19
Alhad Marathe
Asm Consulting
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00020302
Message ID:
00020999
Vues:
43
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform