<div>In case anyone else ever gets stuck on this .. I was looking arond the Ihelp.. interfaces when in reality it was actually literally in front of my nose all the time.. </div>
<div> </div>
<div>All I needed was the Screen object.</div>
<div> </div>
<div>under TApplicationEvents.onHelp</div>
<div> </div>
<div>this works well, casting to catch non TwinControls that have a helpKeyword</div>
<div> </div>
<div> showmessage((screen.ActiveControl as tcontrol).HelpKeyword);</div>
<div> </div>
<div>Paul<br><br> </div>
<div><span class="gmail_quote">On 22/12/05, <b class="gmail_sendername">Paul A Norman</b> <<a href="mailto:paul.a.norman@gmail.com">paul.a.norman@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Seasons Greetings!</div>
<div> </div>
<div>I am sure that this is right infront of my nose. I'm implementing a very simplified number eight wire help system.</div>
<div> </div>
<div>When using htkeyword on a control and setting helpKeyword:</div>
<div> </div>
<div>does the application object know what the helpKeyword was when help is triggered?</div>
<div> </div>
<div>You can retrieve the HelpContext from the Word portion of the application.onHelp event, (using TapplicationEvents), but I can not find where to get the calling control's helpKeyWord, does the application know which Tcontrol triggered the onhelp event?
</div><span class="sg">
<div> </div>
<div>Paul</div></span></blockquote></div><br>