乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 57|回复: 1

[编程交流] Get_tile and mtext problem

[复制链接]

10

主题

29

帖子

19

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
50
发表于 2022-7-5 17:28:18 | 显示全部楼层 |阅读模式
Before, when I just use a simple getstring command, mtext works just fine:  
  1. (command "_mtext" '(221 369) "J" "MC" '(395 357) V1 "")
 
But now I am using a dialog box, I did this:
  1. (action_tile "accept" (setq V1 (get_tile "Street_name")))
 
However, if I use a "text" command, it works fine.
 
Both getstring and get_tile should give me a string back right? Why is this so?
 
Thanks guys!
回复

使用道具 举报

10

主题

29

帖子

19

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
50
发表于 2022-7-5 18:59:30 | 显示全部楼层
Also, is there a way to assign a button with a value, so that when I click on first button, the program is going to set a variable to 1, then second button for setting variable to 2?
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-13 03:34 , Processed in 1.798812 second(s), 56 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表