Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid after LostFocus - possible to simulate
Message
 
 
To
07/03/2002 13:49:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00629752
Message ID:
00629923
Views:
9
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform