Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put some code on the header.click()
Message
De
24/09/1997 20:56:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00051502
Message ID:
00051514
Vues:
41
>>>Fr :
>>>Je voudrais mettre du code dans la méthode click d'un header (appel
>>>d'une fonction) par programmation.
>>>En effet on peut utiliser grid.addcolumn() mais je n'arrive pas affecter
>>>les méthodes sousjacentes ...
>>>
>>>
>>>Us :
>>>I would like to put some code on the click method of a header object
>>>(function call for example) after a grid.addcolumn(), but how do it ??
>>>
>>>Thanks
>>
>>I think you must define a new column class in code (DEFINE CLASS...) and use Grid.AddObject() to add it.
>>
>>Vlad
>
>Is it possible to create an object COLUMN ?
>I thought it was impossible !

It's impossible to do it visually with the class designer. But you can do it in code using DEFINE CLASS. Just write a small prg (MyClass) with your class definition and SET PROCEDURE TO MyClass.

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform