Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox Control in Grid
Message
 
 
À
07/02/2002 14:36:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00616905
Message ID:
00617133
Vues:
45
Keith,

When you ZAP the table you are ripping the table out from under the grid and it self destructs (loses all of the columns) and then it rebuilds itself. When it does this it reconstructs with itself with the default VFP controls.

You can use a parameterized view to avoid this problem. You can also set teh grid.RecordSource = "" just before the ZAP and then restore it afterwards.

>I have a table that links to a grid. One of the columns in the table is a logical field. I have placed a checkbox control, in the grid, for that logical field. Then I deleted the original textbox control. When I zap the table and then add some records to it, the grid uses a textbox control for the logical field, instead of the checkbox control I creatred.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform