Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class function in grid control source?
Message
 
To
08/03/1999 01:54:48
Chong Hanwah
Apic Systems Pteltd
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00195086
Message ID:
00195397
Views:
13
>In VFP 5, I can put in the control source of a column in
>a grid with 'thisform.xclass.xfunction(x,y,z)'
>and this works well,but in VFP 6, it gives me error :
> Error loading file,control source: unknown member
>
>Any idea from Anyone??

By using the DynamicCurrentControl, you will have to make sure that there is a control in the column that corresponds to the object name returned by your xFunction(x,y,z). If the object doesn't exist you will have an error. Also, if the function fails to properly identify a valid control and returns a .f., .t. or blank it too will give you an error.
Previous
Reply
Map
View

Click here to load this message in the networking platform