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:
00057942
Views:
31
>>>>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.
>
>I don't check GetNextModified(), I just enable the Save button as soon as a key is pressed

Yep, that's the easy way, I'm converting to it. Thanks :~)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform