Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build Me A Better Mouse Click!
Message
 
À
04/06/1998 01:57:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00104549
Message ID:
00105017
Vues:
51
Lincoln,
In addition to the 'Refresh' code which has been mentioned, try using THISFORM.PAGEFRAME1.CONTAINER1.GRID1.SETFOCUS I have found it is not necessary to include the column/control information.

HTH
Barbara

>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
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform