DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: jeff1314
今日帖子: 22
在线用户: 10
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 k3man (嗯哼) ★☆☆☆☆ -
普通会员
2021/12/1 11:55:34
标题:
Delphi 11 FMX 模式下Bug?? 浏览:1279
加入我的收藏
楼主: 当在D11 FMX模式下,连续点击TButton放入三个或N个到Form中后,你会发现TabOrder没有增长,全部是一个数。并且,拖动任一一个Button其它也会连动,删除其中一个,其它也会被删除,这是一种新功能?当一次次拖放TButton到Form中时,不会发生这个问题。
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/12/1 12:19:09
1楼: CONFIRMED!  
Bug known...

repetitively clicking on the chosen component in the component palette actually inserts the component several times, however, this "bug" occurs (TabOrder's counter doesn't change and all components are linked to each other)... so if you delete one button, all others that were added after the button you want to delete will also be deleted...

Thanks Embarcadero... always a new emotion in every issue!
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 mit (.﹎筷樂) ★☆☆☆☆ -
普通会员
2021/12/1 14:26:17
2楼: 双击Button添加后,点击一下窗体,再双击BUTTON添加。不点击窗体直接做为BUTTON子控件了。
----------------------------------------------
-
作者:
男 zwjchinazwj (蒲石) ★☆☆☆☆ -
普通会员
2021/12/1 14:29:50
3楼: Every version must have some low-level bugs.
Embarcadero will never let people down.
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/12/1 14:31:40
3楼: Dont forget... in FMX any component can be a "container" for another components...

Then, of course, clicking many times to add many buttons on form, you are just "add" a button into another button.... in chain (or would in "blockchain"  :)))))

that way, if a butotn have many others buttons, then, if you delete a first button, you will go delete all component that is contained into it.

Button1[ Button2 [ Button3[ Button4.... ] ] ] ]

CONFIRMED... THE BUG WAS (IN FACT) THE PROGRAMMER CLICKING AND DONT PAYING ATTENTION WHERE HE CLICKED  :))))


按此在新窗口浏览图片
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 wenyue0811 (wenyue0811) ★☆☆☆☆ -
普通会员
2021/12/1 20:07:29
4楼: 因为在 FMX 下, 所有的控件都可以包含子控件, 就像 VCL 中的 PANEL 一样. 所以当你在 FORM 中增加一个 TBUTTON 后, 如果你没有点击 FORM, 而是焦点还是 TBUTTON 的话, 那么之后你双击所增加的任何控件, 都将会是 TBUTTON 的子控件.
----------------------------------------------


美国国务卿蓬佩奥回答大学生提问时说,“我曾担任美国中央情报局(CIA)的局长。我们撒谎、我们欺骗、我们偷窃。我们还有一门课程专门来教这些。这才是美国不断探索进取的荣耀
作者:
男 stacker (OOP才是王道) ★☆☆☆☆ -
普通会员
2021/12/1 20:25:28
5楼: 所以不能算是BUG,只能算是使用者的问题。就像比尔盖兹曾经说过,百份之九十几的BUG都不是BUG的原理一样。
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/12/1 23:19:35
6楼: @wenyue0811

Look, the FireMonkey (FMX) is another framework with another way to see the things... it is based on display performance and way... DirectX, GPIPlus concepts...

As MSWindows is distinct from Linux, macOS O.S., Mobiles, etc...

Then, changes your "mind" about programming!

Each platform (32, 64, 128, etc... bits) will be distincts.
Each operating system, too!

In the middle, you will have many ways (frameworks) to 'join" or "to do the conversation more easy"...

OK! VCL is not FMX, but you can use it togheter in some moments, because the RTL does the "bridge" into it. But it's not so easy or avaliable all time.

It's necessary knowledge and experience by years to domain it.

sorry, i'm not expert at all.
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 k3man (嗯哼) ★☆☆☆☆ -
普通会员
2021/12/2 10:53:15
7楼: 但这个改变是从d11才开始。之前版本并没有。
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/12/2 12:10:34
8楼: Anyway, the concept of "container" for FireMonkey is as explained above.
Any component, or almost all that I know of, can be a "container" for other components.

This is "object-oriented programming" literally, that is, classes that receive other classes implementing "composition", and forming a new component for the programmer to use in the best possible way in his project.

A flexibility that the VCL framework lacks, for example, as it was a project with roots in MSWindows and its concepts of visual inheritance, because at that time it made sense.

Today, with the diversity of devices and screens, FireMonkey has a better position in many graphic appeal projects.
However, both have their place in the sun
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行78.125毫秒 RSS