Ver Mensaje Individual
  #2  
Antiguo 20-12-2005
jjfgg jjfgg is offline
Registrado
 
Registrado: dic 2005
Posts: 2
Reputación: 0
jjfgg Va por buen camino
Talvés lo más facil sea cambiar el formato del texto en el clipboard antes de pegar el texto. De la siguiente manera:

Código Delphi [-]
uses
  Clipbrd;
procedure TForm2.EditPaste1Execute(Sender: TObject);
var
  T: PChar;
begin
  Clipboard.SetTextBuf(PChar( Clipboard.AsText )); // reemplaza el texto en el clipboard por texto sin formato
  RichEdit1.PasteFromClipboard;
end;
Responder Con Cita