Vcl.ComCtrls.TCustomUpDown.OnChangingEx
Delphi
property OnChangingEx: TUDChangingEventEx read FOnChangingEx write FOnChangingEx;
C++
__property TUDChangingEventEx OnChangingEx = {read=FOnChangingEx, write=FOnChangingEx};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomUpDown |
Description
Se produit lorsque l'emplacement d'un contrôle haut-bas est sur le point de changer.
Ecrivez un gestionnaire d'événements OnChangingEx (type : TUDChangingEventEx) pour ne pas autoriser sous certaines conditions la modification de la valeur de Position. Affectez au paramètre AllowChange la valeur false pour empêcher la modification de la valeur courante de Position.