Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 4 Jahren, 10 Monaten
Letzter Beitrag:
vor 4 Jahren, 10 Monaten
Beteiligte Autoren:
Rudi Werner, DerekT, Stefan Bentvelsen, Alexandre Leclerc, Paulo Oliveira

Some data changed in a form

Startbeitrag von Rudi Werner am 09.05.2013 08:11


Anybody knows if there is a simple truc to control if some data was changed in a form
during editing in WINDEV 17 ?

So i want to look if data on screen EDT variables are different regarding the data in the file ?

And if possible for all the fields at once ???



check the ..Modified property for controls or windows it may help you.

von Paulo Oliveira - am 09.05.2013 08:22
Hi Rudi,

And if you are going to use the ..Modified property, keep in mind that it only changes when the user interact with the control. If you change the value by any other mean you have to set it manually to true.

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 09.05.2013 12:00

thanks for the answers but i know the Modified system, but this is as i know it per field ?

I was asking myself if there is not a possibility to check all the fields on a form at once ???
With one command in place of checking each field ??

Thanks !!!

von Rudi Werner - am 10.05.2013 08:42
Hi Rudi,

you can use MyWindow..Modified for that !

von Stefan Bentvelsen - am 10.05.2013 10:39
Or place the specific controls in a group and use 'group..modified' to check if any member control was updated.

Be aware that chganging the value in a control and then changing it back to its original value will still fire the ..modified (should really be called ..anychange imo)

Only surefire way is to use a sandbox to store all values on window opening and comparing this when closing - you will need to 'role your own' on this one.

von DerekT - am 10.05.2013 15:06
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.