{"id":215,"date":"2010-04-28T20:54:33","date_gmt":"2010-04-28T20:54:33","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=215"},"modified":"2022-02-17T06:24:05","modified_gmt":"2022-02-17T06:24:05","slug":"create-new-form","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/forms\/create-new-form","title":{"rendered":"Create New Form"},"content":{"rendered":"<h4>\nCreating The Form<br \/>\n<\/h4>\n<p>\nProject &gt; Add New Item &gt; Windows Form. Name it using &#39;frm&#39; at the start (our&nbsp;convention)<br \/>\nSet the &#39;Form Border Style&#39;<br \/>\nSet &#39;MaximiseBox&#39; and &#39;MinimizeBox&#39; properties<br \/>\nSet StartPostion<br \/>\nSet &#39;Text&#39;<br \/>\nSet &#39;icon&#39; (or turn off ShowIcon)\n<\/p>\n<h4>\nNice Things To Do<br \/>\n<\/h4>\n<h5>\nAdd this before the constructor<br \/>\n<\/h5>\n<pre>\r\n<code>\r\n\t\t\/\/*********************************\r\n\t\t\/\/*********************************\r\n\t\t\/\/********** CONSTRUCTOR **********\r\n\t\t\/\/*********************************\r\n\t\t\/\/*********************************\r\n<\/code><\/pre>\n<h5>\nAdd this form load event<br \/>\n<\/h5>\n<pre>\r\n<code>\r\n\t\t\/\/*******************************\r\n\t\t\/\/*******************************\r\n\t\t\/\/********** FORM LOAD **********\r\n\t\t\/\/*******************************\r\n\t\t\/\/*******************************\r\n<\/code><\/pre>\n<p>\nInclude the frmMyNewForm.h file in any files that will call the form\n<\/p>\n<p>\n(When looking for help on forms check &#39;Dialog Boxes&#39;, as additional forms are often dealt with in chaptors based on dialog boxes in reference books)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating The Form Project &gt; Add New Item &gt; Windows Form. Name it using &#39;frm&#39; at the start (our&nbsp;convention) Set the &#39;Form Border Style&#39; Set &#39;MaximiseBox&#39; and &#39;MinimizeBox&#39; properties Set StartPostion Set &#39;Text&#39; Set &#39;icon&#39; (or turn off ShowIcon) Nice Things To Do Add this before the constructor \/\/********************************* \/\/********************************* \/\/********** CONSTRUCTOR ********** \/\/********************************* \/\/********************************* [&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-215","post","type-post","status-publish","format-standard","hentry","category-forms"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/215","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=215"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":1429,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/215\/revisions\/1429"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}