Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build Me A Better Mouse Click!
Message
 
À
04/06/1998 08:06:39
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00104549
Message ID:
00104988
Vues:
23
>>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 is right. Make sure that your grid is refreshed after INSERTing the record.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform