General information
Category:
Forms & Form designer
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only