Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enabling Save Functionality
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00057884
Message ID:
00057935
Vues:
33
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform