Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Put some code on the header.click()
Message
From
24/09/1997 20:56:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051502
Message ID:
00051514
Views:
35
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform