Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid header click quandry
Message
 
 
À
24/05/2002 10:41:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00661045
Message ID:
00661073
Vues:
20
Hi!

You require to create a header class and add it to grid in run-time.

The File#9970 might be very useful for you, as well as VFP Grids articles that explain how it works.

>I have a grid that is populated at runtime. During development: there are no
>headers columns etc... As if you just added it to a form, with no data source defined. The grid may be populated with any data source, so
>it's not pre-defined(the columns headers are unknown at design time).
>
>I'm working on a routine that will order the data when a user clicks on one
>of the headers. Where can I fire my code from?
>
>I can't put the code in the grid.column1.header1.click() event because it
>doesnt exist in development.
>I have tried putting code in the grid.click() event to return the
>activecolumn, but it never seems to fire.
>
>I want the user to be able to click on any header and it fire my code.
>
>Thanks, steve
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform