Data.Bind.Components.TCommonBindComponent.MemberRenamed

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.Bind.Components.pas
Data.Bind.Components.hpp
Unit: Data.Bind.Components
Parent: TCommonBindComponent

Delphi

procedure MemberRenamed(AComponent: TComponent; const ACurMemberName, APrevMemberName: string); virtual;

C++

virtual void __fastcall MemberRenamed(System::Classes::TComponent* AComponent, const System::UnicodeString ACurMemberName, const System::UnicodeString APrevMemberName);

Description

May be called by the source component to notify binding components that a member of the source component is about to be renamed, giving the binding components an opportunity to update their expressions.

The AComponent parameter specifies the source component.

The ACurMemberName parameter specifies the current name of the member, while the APrevMemberName parameter specifies the old name of the member.

MemberRenamed is part of the implementation of the IBindMemberChange interface.

See Also