{"id":972,"date":"2020-11-21T16:53:00","date_gmt":"2020-11-21T23:53:00","guid":{"rendered":"https:\/\/www.great-white-software.com\/blog\/?p=972"},"modified":"2020-11-20T17:33:51","modified_gmt":"2020-11-21T00:33:51","slug":"things-that-go-unanswered","status":"publish","type":"post","link":"https:\/\/www.great-white-software.com\/blog\/2020\/11\/21\/things-that-go-unanswered\/","title":{"rendered":"Things that go unanswered"},"content":{"rendered":"\n<p>From Xojo&#8217;s forums where no one has bothered to answer that _could_ answer<\/p>\n\n\n<p><strong>Container Control Init<\/strong><\/p>\n<p><em>Should Container Controls be receiving set calls on computed properties before the open event fires?<\/em><\/p>\n\n\n<p>Yes. When Xojo creates the layout that contains the container it effectively sets EVERY property regardless. Its as if you wrote :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dim c as new ContainerControl\nc.property = value\nc.property = value\n... and so one for EVERY property ...\nand now the Open Event can be raised<\/code><\/pre>\n\n\n\n<p><strong>Setting left\/right margins to 0<\/strong><\/p>\n\n\n\n<p>I am trying to add \u201cMarginLeft=0\u201d and \u201cMarginRight=0\u201d to the setupstring. I have<br>settings=ps.SetupString and can dump the values in settings but the margins are not setup by default so I want to force it.<\/p>\n\n\n\n<p><em>I\u2019ve searched for a while but cannot find a way to add those two entries.<\/em><\/p>\n\n\n\n<p>In general no you cant \/ shouldnt try to stuff values in there manually as this &#8220;string&#8221; is not meant to always be human readable to modifiable like this. MBS has plugins for Windows &amp; MacOS that will permit you to control this in greater depth<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>From Xojo&#8217;s forums where no one has bothered to answer that _could_ answer Container Control Init Should Container Controls be receiving set calls on computed properties before the open event fires? Yes. When Xojo creates the layout that contains the container it effectively sets EVERY property regardless. Its as if you wrote : Setting left\/right &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.great-white-software.com\/blog\/2020\/11\/21\/things-that-go-unanswered\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Things that go unanswered&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-972","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/comments?post=972"}],"version-history":[{"count":1,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/972\/revisions"}],"predecessor-version":[{"id":973,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/972\/revisions\/973"}],"wp:attachment":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/media?parent=972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/categories?post=972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/tags?post=972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}