Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms, Methods and parameter passing
Message
De
06/02/2002 10:24:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/02/2002 10:12:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00615998
Message ID:
00616037
Vues:
20
>My access method is simple right now just for testing:
>Method Access:
>
>paramters ItemNumber
>this.price=ItemNumber+1
>return this.price
>
>
>On a buttons Valid I have this code.
>
>replace system_price with thisform.price(order_guide.item_num)
>
>^^^^ this is the line that causes the error. I eve tried:
>real_price=thisform.price(order_guide.item_num)
>
>same problem.
>
>thanks
>David

David,
If I'm reading it right there is a 'property' called price not a method.

* Which object is this? Is this price_access method itself ?
parameters ItemNumber
this.price=ItemNumber+1
return this.price

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform