Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox losing characters during interactivechange metho
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01556851
Message ID:
01556856
Views:
50
An interesting update: as soon as I leave the field, all the text shows up. The more interesting thing to me is, once I return to the field, the text displays as expected for any future edits. It's only the first time I enter a field that the characters are missing. Strange! (Windows 7 64 bit machines tested on, vfp 9)



>I have a form setup where I want to activate the save button after information is changed on the form.
>
>The form instantiates with the save button disabled and in the textbox baseclass (although I've put it directly in the textbox control method as well with the same results) for the interactivechange method, I have the following code:
>
>
>IF TYPE('thisform.textchanged') != "U"
>	IF thisform.Textchanged = .f. then
>		thisform.textchanged = .t.
>	endif
>endif
>
>
>In the interactive change on this form, there is an assign method that activates the save button.
>
>The behavior of this is that in a textbox or editfield, I generally see the first letter typed, then spaces for most or all of the subsequent letters I type, until the field is exited. I recently added the check to only hit the assign_method if the form property needs changed, hoping the offending code was within there. Is there a better way to do this?
Steve Howie, owner
DaSH Technology
Denver, CO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform