Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid after LostFocus - possible to simulate
Message
 
 
À
07/03/2002 13:49:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00629752
Message ID:
00629923
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Add a property to the class lStayPut = .F., set it in MUPDATEROWSOURCE method and check in VALID.
*MUPDATEROWSOURCE method
if this.yesno("Add new record/value to "+alltrim(lcAlias)+"list?")
  ...
  This.lStayPut = .F.    
else
  This.lStayPut = .T.    
endif

*VALID method
local llRetVal
llRetVal = This.Refresh(.t.)
if not llRetVal or This.lStayPut
	return 0
endif
< snip >
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform