//程序事件服务操作var FMXApplicationEventService: IFMXApplicationEventService;begin if TPlatformServices.Current.SupportsPlatformService (IFMXApplicationEventService, IInterface(FMXApplicationEventService)) then FMXApplicationEventService.SetApplicationEve
Delphi XE10 Android安卓 移动端 MessageDlg 用法123456MessageDlg ('今天天气:'+#13+' very good!', TMsgDlgType.mtInformation, [TMsgDlgBtn.mbOk], 0, procedure(const AResult:TModalResult) begin if AResult=mrOk then ShowMessage('ok') els
首先通过一个例子来展示pascal读写txt文件的方式:Program Salaries;Var F:Text; Salary,max:integer; Name:String[20]; MaxName:String; Sex:0..1;Begin Max:=0; Assign(F,'E:\Exam\Salary.txt'); Reset(F); While not Eof(F) Do Begin Read