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
 Finishing the Text
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Elemental

USA
56 Posts

Posted - May 01 2014 :  10:45:40  Show Profile  Reply
I am working with a TImageEnVect. I have a situation I have to cover. When I am editing a note object, then save the image, then reload it, I notice that the note rectangle is there, but the words are not. I am saving annotations to a database, not to a TIFF, but how should I grab that text? I've tried calling UnSelAllObjects but that doesn't work. How do I force TImageEnVect to be done with editing the text?

Also, is there a maximum text length I can enforce on the text, since I am storing the text in a database with a fixed-length field?

"Roj"

xequte

38510 Posts

Posted - May 04 2014 :  18:51:04  Show Profile  Reply
Hi Roj

CancelInteracts should terminate all object editing functions.

MemoEdit provides access to the object used for editing of text, but at this time it does not support a max length.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

xequte

38510 Posts

Posted - May 04 2014 :  19:12:41  Show Profile  Reply
In the next release you will be able to call (e.g. in OnFormShow):

ImageEnVect1.MaxTextLength := 20; (applies to text and memo objects)

Or:
ImageEnVect1.MemoEdit.MaxLength := 20; (memo objects only)



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: