Here is a sample override added to the [projectname]Task.cs module:
public override string GetHelpPopup(FieldID focusField) { StringBuilder sb = new StringBuilder(); this.FocusFieldID = focusField; //Note, GenHelpScreen assumes a standard screen for all help ts.NextScreen("[pf1]", ScreenID.GenHelpScreen); string title = ts.GetFieldText(MapID.GenHelpScreen, FieldID.HelpTitle); sb.Append("<div style=\"border:solid;\">"); sb.Append("<div style=\"margin-top:8px;text-align:center\">" + title + "</div>"); sb.Append("<div style=\"margin:10px;height:400px\">"); int iRow = 0; GenHelpScreen_RowsMap row = ts.maps.readGenHelpScreen_Rows(iRow); if (String.IsNullOrEmpty(row.HelpLine)) sb.Append("Sorry, no help is available yet for this field..."); while (!String.IsNullOrEmpty(row.HelpLine)) { sb.Append(row.HelpLine.Replace("&", "&").Replace("<", "<") + " "); iRow++; if (iRow == 14) { ts.NextScreen("[pf8]", ScreenID.GenHelpScreen); iRow = 0; } row = ts.maps.readGenHelpScreen_Rows(iRow); } sb.Append("</div></div>"); ts.NextScreen("[pf6]"); return sb.ToString(); } |