Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameters
Message
From
17/02/1999 12:48:50
 
 
To
17/02/1999 12:43:12
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00188484
Message ID:
00188486
Views:
19
>I had visually define a class. Visually define all the objects with
>it's methods and properties. I don't know how to give a methid the possibility to accept parameters.
>See VCR example on VFP manual, on the last part of the code definition, when you create the vcr object the method "SetTable" needs a parameters "cTableAlias". Doing this on a .PRG is easy, but the manual and the programs help soy nothing about doing that vissualy.
>
>PLEASE is really important for me to solve this problem...
>
>Thank You very Much.
>
>Emiliano from Argentina.

Emil...

realmente no es muy dificil hacerlo...
lo que tienes que hacer es estar seguro que el metodo que recibe los parametros
tiene la lista de ellos al comienzo...

LPARAMETERS ;
...

despues de esto puedes usar ese parametro comouna variable local al methodo.

y para pasar parametros a este metodo desde otro u otro programa...

.()
An Intelligent fool can make things bigger and more complex... It takes a touch of a genius -and a lot of courage- to move in the opposite direction".
-Albert Einstein
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform