Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column class def: how to specify the textbox properties
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows NT
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00987154
Message ID:
00987160
Views:
41
>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?
>
>Thanks,
>Jim

Something like
In Init Event of the Column
this.text1.NullDisplay = ""

or

FOR EACH oControl IN this.Controls
   IF PEMSTATUS(oControl,"NullDisplay",5)
      oControl.NullDisplay = ""
   ENDIF
ENDFOR
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform