Using TRichview in delphi web ISAPI

General TRichView support forum. Please post your questions here
Post Reply
LUIS DIAZ

Using TRichview in delphi web ISAPI

Post by LUIS DIAZ »

I use TRichview in web php application with a delphi web ISAPI for show texts write with TRichviewActions.

Code: Select all

procedure TWebModule1.WebModule1CargaAsuntoAction(Sender: TObject;
  Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
var Part,Codigo:string;
begin
  try
    Conexion.Connect;
  except
    Conexion.Disconnect;
    Response.Content:='<h1>Erro na conexión</h1><p><p></p>';
    Exit;
  end;
  with Query do
    begin
      Close;
      Sql.Clear;
      Codigo:=Request.QueryFields.Values['id'];
      Part:=Request.QueryFields.Values['part'];
      Sql.Text:='Select SESASU_ASUNTO from SES'+trim(Part)+'ASU where SESASU_CODIGO='+Codigo;
      try
        Open;
      except
        Query.Close;
        Transa.Rollback;
        Conexion.Disconnect;
        Response.Content:='<p><h1>Non existe Asunto</h1>';
        Exit;
      end;
    end;
  Response.Content:='<b>'+Query.fieldbyname('SESASU_ASUNTO').AsString+'</b>';
  Query.Close;
  Transa.Close;
  Conexion.Disconnect;
end;
SESASU_ASUNTO is a firebird blob field.
It's fine, except export the Bullets and Numbering to html.
Why?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

What's exactly the problems with bullets&numbering?
Guest

Post by Guest »

I'm sorry. My problem is in CSS style.
Thanks.
Post Reply