Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What Causes Grid to Lose all its Columns
Message
De
02/05/2013 12:22:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01572465
Message ID:
01572494
Vues:
44
setting a new controlsource is hiccupy for grids. Look into "safe select" keeping the controlsource or the cursoradapter, which also works around this issue.


>I had a method in the DynamicBackColor which I moved and combined with the Method in the ControlSource and now the problems seems to have disappeared. So perhaps the DynamicBackColor property cannot handle methods correctly.
>
>Simon
>
>
>>Hi
>>
>>I have a grid bound to an alias and it randomly loses all of it columns. The record source is never changed but the columns just vanish and I am left with an empty box. I have noticed weird things happen when you use a method for the column control source and this grid is just two columns with ControlSources set to Thisform.SetListText("UPTBL") and ThisForm.SetListPicture("UPTBL",UPTbl.ID)
>>
>>I see that the Code References tool uses method for the column control source but I have never seen it lose its columns so I am wondering what might be different.
>>
>>I have attached an image of the before and after condition. The blank grid occurred when I pressed the page down key twice quickly.
>>
>>Thanks,
>>Simon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform