TDialogService类
如果您是使用比较新的RAD Studio版本. 那么您应该开始改用FMX.DialogService程序单元中TDialogService类别的类别方法来取代以前的MessageDlg, InputQuery和ShowMessage等函式.
https://community.embarcadero.com/blogs/entry/tdialogservice
TDialogService.ShowMessage('hello');
c++builder 改进
https://community.embarcadero.com/blogs/entry/new-in-10-2-2-c-and-debugger-improvements