{"id":25,"date":"2006-02-04T16:11:16","date_gmt":"2006-02-04T15:11:16","guid":{"rendered":"http:\/\/bar-solutions.com\/wordpress\/?p=25"},"modified":"2006-02-04T16:14:09","modified_gmt":"2006-02-04T15:14:09","slug":"glyphs-on-buttons","status":"publish","type":"post","link":"https:\/\/blog.bar-solutions.com\/?p=25","title":{"rendered":"Glyphs on buttons"},"content":{"rendered":"<p>In a previous <a title=\"Records in Delphi\" href=\"http:\/\/bar-solutions.com\/wordpress\/?p=20\">post<\/a> I wrote about\u00a0the idea of storing the glyph in the TCollectionItem and then show this on the button, but after some more thought I came to the conclusion that this would mean that I would have to change the entire way the TToolbar works. The TToolbar stores the images in a TImagelist and the buttons reference this TImagelist to display the image. I don&#8217;t think I will go through the trouble of changing this behaviour. I can maybe try to change the background color or colors for the individual buttons. New ideas, new stuff to think about and try out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a previous post I wrote about\u00a0the idea of storing the glyph in the TCollectionItem and then show this on the button, but after some more thought I came to the conclusion that this would mean that I would have to change the entire way the TToolbar works. The TToolbar stores the images in a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,3],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-ant","category-delphi"],"_links":{"self":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25"}],"version-history":[{"count":0,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}