Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Set Focus ??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00702192
Message ID:
00702864
Vues:
16
Hi Barbara,

I guess everyone misunderstood me.
I have form with a grid on it (among many other things) and some textboxes.
wher the form gets instatiated data show in the grid but not in hte textboxes which are tied to the current record in the grid.
I tried several ways th set the focus to the grid to make the beforeafter rowcolumn method kick in

but it does not work!

Peter



>As others have suggested, you may want to highlight the current row in the grid. If you do, you need one of the classes suggested for that. If you don't want to highlight the current row, you may have just set the RecordMark property to .F., which wouldn't show the record marker.
>
>>Hi,
>>I have a form with some text controls and a grid
>>As soon as I press the Edit button I want to fill in the textboxes with the data from the current reord showing in the grid.
>>But...
>>the record marker adoes not show up until I click anywhere on the grid.
>>
>>I tried to use locate , oGrid.refresh(),
>>oGrid.Setfocus(), oGrid.column1.setfocus,oGrid.afterrowcolumnchange(),oGrid.Column1.header1.click()
>>
>>All to no avail
>>
>>What is the properway to do that??
>>
>>Peter
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform