Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>>I had a grid with check boxes in some of the columns. Their captions were empty. Text from other columns was showing up in the cells containing those check boxes. This text would appear and disappear as I scrolled left or right. Someone (Mr. Pikman, I believe) said I should put THIS.Refresh in the grid.Scrolled event. That cleaned up the crud. However, I just realized that when I have many records in the grid, I can't scroll down. I have to use the arrow key to move the selected row down. The client is not going to like that. What else can I do about this that will perform smoothly?
>>>
>>>I am proud that you remember my name! Look at Scrolled event and use parameter nDirection to fire your code just for Horizontal scrolling.
>>
>>That's better than before, but now the user has to scroll first right and then down to see cells at the lower right, or scroll down, then click a cell near the bottom, then scroll right. Otherwise the refresh keeps scrolling back to place the selected cell in view. Is this really what everybody does?
>>
>>It did take me a while to notice that there is no "e" in your last name. :)
>
>Yes, this is a problem. I remember, I had it few months ago, and managed to do something with refresh (may be just for colimns?). Also you can try to toggle NODEFAULT in Refresh method (just for Horisontal scrolling).
>BTW, in what place you expected to see "e" in my last name?
I replaced the THIS.Refresh with
THIS.Column5.Refresh
THIS.Column6.Refresh
THIS.Column7.Refresh
and it seems to work fine. Thanks. If I notice anything else wrong I'll complain some more.
Between the "k" and the "m."
Précédent
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