PropModified (Instance)
<source lang='delphi'>function PropModified(const iPropName:string):Boolean;</source>
Cette fonction teste si un attribut a été modifié depuis que l'instance de l'objet a été chargée en mémoire.
Result | True si l'attribut a été modifié. |
iPropName | Nom de l'attribut à tester. |
Exemple <source lang='delphi'> //procedure RegleErreur_xx:boolean; begin
if PropModified('unAttribut') then begin // Teste seulement si l'attribut a été modifié. // ... end else result := false;
end; </source>
Voir aussi
{{#if:Objets métiers (tech)|
{{#if:Objets métiers (tech)|— Objets métiers (tech) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}