Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual MaxFrame read-only data entry grid/add button
Message
 
To
05/12/2002 12:41:59
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00729685
Message ID:
00729966
Views:
13
>Rich,
>
>The trick here is to activate page 3 of the pageframe and then setfocus to the textbox. Put this in the click event of the cmddegridadd button and try it.
>
>
>IF NOT DODEFAULT()
>  RETURN .F.
>ENDIF
>
>With This.Parent.Parent
>  .ActivePage = 3
>  .Page3.txtThing.SetFocus()
>EndWith
>
Rats. I've seen a similar solution work for a different similar problem (when I wasn't using a framework), so I really thought you were onto it.

Unfortunately, it didn't work. Focus still goes to the page 2 grid, instead of page 3.

Thanks,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform