| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1559 人关注过本帖
标题:安卓下输入框报错求助
只看楼主 加入收藏
mp654k
Rank: 2
等 级:论坛游民
帖 子:74
专家分:70
注 册:2011-7-9
结帖率:66.67%
收藏
 问题点数:0 回复次数:2 
安卓下输入框报错求助
FMX.Dialogs.InputBox('请输入行高:', '填整数', '22');
这句代码报错
Blocking dialogs not implemented on this platform
On Android platform,only overloads with TinputCloseBoxProc or TinputCloseBoxEvent are supported.
搜索更多相关主题的帖子: not this with 报错 输入框 
2022-01-20 00:54
nikotin
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:12
专家分:120
注 册:2021-11-21
收藏
得分:0 
就是安卓下不支持模态对话框,不要这么使用模态框。
2022-01-29 19:32
mp654k
Rank: 2
等 级:论坛游民
帖 子:74
专家分:70
注 册:2011-7-9
收藏
得分:0 
回复 2楼 nikotin
谢谢老大 我这样搞的
 InputBox('请输入行高:', '填整数', '22',
    procedure(const AResult: TModalResult; const AValue: string)
    begin
      case AResult of
        { Detect which button was pushed and show a different message }
        mrOk:
          begin
          // AValue is the result of the inputbox dialog
            Heightstr := AValue;
          end;
        mrCancel:
          begin

          end;
      end;
    end);
2022-01-31 08:35
快速回复:安卓下输入框报错求助
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013317 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved