Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe clicking off control
Message
 
 
To
17/05/2004 14:02:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00904366
Message ID:
00904657
Views:
20
Bonnie,

That's sort of overkill, it is going to slow your app down a lot. It also wouldn't seem to fix your problem, because your last editted control is not losing focus and thus your code won't run in this case.

It's better to make the one little tweak in your Save code.

>OOh! I put this code in my base textbox and editbox classes LostFocus method. Seems like it should fix the problem...??
>
>
>* when clicking on gray space before saving, contents of text box does not save
>IF !EMPTY(this.ControlSource)
> IF this.Value <> EVAL(this.ControlSource)
> REPLACE (this.ControlSource) WITH this.Value
> ENDIF
>ENDIF
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform