Ignore:
Timestamp:
Jun 14, 2019, 11:16:47 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Moved BaseWin unit to CevoPackages as it contains classes which need to be registered design-time class.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Help.pas

    r89 r166  
    8989    procedure line(ca: TCanvas; i: integer; lit: boolean);
    9090    procedure Prepare(sbPos: integer = 0);
     91    procedure ShowNewContentProcExecute(NewMode: Integer; HelpContext: string);
    9192    procedure WaterSign(x0, y0, iix: integer);
    9293    procedure Search(SearchString: string);
     
    234235  SearchContent := '';
    235236  nHist := -1;
     237  ShowNewContentProc := ShowNewContentProcExecute;
     238end;
     239
     240procedure THelpDlg.ShowNewContentProcExecute(NewMode: Integer;
     241  HelpContext: string);
     242begin
     243  HelpDlg.ShowNewContent(NewMode, hkText,
     244    HelpDlg.TextIndex(HelpContext))
    236245end;
    237246
     
    243252procedure THelpDlg.FormDestroy(Sender: TObject);
    244253begin
     254  ShowNewContentProc := nil;
    245255  FreeAndNil(sb);
    246256  FreeAndNil(MainText);
Note: See TracChangeset for help on using the changeset viewer.