Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Vlad.
>> Ouch! You're correct, I mixed it.
Anyway, ActiveRow is not reliable even when grid have a focus. Go look to coments in the MaxFrame grid sources - they read this property twice because it is zero first time after focus setting (maybe it is only in the early versions of VFP6?). <<
AFAIK, both ActiveRow and RelativeRow are still unreliable because if you scroll the currently active row in the grid out of site using the vertical scroll bars, both ActiveRow and RelativeRow get set to 0. If you then scroll the active row back into the visible portion of the grid, these properties contain the correct values.
Personally, I think that this behavior supports the idea that there is really only ever one row in a grid and that the rest is done with smoke and mirrors < s >.
Marcia
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