Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class obj in a grid column -- need to show on each row
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00610148
Message ID:
00610407
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform