Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code to click on a header of a grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00202071
Message ID:
00202077
Vues:
25
>I need to have dynamic indexes on a view and allow a user to seek of that index. The code is in the postinit to define the indexes and it works if you click on it.
>
>How do I programitacly click the proper column to set the index. I have a text box that they can enter a value. I can figure out if it's a customer # or a customer name. So all I want to do is POP that header, then seek
>
>__Stephen

For Each oColumn In Thisform.Grid.Columns
If oColumn.Name=="MYCOLUMN"
oColumn.Header.Click()
Exit
Endif
Endfor
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform