https://community.bistudio.com/wiki?title=Talk:DialogControls-Menu&feed=atom&action=historyTalk:DialogControls-Menu - Revision history2024-03-28T15:13:20ZRevision history for this page on the wikiMediaWiki 1.39.0https://community.bistudio.com/wiki?title=Talk:DialogControls-Menu&diff=104285&oldid=prevSilentSpike: /* Anyone figured out how to use this control type? */2017-08-19T17:42:30Z<p><span dir="auto"><span class="autocomment">Anyone figured out how to use this control type?</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:42, 19 August 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Have sussed out that it requires an "Items" subclass with a further "Default" subclass. However, that only gets rid of the errors, the control is not visible at all in my display regardless of what I add to the "items[]" array within the "Items" subclass. Tried adding items via script command also and no luck (also strange that the menuXX commands only accept IDC and not the control itself).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Have sussed out that it requires an "Items" subclass with a further "Default" subclass. However, that only gets rid of the errors, the control is not visible at all in my display regardless of what I add to the "items[]" array within the "Items" subclass. Tried adding items via script command also and no luck (also strange that the menuXX commands only accept IDC and not the control itself).</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">:: Here I go answering my own question: It seems as though once the display focus is not on the menu the control disappears. You'd imagine this might make sense for a context menu (type 14), but for a regular menu (type 46) it seems like it's probably unintentional behaviour. Strip menus (type 47) work just fine. Oh also the menu script command do have a control variant which at least works with strip menus.</ins></div></td></tr>
</table>SilentSpikehttps://community.bistudio.com/wiki?title=Talk:DialogControls-Menu&diff=104284&oldid=prevSilentSpike: /* Anyone figured out how to use this control type? */ new section2017-08-19T16:44:10Z<p><span dir="auto"><span class="autocomment">Anyone figured out how to use this control type?: </span> new section</span></p>
<p><b>New page</b></p><div>== Anyone figured out how to use this control type? ==<br />
<br />
Not sure why this was never documented - seems like it might be broken/exclusive to eden?<br />
<br />
Have sussed out that it requires an "Items" subclass with a further "Default" subclass. However, that only gets rid of the errors, the control is not visible at all in my display regardless of what I add to the "items[]" array within the "Items" subclass. Tried adding items via script command also and no luck (also strange that the menuXX commands only accept IDC and not the control itself).</div>SilentSpike