我正在制作第一个 android 应用程序并且在打开表单时遇到问题。我只有写在firebird表中的表单名称,需要找到表单(FindComponent)才能打开它。在 VCL 上这是可行的,但是当我在平板电脑上启动应用程序时,什么也没有发生,找不到表单。
var
Form: TForm;
begin
Form := Application.FindComponent(Table1FormName.Value) as TForm;
if Assigned(Form) then
Form.ShowModal;
end