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