trichview.com

trichview.support




set focus to another control


Return to index


Author

Message

psycho

Posted: 04/29/2004 18:13:11


hello,


im a delphi newbie, so excuse my eventually lame question ;-)


i want to set the focus on an editbox when the user doubleclicks on the richview.


i used this code:


procedure TForm1.RichViewEdit1DblClick(Sender: TObject);

begin

  MyEdit.SetFocus;

end;


the problem is that the cursor immediately jumps back to the richview. How

can I solve this?





Powered by ABC Amber Outlook Express Converter