Comments (9)
我下载了预编译的 MacOS 64bit的库也是一样的结果
from govcl.
f.EdtName.SetText("你好")
fmt.Println([]rune(f.EdtName.Text()))
打印出来的结果是 [65533 65533]
from govcl.
1、第一个错误看日志像是TStaticText控件有问题,一般用于标签显示的话用TLabel控件。
2、你直接fmt.Println(f.EdtName.Text())
出来的结果是什么,是中文还是?
from govcl.
@ying32 直接打印的结果是乱码,看rune打印的结果可知,65533这已经超过正常字符的范围了。
这倒不是TStaticText的问题,是Text()方法获取的字符串存在问题,传过去的时候导致崩溃
from govcl.
最近mac不在身边,有得调试环境,你这个问题暂时没办法解决😳
from govcl.
你是用的主分支的代码么?还有1.2.6.4的liblcl.dylib
from govcl.
@ying32 我用的是主分支的代码。liblcl.dylib 分别使用了我自己编译的和你预编译的版本,结果都一样。
from govcl.
我看你用的是 go1.13.4,你可以尝试下go 1.13版本以下的,这次因为go1.13版本开始GC上出现了收回问题,或许跟这个有关。前几天就是因为传入的字符串遇到了这个问题,我想你这个有可能是同一个问题。
from govcl.
已经修复了,在MacOS下测试正常了。
from govcl.
Related Issues (20)
- 请问MDI怎么支持? HOT 2
- 请教一个拖动的问题. HOT 2
- 再请教下ui的问题。 HOT 9
- MessageBox按钮只能ok和cancal吗
- Run和Build的时候的警告信息(macos 10.15 intel) HOT 1
- sample ListboxCustomdraw exit status 0xc000041d HOT 2
- 申请添加一个template到项目主页 HOT 1
- 整合WebView2 HOT 1
- 自定义GoVCL组件安装后看不到选项卡 HOT 6
- 请教想动态配置AnchorSide*()? HOT 2
- 请教个非govcl的问题:如何避免按钮重复点击事件 HOT 3
- 求助关于系统托盘左键使用菜单问题 HOT 1
- 关于开发调试 HOT 5
- fileshelltree例子中怎么按文件类型获取系统原生的图标 HOT 4
- Lazarus安装res2go组件报错问题 HOT 1
- MacOS13.3错误 HOT 7
- 使用garble代码混淆工具混淆后, 事件无法被调用 HOT 1
- 这个怎么感觉跟delphi的那个挺像的,能在delphi直接开发吗 HOT 1
- TListView滚动至底部 HOT 1
- 想实现一个检索窗口,如图。输入框输入内容,在输入框下方显示一个窗口用来显示检索结果,点击可以选中相应内容,这个是用到哪个组件 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from govcl.