Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anybody ca help mecall a function to evaluate cell in g
Message
De
22/06/1999 13:57:11
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
21/06/1999 16:15:31
Dovi Gilberd
Dovtware Consulting Inc
Miami, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual ProMatrix
Divers
Thread ID:
00232180
Message ID:
00232606
Vues:
22
>i created a function in my main program called function result()
>how, where and it what way i call the function in my grid to show the results of the function.
>the function is suposed to calculate time lapsed between two times..
>can any body please help me

Just a tip over what Erik said: a slightly better way is to create a custom method in the form which holds the grid, and then have thisform.result() as controlsource of the column where it should appear. This way the function is kept there where its used, and you don't have to worry if tomorrow you can't remember where's the function. If this function is used at various places around the app, then you may be better off having a separate file called result.prg (and don't put "Function Result" or "Procedure Result" in the first line - it's slower) and then just do as Erik said.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform