Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add\Read method code Progrmatically.
Message
De
01/10/1997 09:07:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00052542
Message ID:
00052618
Vues:
42
>>>I want to add code to a method in the header of each collumn in a grid. I am trying to create a grid class that will sort the grid when the header is clicked. I am using VFP 5.0a.
>>
>>
>>Dan:
>>
>>The method you are looking for is:
>>
>>Grid.Header.WriteMethod(MethodName, MethodText)
>>
>>Hope this helps.
>>
>>Ed
>
>You can also create your own grid class that has the header code in place. I created a grid with 25 columns (highly unlikely I'll ever exceed that) and the header click method has what is needed to sort the column already in place when I drop it on a form.
>
>Steve

Thanks Edward and Steve! I will try these and see which one works out better for existing forms.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform