Information. Plan kind. Demo. Menu. SavePre

Top  Previous  Next

Diese Prozedur wird aufgerufen, wenn das Menü Datei | Speichern in der Anwendung Demo aufgerufen wird  und die Prozedur Auskunft.Planart.Demo.Menu.Save nicht definiert ist. Dies gilt sinngemäß für alle Anwendungen. Liefert diese Prozedur über die Variable ReturnValue den Wert 0 als Ergebnis wird das Sichern abgebrochen. Sonst wird mit dem Befehl weiter gesichert und als Abschluss die Prozedur Auskunft.Planart.Demo.Menu.SavePost aufgerufen.

 

Beispiel:

DefineProcedure Auskunft.Planart.Demo.Menu.SavePre

 Echo /w SavePre

 Declare ReturnValue

 Value ReturnValue 1

EndProcedure

--------------------OLD_TEXT---------------------

This procedure is called, if the menu File | To memories is called in the use Demo and the procedure information. Plan kind. Demo. Menu. Do not save is defined. This is valid basically for all uses. If this procedure about the variable ReturnValue delivers the value 0 as a result the securing is broken off. But it is further protected with the order and as an end the procedure information. Plan kind. Demo. Menu. SavePost called.

 

Example:

DefineProcedure information. Plan kind. Demo. Menu. SavePre

Echo/w SavePre

Declare ReturnValue

Value ReturnValue 1

EndProcedure