Add icons to the tabs of a Firemonkey TTabControl

≯℡__Kan透↙ 提交于 2019-12-11 03:45:19

问题


To add an icon to a TButton in Firemonkey one can add a TImage to the button. But how to add an icon to a tab of a TTabControl? Is this possible?


回答1:


At the very least you'll need to modify the style (to add the image) and probably create a custom control descended from TTabControl to set the image data.



来源:https://stackoverflow.com/questions/15550494/add-icons-to-the-tabs-of-a-firemonkey-ttabcontrol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!