Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid column misbehaviour
Message
De
01/10/1998 00:31:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid column misbehaviour
Divers
Thread ID:
00142683
Message ID:
00142683
Vues:
69
Converting application from VFP 5.0 to 6.0, and getting an undocumented behavior. There are 15 total columns, the first and 13th both have coding:
.DynamicCurrentControl = ;
"iif(inlist(QuoteTmp.RecordType,0,2,3,5,6,7,8,11)," + ;
"'Blank','Text1')"
in the INIT() of the grid, both 'Blank' and 'Text1' are textboxes. Both columns worked fine in 5.0a, but in 6.0, if I click on a cell in the 13th column: one, or more, or all of the other cells in the column change background color ( with a white border on left and bottom ). If I click on a cell in column 1, the cell responds as it should. In talking with the local VFP programmers, they express similar experiences -- they indicated that the SPARSE attribute seemed to affect this bizarre behaviour. Since there are only two values for SPARSE -- .T. or .F. and I have tried them both and yes the .F. setting does get rid of the colors, but does not pick the correct current control as coded above. Is this a problem in VFP 6? Or is there some other cause for the misbehaviour? BTW -- others report multiple changes of SPARSE seemed to fix their example of the problem, maybe because I have two columns that circumvention doesn't work?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform