Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Header makes its own caption
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01249475
Message ID:
01249477
Vues:
23
>I've run into this problem before . . . I have a class that acts as a picklist and the first column is a column of checkboxes so the user can pick one or more records. I have the caption set to the empty string. Normally this works fine, but for some reason the caption is getting set to "selected" which is the underlying table's field name. I have no code to set the caption. I've tried to trace this, but it's weird. I can trace through the code as the grid controls are initializing and the caption is blank, but as soon as I hit the Init of the grid itself, the caption becomes "selected". And there is code in the Init, but I'm stopping before it executes. Somehow the caption is already set at that point. I can't figure out where this caption name is coming from. This did happen in one other application and I had to put some code in the Init of the grid to blank it out. Anybody seen this?

Are you sure you're not running into grid re-construction problem?

You may want to review Grid reconstruction and how to avoid it FAQ #8019
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform