Page 1 of 1
Insert Menu in StiMobileDesigner
Posted: Thu Aug 28, 2014 3:28 pm
by steve3squared
Hi,
Is there any way of moving the designers controls. e.g. Can I move the Shape control from the Components Menu and place it in the "Main" section (see attached image)
Regards
Re: Insert Menu in StiMobileDesigner
Posted: Fri Aug 29, 2014 6:41 am
by Andrew
Hello,
We do not have an option to customize this panel.
Please use the following code to place the Shape.
<body>
<form id="form1" runat="server">
<cc2:StiMobileDesigner ID="StiMobileDesigner1" runat="server"
OnSaveReport="StiMobileDesigner1_SaveReport"
OnLoadReport="StiMobileDesigner1_GetDataSetOnLoad"
OnCreateReport="StiMobileDesigner1_GetDataSetOnCreate"
OnPreviewReport="StiMobileDesigner1_Preview"
ShowTooltips="true" GlobalizationFile="Localization/en.xml"
Theme="Office2013" ShowAboutButton="true"
/>
</form>
<script type="text/javascript">
var button = jsStiMobileDesigner1.ComponentButton("StiShape_", jsStiMobileDesigner1.options.words["StiShape"], "StiShape.png",
"StandartBigButton", [jsStiMobileDesigner1.options.words["StiShapeHelp"], jsStiMobileDesigner1.HelpLinks["insertcomponent"]]);
// where jsStiMobileDesigner1 = js + (MobileDesigner Id)
jsStiMobileDesigner1.options.controls.groupBlockMainComponents.container.firstChild.addCell(button);
</script>
</body>
Re: Insert Menu in StiMobileDesigner
Posted: Mon Sep 22, 2014 2:49 pm
by steve3squared
Excellent stuff. Thank you
Re: Insert Menu in StiMobileDesigner
Posted: Tue Sep 23, 2014 10:20 am
by Alex K.
Hello,
We are always glad to help you!