Custom Help Popup - Grasshopper2024-03-29T09:49:24Zhttps://www.grasshopper3d.com/forum/topics/custom-help-popup?commentId=2985220%3AComment%3A1395362&feed=yes&xn_auth=noHi,
I'm in quite similar situ…tag:www.grasshopper3d.com,2015-11-11:2985220:Comment:13985062015-11-11T19:29:53.531Zcdelabhttps://www.grasshopper3d.com/profile/cdelab
<p>Hi,</p>
<p>I'm in quite similar situation.</p>
<p>from the help menu I would like to create an hyperlink to open the default browser and specific page in a web page.</p>
<p>I try with <em>linklabel</em> and also with <em>process.diagnostic.Start</em> inside of the override method <em>HelpDescription()</em>.</p>
<p></p>
<p>then I check this thread... quite similar of what I want. if I do this:</p>
<blockquote><p>protected override string HtmlHelp_Source()<br></br> {<br></br> return "GOTO:…</p>
</blockquote>
<p>Hi,</p>
<p>I'm in quite similar situation.</p>
<p>from the help menu I would like to create an hyperlink to open the default browser and specific page in a web page.</p>
<p>I try with <em>linklabel</em> and also with <em>process.diagnostic.Start</em> inside of the override method <em>HelpDescription()</em>.</p>
<p></p>
<p>then I check this thread... quite similar of what I want. if I do this:</p>
<blockquote><p>protected override string HtmlHelp_Source()<br/> {<br/> return "GOTO:<a rel="nofollow" href="http://www.grasshopper3d.com/forum/topics/custom-help-popup" target="_blank">http://www.grasshopper3d.com/forum/topics/custom-help-popup</a>"; <br/> }</p>
<p>protected override string HelpDescription<br/> {<br/> get<br/> {<br/> return "Click on for further information";<br/> }</p>
<p><br/> }</p>
</blockquote>
<p>open the webpage into the help.</p>
<p>How can I open an specific webpage using Process.Diagnostic.Start("page")?</p>
<p></p>
<p>kind regards</p>
<p>Carlos</p> Thanks for the reply,I still…tag:www.grasshopper3d.com,2015-11-07:2985220:Comment:13953622015-11-07T12:27:24.696ZDaniel González Abaldehttps://www.grasshopper3d.com/profile/DaniAbalde
<p>Thanks for the reply,<br/>I still have the same questions as before, the HelpDescription property of gh_component is of type string, and I would also add pictures. So I am interested in using the HTML format, maybe from GH_Component.GenerateDefaultHTML. This is to edit the content? You remember roughly how it works/procedure? If possible, I want to avoid creating a winform to replace the current one.<br/>And the second question about of the post?</p>
<p>Thanks for the reply,<br/>I still have the same questions as before, the HelpDescription property of gh_component is of type string, and I would also add pictures. So I am interested in using the HTML format, maybe from GH_Component.GenerateDefaultHTML. This is to edit the content? You remember roughly how it works/procedure? If possible, I want to avoid creating a winform to replace the current one.<br/>And the second question about of the post?</p> Hi. I just checked, it seems…tag:www.grasshopper3d.com,2015-11-05:2985220:Comment:13937262015-11-05T23:15:07.872Zemlplsnhttps://www.grasshopper3d.com/profile/emlplsn
<p>Hi. I just checked, it seems like the name of it is HtmlHelp_Source(). Do I get it right if I call the base method and then return my custom html code?</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769056844?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769056844?profile=original" width="334" class="align-left"/></a></p>
<p>Hi. I just checked, it seems like the name of it is HtmlHelp_Source(). Do I get it right if I call the base method and then return my custom html code?</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769056844?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769056844?profile=original" width="334" class="align-left"/></a></p> You can provide custom conten…tag:www.grasshopper3d.com,2015-11-05:2985220:Comment:13935042015-11-05T22:16:00.555ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>You can provide custom content by overriding the proper ****Help**** methods on GH_Component (I forgot the actual names and can't look it up at the moment). You cannot change the form. Although of course you can remove the Help menu item and replace it with your own. Override the proper ****Menu**** method, call the base class first, then remove the Help item from the dropdown.</p>
<p>You can provide custom content by overriding the proper ****Help**** methods on GH_Component (I forgot the actual names and can't look it up at the moment). You cannot change the form. Although of course you can remove the Help menu item and replace it with your own. Override the proper ****Menu**** method, call the base class first, then remove the Help item from the dropdown.</p>