Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Set Focus ??
Message
De
19/09/2002 09:15:46
 
 
À
19/09/2002 08:06:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00702192
Message ID:
00702229
Vues:
17
Not sure how applicable this is but I also use text boxes to edit a grid row only I disable the edit button when form comes up. Then if they want to edit the record they click on the row in the grid and enable the edit button. I use the gridhighlighter class and it highlights the row nicely. The highlighter class is in UT download section and is an excellent class.The code to populates the text boxes is in the click event of edit button. I also have a save and cancel button to either save the changes back to the table or cancel the changes.


Gaylen



>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform