General information
Category:
Forms & Form designer
Title:
How to get grid to show a translated field value
Hi,
I placed a textbox inside a grid column, deleting the previously existing textbox. The new textbox is a subclass of a Codemine class which translates the table.field contents from a decimal time to an hour:minutes format.
I verified that the mechanism correctly places the expected value in textbox.value, but the grid does not show the textbox.value, but rather the column.controlsource's value. If I make column.controlsource = table.field then the decimal value is presented to user, naturally. If I leave the column.controlsource blank, hoping that VFP would use textbox.value, then the first column of the table is shown.
Any suggestions?
TIA,
Alex
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