{"id":252,"date":"2010-06-22T11:53:30","date_gmt":"2010-06-22T11:53:30","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=252"},"modified":"2022-02-17T06:24:05","modified_gmt":"2022-02-17T06:24:05","slug":"form-controls-and-objects","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/forms\/form-controls-and-objects","title":{"rendered":"Form Controls and Objects"},"content":{"rendered":"<h4>Indexing Controls (refer to them by index number)<\/h4>\n<p>Use a group box<\/p>\n<h4>Stopping Refresh Of A Control<\/h4>\n<p>ListBox-&gt;BeginUpdate();\t\t\t\t\/\/Supress drawing the listbox<br \/>\n. . .<br \/>\nListBox-&gt;EndUpdate();\t\t\t\t\/\/Resume drawing of the list box<\/p>\n<h4>Tab Control<\/h4>\n<p>To see which tab is active use:-<br \/>\nif (TabName-&gt;Visible)<br \/>\nVisible doesn\u2019t dictate if a tab is displayed, it tells you if it is currently visible.<\/p>\n<h4>Updating The Text Of A Control<\/h4>\n<p>OurButton-&gt;Text = OurVariableValue.ToString();\t\/\/To set to a variable value<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Indexing Controls (refer to them by index number) Use a group box Stopping Refresh Of A Control ListBox-&gt;BeginUpdate(); \/\/Supress drawing the listbox . . . ListBox-&gt;EndUpdate(); \/\/Resume drawing of the list box Tab Control To see which tab is active use:- if (TabName-&gt;Visible) Visible doesn\u2019t dictate if a tab is displayed, it tells you if [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-forms"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/252","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=252"}],"version-history":[{"count":3,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/252\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}