Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6SP5 - How to know that a txt.value has changed
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00797581
Message ID:
00798690
Views:
26
>Textbox's Tag? Tag Please advise.

Just another property (see data properties). You can pretty much use it for whatever you like. Lookup 'Tag Property' in the help.

Alan

>
>>On the textbox's gotfocus, assign the value to the textbox's tag. On lost focus, compare the tag to the value.
>>
>>
>>>>Just keep in mind though, that GetFldState(), InteractiveChange(), and ProgrammaticChange(), tell you that the field has been messed with. They don't really tell you if the value is different than it was coming in.
>>>
>>>Yes I have put it in the LostFocus() and I just wanted to know if the user modified once just to set a portion of the screen in a diff. color to get the users attention that save will be required.
>>>
>>>>
>>>>If you truly want to know if the value is changed, you need to do your own comparisons.
>>>>
>>>>Alan
>>>>
>>>>>Thanks a lot David.
>>>>>
>>>>>>GetFldState()
>>>>>>
>>>>>>>I wanted a quick & efficient way to find out if say for eg. the text in a textbox / cbo or the status of a checkbox has changed.
>>>>>>>
>>>>>>>The controlsource for all these controls will be a view.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform