Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus() gives error Cannot call setfocus from within
Message
De
10/02/2005 09:00:50
Freddie Rodrigues
Bitrun Business Solutions
Mumbai, Inde
 
 
À
10/02/2005 08:53:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00985506
Message ID:
00985531
Vues:
41
Here's the code

*lcOldTalk = SET("TALK")
*SET TALK OFF
*lcOldDeleted = SET("DELETED")
*SET DELETED OFF

sele (gridsmry)
CALCULATE MAX(srno) ALL TO lMaxID
lMaxID = lMaxID+1
APPEND BLANK
replace srno with lMaxID
thisform.pageframe1.page1.grditemsgrid.refresh
thisform.pageframe1.page1.grditemsgrid.setfocus()

*SET TALK &lcOldTalk
*SET DELETED &lcOldDeleted
Helping hands are better than praying lips.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform