TB2DsgnConvertOptions.pas 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. unit TB2DsgnConvertOptions;
  2. {
  3. Toolbar2000
  4. Copyright (C) 1998-2005 by Jordan Russell
  5. All rights reserved.
  6. The contents of this file are subject to the "Toolbar2000 License"; you may
  7. not use or distribute this file except in compliance with the
  8. "Toolbar2000 License". A copy of the "Toolbar2000 License" may be found in
  9. TB2k-LICENSE.txt or at:
  10. https://jrsoftware.org/files/tb2k/TB2k-LICENSE.txt
  11. Alternatively, the contents of this file may be used under the terms of the
  12. GNU General Public License (the "GPL"), in which case the provisions of the
  13. GPL are applicable instead of those in the "Toolbar2000 License". A copy of
  14. the GPL may be found in GPL-LICENSE.txt or at:
  15. https://jrsoftware.org/files/tb2k/GPL-LICENSE.txt
  16. If you wish to allow use of your version of this file only under the terms of
  17. the GPL and not to allow others to use your version of this file under the
  18. "Toolbar2000 License", indicate your decision by deleting the provisions
  19. above and replace them with the notice and other provisions required by the
  20. GPL. If you do not delete the provisions above, a recipient may use your
  21. version of this file under either the "Toolbar2000 License" or the GPL.
  22. $jrsoftware: tb2k/Source/TB2DsgnConvertOptions.pas,v 1.6 2005/01/06 03:56:50 jr Exp $
  23. }
  24. interface
  25. uses
  26. Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  27. StdCtrls;
  28. type
  29. TTBConvertOptionsForm = class(TForm)
  30. MenuCombo: TComboBox;
  31. Label1: TLabel;
  32. ConvertButton: TButton;
  33. HelpButton: TButton;
  34. Button1: TButton;
  35. procedure HelpButtonClick(Sender: TObject);
  36. private
  37. { Private declarations }
  38. public
  39. { Public declarations }
  40. end;
  41. implementation
  42. {$R *.DFM}
  43. procedure TTBConvertOptionsForm.HelpButtonClick(Sender: TObject);
  44. const
  45. SMsg1 = 'This will import the contents of a TMainMenu or TPopupMenu ' +
  46. 'component on the form.'#13#10#13#10 +
  47. 'The new items will take the names of the old menu ' +
  48. 'items. The old menu items will have "_OLD" appended to the end of ' +
  49. 'their names.'#13#10#13#10 +
  50. 'After the conversion process completes, you should verify that ' +
  51. 'everything was copied correctly. Afterward, you may delete the ' +
  52. 'old menu component.';
  53. begin
  54. Application.MessageBox(SMsg1, 'Convert Help', MB_OK or MB_ICONINFORMATION);
  55. end;
  56. end.