General information
Title:
Class obj in a grid column -- need to show on each row
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only