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:
00610200
Vues:
21
I'm wondering how a numeric field in a table can represent a persons name?
Maybe you should put three separate textboxes in the column and select one of them based on oApp property using DynamicCurrentControl property of the grid column.

>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
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform