有没有什么方法可以让我在安卓系统上使用InputBox?我试着在网上找,但什么也没找到。我不确定这是与权限还是什么有关。
我试过使用这种方法,但仍然没有成功:
New Non Blocking InputBox Function In Delphi XE7 Firemonkey On Android And IOS
我使用的是Android 6.0.1和Android 25.2.5 SDK和API 25。
InputBox将呈灰色显示

当使用它时:

我是FireMonkey的新手。
发布于 2017-03-19 07:52:10
您可以像这样使用输入框。请记住,输入框不是模式的。用户答案在匿名方法中处理,该方法作为第四个参数提供。
InputBox('Box Caption','Box prompt','Default value',
procedure(const AResult: TModalResult; const AValue: string)
begin
// This is executed when user closes the input box
// Check result and value here and do whatever is needed
end
);https://stackoverflow.com/questions/42768476
复制相似问题