ÿþ<html> <head> <title>Testing THelpContextMap</title> <meta name="generator" content="Help & Manual"> <meta name="keywords" content="THelpContextMap,Help context numbers"> <object id=hhpopuplink type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"></object> <script language=JavaScript src="PopupTopics.js"></script></head> <body bgcolor="#FFFFFF"> <CET_ADSENSEH> <script type="text/javascript"><!-- google_ad_client = "pub-5291624188982543"; /* 728x90, A>740=> 04.02.08 */ google_ad_slot = "9704471239"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </CET_ADSENSEH> <CET_HEADER> <table width="100%" border="0"> <tr> <td width="220"><a href="http://www.chmlib.com"><img src="http://www.chmlib.com/chmlib_logo.gif" alt="CHMlib Logo" width="220" height="93" border="0"></a></td> <td width="240"><div align="center"><span class="style6"><B><a href="http://www.chmlib.com">Free Online Library Of Help Files</a></B><a href="http://www.chmlib.com"><B>.<br> Read help files in convenient way.</B></a></span></div></td><td ><a href="http://www.projetex.com/">Leading Translation Management System for Translation Agencies</a>, <a href="http://www.to3000.com/">Top Translation Management Software for Freelance Translators</a>, <a href="http://www.exactspent.com/">Time Tracking Software</a>, <a href="http://www.anycount.com/">Word Count, Character Count and Line Count Software</a>, <a href="http://www.catcount.com/">Computer Assisted Translation Tool for Easy Word Count</a>, <a href="http://www.clipcount.com/">Clipboard Character Count Software</a>, <a href="http://www.anymem.com/">User-Friendly Translation Memory Software</a>, <a href="http://www.anylexic.com/">Terminology Management Software</a>, <a href="http://www.anylexic.com/Terminology-Management-Software-Server-Features.html">Terminology Management Server</a>, <a href="http://www.winlexic.com/">Microsoft Glossary Software</a>, <a href="http://www.acrolexic.com/">Dictionary of Acronyms</a>, <a href="http://www.langmates.com/">Social Network for Translators and Translation Agencies</a>, <a href="http://www.acronymia.com/">Acronyms and Abbreviations Search Engine</a>, <a href="http://www.translation3000.com/Translation/Russian_Translation.html">Russian Translation Lab</a>, <a href="http://www.translation3000.com/Translation/Ukrainian_Translation.html">Ukrainian Translation Lab</a>.</td></tr></td> </tr> </table> <table width="100%" border="0"> <tr> <td colspan="2" bgcolor="#0099FF"><div align="right" class="style1"> <div align="center"><font color="#FFFFFF">You are reading help file online using chmlib.com</font></div> </div></td> </tr> </table> </CET_HEADER> <table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#C0C0C0"> <tr> <td align="left"> <span style="font-family:Arial; font-size:12pt; color:#000000"><b>Testing THelpContextMap <br> </b></span> </td> <td align="right"> <font face="Arial" size="2"> <a href="testingtwhatsthis.htm">Previous</a>&nbsp; <a href="demomenu.htm">Top</a>&nbsp; </font> </td> </tr> </table> <br><br> <span style="font-family:Arial; font-size:10pt; color:#000000">This tab provides a testing panel for the <b>THelpContextMap</b> component. No control in this group has neither a HelpContext number nor a Tag. Context sensitive help for these controls is found by the map list of <b>THelpContextMap</b>. <b>TWhatsThis</b> automatically uses it when you assign one. <br> <br> <b>How does it work?</b> <br> <br> It is presumed that the topic IDs in your help file have a certain syntax. The syntax is "Formname.Controlname". Moveover you have to define help context numbers for the topics (in your help file only). To connect help topics to the controls in your application, you normally assign the same help context numbers to the HelpContext property of the controls to bind them together. In this case, you don't. <br> <br> You put a <b>THelpContextMap</b> on your main form (together with a <b>TWhatsThis </b>component). Then assign the name of the help project file to <b>THelpContextMap.Filename</b>. The component parses the project file and reads the [MAP] section which contains the associations of topic IDs and help context numbers. <br> <br> When the user requests help for a particular control, <b>TWhatsThis</b> first checks if the control has a help context number. If not, it further looks at the map list of <b>THelpContextMap</b> whether the control is contained there and if it is, dynamically uses the help context number found. <br> </span> <CET_ADSENSEF> <script type="text/javascript"><!-- google_ad_client = "pub-5291624188982543"; /* 728x90, A>740=> 04.02.08 */ google_ad_slot = "9704471239"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </CET_ADSENSEF> <CET_FOOTER> <table width="100%" border="0"> <tr> <td colspan="2" bgcolor="#0099FF"><div align="right" class="style1"> <div align="center"><font color="#FFFFFF">You are reading help file online using chmlib.com</font></div> </div></td> </tr> </table> <hr align="left" width="650"><BR> If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com </CET_FOOTER> </body> </html>