>Hi folks,
>
>Is there an event in a VFP grid in which a row and/or column resize event can be trapped? I have found nothing int the grid that traps these events. The column resize event is raised and can be trapped in the column object, but I need to trap it in the grid object itself.
>
>Any ideas that don't use a timer would be appreciated?
>
>Thanks,
Can you not have your Columns "delegate" to your Grid ? eg.
Add a Custom "event" to your Grid (base class):
PROC Col_Resize
LPARAMETER
...
Return
In the (subclassed) Column's Resize event, do the following:
PROC Resize
xRet = THIS.Parent.Col_Resize( )
The Grid's "Col_Resize event" is now triggered anytime a Column is resized.
The parameters and return codes are of course optional.
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