Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change grid header programatically
Message
De
12/09/2013 11:42:13
 
 
À
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:
01583030
Vues:
103
o = CreateObject('grid')
o.ColumnCount = 1
? o.column1.RemoveObject('header1')
? o.column1.ControlCount
? o.column1.AddObject('header1','someHeaderClass')
? o.column1.ControlCount
Tested OK with VFP9, don't know about VFP7

>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
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform