Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change grid header programatically
Message
 
À
12/09/2013 07:08:47
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01582929
Message ID:
01582986
Vues:
83
Anything in the grid can be changed at run time.
Thisform.grdMygrid.Column1.Header1.Capton = "New column caption here"
Hi Randy,
>
>Acutally there is a way to avoid this.
>
>I've got a header class in a visual classlib though you can't actually visually change it, you can hack the VCX and change it that way.
>Of every predefined grid in our project, we hack the VCX or SCX and replace the header class (class and classloc fields) with the custom header.
>
>I've found that to be working best rather than to try to replace the header at runtime.
>
>Walter,
>
>
>
>
>>Hi. Please note that I am a vfp7 user. Problem: I cannot change a column header "on the fly". Will someone kindly suggest code syntax and placement of the code? The form has one grid and is a modal form.
>>
>>Thanks, Randy
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform