Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column class def: how to specify the textbox properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows NT
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00987154
Message ID:
00987160
Vues:
40
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform