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..
All I needed was the Screen object.
under TApplicationEvents.onHelp
this works well, casting to catch non TwinControls that have a helpKeyword
showmessage((screen.ActiveControl as tcontrol).HelpKeyword);
Paul
On 22/12/05, Paul A Norman <[EMAIL PROTECTED]> wrote:
Seasons Greetings!I am sure that this is right infront of my nose. I'm implementing a very simplified number eight wire help system.When using htkeyword on a control and setting helpKeyword:does the application object know what the helpKeyword was when help is triggered?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?Paul
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
