System.Tether.AppProfile.TTetheringAppProfile.NotifyProfileUpdates

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property NotifyProfileUpdates: Boolean read FNotifyProfileUpdates write FNotifyProfileUpdates;

C++

__property bool NotifyProfileUpdates = {read=FNotifyProfileUpdates, write=FNotifyProfileUpdates, nodefault};

プロパティ

種類 可視性 ソース ユニット
property public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile


説明

ローカルの ActionsResources への変更により、更新通知が自動的に接続されているリモート プロファイルに送信されるべきか(True)否か(False)を示します。

NotifyProfileUpdatesTrue であっても、一時的にそれをオフにしたい場合もあるでしょう。たとえば、ある行内の複数のローカル項目を変更しようとしており、すべて変更した後に NotifyProfileUpdate を呼び出して、すべての変更についての通知を一度で済ませたいなどです。

C++ の場合:

NotifyProfileUpdates = false;
// Make several changes to local items.
NotifyProfileUpdate();
NotifyProfileUpdates = true;

Delphi の場合:

NotifyProfileUpdates := False;
// Make several changes to local items.
NotifyProfileUpdate;
NotifyProfileUpdates := True;

関連項目