Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Header caption
Message
De
23/06/2001 05:48:00
Stephanie Caragos
Ebs Accounting Software Solutions
Cagayan de Oro City, Philippines
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Header caption
Divers
Thread ID:
00522742
Message ID:
00522742
Vues:
29
Hi friends....i have a little err...situation here. I'm trying to add columns to a grid at run time but i can't seem to add the caption. I used the following lines

** where grd_expense is the name of the grid
** hoo = is the variable containing the name of the column to be added

thisform.grd_expense.AddObject(hoo, "column")
thisform.grd_expense.&hoo..header1.caption='Amount'

the problem that comes up is that the header caption does not display at all even if i refresh the grid. Also everytime i check if the caption does have value using messagebox ex.

messagebox(thisform.grd_expense.&hoo..header1.caption)

it indicates that the value of the caption is indeed the word 'Amount'

how do i go about this problem?

Stephanie
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform