Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Control - Append a new record in the last grid row
Message
From
09/11/1998 23:39:41
 
 
To
09/11/1998 23:32:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00156026
Message ID:
00156031
Views:
35
>I get a problem when I append a new record in the grid, the new record pointer will be point to the first grid row, how can i set the pointer in the last grid row.

The record pointer is refreshed when the grid receives focus. From your add button, you can

APPEND BLANK
THISFORM.mygrid1.Refresh()
THISFORM.mygrid1.SetFocus()

and it will update the pointer.

>And I also want to know how the new record pointer will be jump to the last grid row for me to continue add a new record when it is in the ADDING RECORD MODE (it mean that i only need to press ADD button once I can add more than one records).

You can check out the grid.AllowAddNew property.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform