Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change grid header programatically
Message
De
12/09/2013 07:08:47
Walter Meester
HoogkarspelPays-Bas
 
 
À
11/09/2013 21:50:34
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:
01582955
Vues:
109
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform