ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 how can i finish the editmode from Memo or Text
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - May 18 2013 :  09:14:34  Show Profile  Reply
Hallo,
how can i finish the editmode of a Memo or Text, with software ?

Klaus
www.klausdoege.de

w2m

USA
1990 Posts

Posted - May 18 2013 :  09:48:28  Show Profile  Reply
Using the advanced text demo:
procedure Tfmain.ImageEnVect1TextKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
  fText.Text2Controls;
  { if ESC key is pressed, end editing text and select object }
  if key = VK_ESCAPE then
  begin
    ImageEnVect1.MouseInteractVt := [miObjectSelect];
    btnAddText.Down := False;
    btnSelect.Down := True;
    fText.Hide;
  end;
end;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: