Registriert seit: 27. Mai 2004
Ort: Bad Sooden-Allendorf
240 Beiträge
Delphi 6 Professional
|
Re: Focus vom Bild nehmen
5. Jul 2007, 15:18
Lösung:
Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
var
ailine: integer;
begin
Image1.Picture.LoadFromFile(FileListBox1.FileName);
JvRichEdit1.InsertGraphic(Image1.Picture.Graphic, false);
JvRichEdit1.SelStart := SendMessage(JvRichEdit1.Handle, EM_LINEINDEX,ailine,0);
SendMessage(JvRichEdit1.Handle,EM_scrollcaret,0,0);
JvRichEdit1.SetFocus;
end;
|
|
Zitat
|