TTMSFNCIPEdit.OnChange Event
Fires when any segment of the address value changes.
API unit family: TMSFNCIPEdit
Declaring type: TTMSFNCIPEdit
Inherited from: TTMSFNCCustomIPEdit
Type: TNotifyEvent
Syntax
property OnChange: TNotifyEvent;
__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
Usage examples
Read the current address
Handles changes and reads the formatted value.
procedure TForm1.TMSFNCIPEdit1Change(Sender: TObject);
begin
Caption := TMSFNCIPEdit1.IPAddress;
end;
void __fastcall TForm1::TMSFNCIPEdit1Change(TObject *Sender)
{
Caption = TMSFNCIPEdit1->IPAddress;
}