Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class obj in a grid column -- need to show on each row
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00610148
Message ID:
00610407
Views:
16
Hi

If you turn sparse off then you must use the ControlSource of the column to display the data in the desired format.

Simon

>I will have a numeric field in a table.
>
>I want to put a class built around a textbox into a grid column. Based on a value in a property in oApp I want the Grid column to present the numberic field in one of three ways 1) straight numeric 2) Telephone # (character) or 3) a persons name (character)
>
>Based on the property in oApp I would want the grid column to be one of these.
>
>I was thinking that I could build a class around a textbox that would read the value and then interpret the numeric value in the table and return 1 of these three to the column.
>
>When changed or saved – based on the oApp property; I would then convert the value back to numeric and save.
>
>
>The class works great. As a Textbox on a form – but when I drop it onto a grid column.
>Set sparse to .F. (even tried .t.) – I does not evaluat each row.
>
>Any help would be appreciated.
>
>William
Simon White
dCipher Computing
Previous
Reply
Map
View

Click here to load this message in the networking platform