Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
dbgrid を常にリアルタイムで更新する必要があります。データセットを閉じて開くと正常に動作しますが、dbgrid が点滅します。これを避けるにはどうすればよいですか?
必要なものだけを更新する Ajax のようなソリューションが欲しいです。
ありがとう
Disable-&EnableControlsを使用しようとしましたか?
DataSet.DisableControls; try DataSet.Close; DataSet.Open; finally DataSet.EnableControls; end;
さらに、同じ結果を得るには、閉じたり開いたりする代わりに、DataSet.Refreshを呼び出すだけでよいはずです。