>I'm defining a new column class in a PRG file for use in a grid. I understand how to define the associated Header class, and how to assign values to the properties of the column and the header in the respective class definitions in the PRG file.
>
>However, I would like to set the NullDisplay property of the Textbox that is used by the column to display the data. Can I do that in the column class definition as well? How?
Here's a prg-based column from a project of mine:
Define Class GrdOutOfWorkBookColumn As Column
HeaderClass = "GrdOutOfWorkBookHeader"
HeaderClassLibrary = "GrdOutOfWorkBookClasses.PRG"
Add Object Text1 As GrdOutOfWorkBookTextBox
Enddefine
Define Class GrdOutOfWorkBookHeader As Header
Alignment = 2
Caption = "Header"
WordWrap = .T.
Enddefine
Define Class GrdOutOfWorkBookTextBox As TextBox
BorderStyle = 0
Margin = 0
Format = "Z"
NullDisplay = ""
Enddefine