{"id":469,"date":"2010-12-21T21:21:30","date_gmt":"2010-12-21T21:21:30","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=469"},"modified":"2022-02-17T06:24:04","modified_gmt":"2022-02-17T06:24:04","slug":"labels","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/labels\/labels","title":{"rendered":"Labels"},"content":{"rendered":"<h4>\nAlignment<br \/>\n<\/h4>\n<p>\nLabels allow both horizontal and vertical allignment (text boxes only have horizontal). However for it to be any use you need to set the minimum size property for the label.\n<\/p>\n<h4>\nFast Updating<br \/>\n<\/h4>\n<p>\nLabels are not as good for fast updating values &#8211; redraw flickering with large arrays of them\n<\/p>\n<h4>\nMultiline Labels<br \/>\n<\/h4>\n<p>\nYou can use &quot;\\n&quot; within label strings to cause a new line (or when setting in properties open the drop down text editor and use return) but there is not an auto wrap&nbsp;to new line. &nbsp;For this use a read only text box, and stop if being selectable using <a href=\"https:\/\/ibex.tech\/visualcpp\/programming\/visual-cpp-cli-dot-net\/forms\/focus\">this<\/a>.\n<\/p>\n<h4>\nTransparent Background<br \/>\n<\/h4>\n<p>\nIts not supported, setting it to transparent is often ignored. &nbsp;This is a win forms issue generally, not just label text.&nbsp;&nbsp;There are some&nbsp;work around hacks if you can&#39;t just use a background&nbsp;colour to match the background on the layer below but its not simple.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alignment Labels allow both horizontal and vertical allignment (text boxes only have horizontal). However for it to be any use you need to set the minimum size property for the label. Fast Updating Labels are not as good for fast updating values &#8211; redraw flickering with large arrays of them Multiline Labels You can use [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63],"tags":[],"class_list":["post-469","post","type-post","status-publish","format-standard","hentry","category-labels"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=469"}],"version-history":[{"count":7,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/469\/revisions"}],"predecessor-version":[{"id":1404,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/469\/revisions\/1404"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}