unit ayuda;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  ExtCtrls, StdCtrls, ComCtrls;

type
  TFormaAyudaLinea = class(TForm)
    Panel3: TPanel;
    Bevel18: TBevel;
    Bevel19: TBevel;
    Bevel20: TBevel;
    Label8: TLabel;
    Panel4: TPanel;
    Shape1: TShape;
    Texto: TRichEdit;
    procedure Panel4Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FormaAyudaLinea: TFormaAyudaLinea;

procedure MuestraAyuda(archivo:String;indice:integer);
implementation


{$R *.DFM}
procedure MuestraAyuda(archivo:String;indice:integer);
begin
with FormaAyudaLinea do
begin

if FileExists(archivo) then
begin
Texto.Lines.LoadFromFile(archivo);

end;
Show;
end;


end;

procedure TFormaAyudaLinea.Panel4Click(Sender: TObject);
begin
Close;
end;

end.
