Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms, Methods and parameter passing
Message
From
06/02/2002 10:24:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/02/2002 10:12:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00615998
Message ID:
00616037
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform