Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Alessio. Thanks for your reply .
The KeyPreview property what does this do ?
Regards,
Gerard
>Have you tried to set the form's keypreview property to .T. ?
>HTH
>>Hi.
>>Is there any way , within a form, of running code on a DoubleClick (or Return Key) event thats pressed from within a grid.
>>I want to exit the form if either the DobleClick or the Return key is pressed inside in the grid.
>>
>>Now, I know I can do this on the the control within the Grid, but this means changing all my base classes and I dont want to do that.
>>Nor is it that easy to 'over-ride' the doubleclick event of the control in the grid as the fields within the Grid are data driven from my framework (i.e. The Grid itself does not have any controls.. these are added programaticlly)
>>
>>Idealy what I would like to be able to do is something like:
>>
>>On Key DoublClick (In the Grid) Or On Key Return(in the Grid)
>> SomeCode Here
>> Thisform.Release
>>
>>Any help appreciated
>>
>>Regards,
>>Gerard
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