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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Text Arrow Demo

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Matthew T Posted - Jun 21 2012 : 12:57:25
Hi,

I am using a control similar to the Text Arrow Demo. The user wants to draw the TextArrow and then clear the Edit box after the item is drawn. When I change the editbox, the current object is still selected so the last text arrow caption changes as well.

How do I clear the edit without clearing the last caption? I also want to change the focus back to the edit after the last item was drawn.

Thanks,


Matthew
2   L A T E S T    R E P L I E S    (Newest First)
Matthew T Posted - Jun 26 2012 : 15:13:43
Thanks - worked fine.

Matthew
fab Posted - Jun 24 2012 : 23:58:24
Hi,
you could remove the code inside TForm1.Edit1Change and change the code in TForm1.ImageEnVect1NewObject to:

procedure TForm1.ImageEnVect1NewObject(Sender: TObject; hobj: Integer);
begin
  imageenvect1.ObjText[hobj] := Edit1.text;
  Edit1.Text := '';
end;