http://bbs.cnpack.org/viewthread.php?tid=1623&extra=page%3D1
[url=viewpro.php?uid=1790]surfer2k[/url]
Use Unit / Insert Frame bug
Hi all, 大家好
There is a problem with uses unit in french BDS2006 (and I supposed other version).
在法文 BDS2006 上有一个问题(我想在其他版本中也有)。
In function ShowProjectUseUnits(ASelf: TCustomForm): Boolean, the test :
IsUseUnit := ASelf.Caption = 'Use Unit' always return False.
=> In the french version the caption is 'Utiliser l''unité'.
在函数 ShowProjectUseUnits(ASelf: TCustomForm): Boolean 中测试:
IsUseUnit := (ASelf.Caption = 'Use Unit') 总是返回 False。
I temporary change test with:
IsUseUnit := (ASelf.Caption = 'Use Unit') or (ASelf.Caption = 'Utiliser l''unité');
and all work fine.
我临时改变测试方法:
IsUseUnit := (ASelf.Caption = 'Use Unit') or (ASelf.Caption = 'Utiliser l''unité');
这样工作正常。
I suppose there is the same problem with deutch or italian version.
我想在在 deutch 和意大利版本上也有此问题。
The best was to use the caption from BDS menu ?
最好的办法是使用 BDS 菜单的 Caption ?
Thank's
Pascal
欢迎有兴趣者翻译、意见、建议、校对。
[
本帖最后由 skyjacker 于 2007-5-22 15:01 编辑 ]