Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Set Focus ??
Message
From
19/09/2002 09:15:46
 
 
To
19/09/2002 08:06:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00702192
Message ID:
00702229
Views:
16
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
Map
View

Click here to load this message in the networking platform