Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to activate a grid cell from outside the grid.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00032473
Message ID:
00032474
Vues:
35
>I have a text box and a grid in a container working together as a search tool. The focus is in the textbox, but I'd like to let the user "visually" see the record in the grid by highlighting it. The grid properly scrolls and the record is displayed somewhere, but it is not highliggted and the record pointer is not active.
>
>How can I activate a cell without knowing where in the grid the proper record is. I have the record #, but it does not seem to fit anywhere in the scheme of things. ActiveRow, ActiveColumn, AfterRowColChange are not active because the focus is not in the grid. I know it's just making a call to .ActivateCell(), but how do I know what row and col to pass it without ActiveRow and ActiveColumn being active?
>
>Thanks,
>Steve Despres

after you do a seek/locate on the text entry, refresh the grid.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform