Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Same old problem again
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Same old problem again
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01078218
Message ID:
01078218
Views:
69
Hi everybody,

I have several controls on my form including edtNotes. All controls are unbound. In QueryUnload method I have:
LOCAL llReturn
thisform.lIsClosing = .t.

if type('THISFORM.ActiveControl') = 'O' and not ;
		isnull(thisform.activecontrol) and PEMSTATUS(thisform.activecontrol,'valid',5) ;
		and inlist(lower(thisform.activecontrol.baseclass),'textbox','editbox')
	thisform.activecontrol.valid()
endif

llReturn = dodefault()

thisform.lIsClosing = .f.

RETURN m.llReturn
Yet when I type in edtNotes and then click on close button in the upper right corner of the form, the value just goes away. What can I do to prevent this behavior?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform