Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build Me A Better Mouse Click!
Message
From
04/06/1998 08:06:39
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, United States
 
 
To
04/06/1998 01:57:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00104549
Message ID:
00104608
Views:
20
>Okay, I'm using the ACTIVEPAGE in the ClickEvent of a command button; it moves to the proper page (much quicker than MOUSE-CLICK-AT) and without the "ghosts." It also contains an INSERT-SQL command followed by THISFORM.PAGEFRAME1.CONTAINER1.GRID1.COLUMN1.TEXT1.SETFOCUS and a command to set the backgound color of the grid's TextBox. It inserts a new record but the grid doesn't display that it has focus unless I physically click in the text/column. The set focus command works fine with the "mouseclickat-appendblank-setfocus" process used with the option group. The set focus command sequence is identical. Does Insert-SQL cause this difference? I've been advised that insert-sql is preferable to append blank & replace. Any thoughts?
>
>Thanks again.
>
>--lincoln

You might need to refresh the page in the pageframe after you call the grid's Setfocus method.
Ryan Hirschey
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform