Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabling Save Functionality
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00057884
Message ID:
00057909
Views:
32
>>>With table buffering, I've been using GETNEXTMODIFIED in the Lostfocus of objects to enable save/revert buttons. It works perfectly, but recently a user complained that she'd like to have the buttons enabled before leaving the first object edited on a page/form.
>>>
>>>I've tried Interactivechange in the past, but it doesn't work for this. Any easy way to do what I'd like to?
>>
>>I use InteractiveChange() for that without problem (so far). What were your problem?
>
>The Getnextmodifed doesn't seem to register the edit from that event.
>
>
> if Getnextmodified(0) > 0
>   thisform.savecmd.enabled = .T.
>   thisform.refresh
> endif
>
>
>Works fine on Lostfocus, but no button enable in Interactivechange.

You need only:

thisform.savecmd.enabled = .T.

in the interactivechange event...

When this event fired, you know the user make some, change, no?

:0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform