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
 How to get the imagebottomtext of selected image

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
egold2005 Posted - May 08 2020 : 06:35:08
Hi folks,
I am using FolderView.OnGetTextEx to provide custom bottom text for the images.
The first thing i noticed is that setting font.color has no effect.


   vFileText := '';
   if Position = iemtpBottom then begin
      with FcdsAttachments do
         if locate('user_file_name', Text, []) then begin
            if FieldByName('tracer_nbr').asString > '' then begin
               vFileText := 'Order Nbr ' + FieldByName('tracer_nbr').asString;
               Font.Color := clBlue //does not work
            end else  begin
               vFileText := 'No order found';
               Font.Color := clRed 
            end
         end;

      Text := vFileText
   end

Then i need to grab the bottom text of selected image for taking some UI actions. I am using ImageSelect event, and then trying to read the following property but it is always empty.

FolderView.ImageBottomText[AIdx]

Any ideas? My environment is D2007 and ImageEn 8.7.6.

Thanks alot,
Eugene.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 08 2020 : 16:56:21
Hi Eugene

Setting the font color is not supported in <9.0.1, but you can email me for an update that supports it (please check that your registration is still valid). Otherwise just set the relevant properties.

OnGetTextEx only specifies the *Displayed* value. If you want to be able to read the ImageBottomText property, then set ImageBottomText instead of using OnGetTextEx.



Nigel
Xequte Software
www.imageen.com