How to add What's This? help to a custom field?

I am missing the link (secret handshake) somewhere and would appreciate someone pointing me to the right direction.

My goal is to enable What's This? right-click context-sensitive help for a new screen that I am building with the Sage 500 framework.   

Looking at standard Sage screens, I see there is a number in WhatsThisHelpID property of the field.    Where does that number come from and how is it specified in the compiled HTML Help file?   I took a stab at opening up one of the help projects in Madcap Flare, but couldn't find that ID.   Am I at least in the right neighborhood?

Thanks much in advance!

  • 0

    Have you reviewed the section on Help files in the SDK Developer Guide?  Specifically look at the section for Field Level Help Guide Lines under the section Help Center - Help Content Guide Lines. 

    I also found this info in the Developer Guide as well:

    Field-level Help

    To support field-level Help you must:

    • Add a call to gDisplayWhatsThisHelp when the user presses F1. If you are following the

    Sage 500 ERP Function Keys support, this is already done for you.

    gDisplayWhatsThisHelp frm, frm.ActiveControl

    • Include a form property named WhatHelpPrefix that returns the Help file prefix name so

    gDisplayWhatsThisHelp works properly.

    Public Property Get WhatHelpPrefix() As String

    WhatHelpPrefix = <Help file name prefix>

    ‘ specify here the file name prefix of your Help file

    End Property

    • Assign Help to the WhatsThisHelpID property of all the controls that have control-level

    Help.

  • 0 in reply to LouDavis

    Thanks Lou.  Sorry for the late reply - somehow I missed your reply until now...

    I found the section that you described, but am still stuck on trying to figure out how to assign WhatsThisHelpID property.   Where does that number come from and how is it specified in the compiled HTML Help file?   I took a stab at opening up one of the help projects in Madcap Flare, but couldn't find that ID.   Am I at least in the right neighborhood?