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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement