PropModified (Instance)

De Wiki1000
function PropModified(const iPropName:string):Boolean;

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

//procedure RegleErreur_xx:boolean;
begin
  if PropModified('unAttribut') then
  begin
    // Teste seulement si l'attribut a été modifié.
    //
    ...
  end
  else result := false;
end;

Voir aussi


Objets métiers (tech)Développement DSM





Whos here now:   Members 0   Guests 0   Bots & Crawlers 1
 
Outils personnels