Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual MaxFrame read-only data entry grid/add button
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00729685
Message ID:
00730690
Views:
8
Rich,
VMDECUSS.SCX shows an example of using a dat-entry subform. It overrides the AddRow method of the grid. Perhaps you could do the same. Steps to perform:

1. Append a blank
2. Call the pageframe's GetFirstControl method, specifying the page to use, to get the first control
3. Set the appropriate active page
3. Set focus using the control returned in step 2

Haven't test this, but HTH.

>I have a frmDEGrdNav2Pages.
>
>On the bottom of the second page, I put a grdDataEntry for child records, and cmdDEGridAdd/cmdDEGridDelete.
>
>At first I made it a grdPicklist, because it's only for choosing records to be edited on the third page. But I wanted framework Add/Delete buttons, and I started to read zReadMe methods, and figured out I wanted the other classes above.
>
>Question is, when the user clicks the Add button, I want focus to go to the first textbox on the third page, not to the grid (which I've made read-only and set all appropriate PEMS according to zReadMe, etc.)
>
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform