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 to PROGRAMMATICALLY select image in MView?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

982 Posts

Posted - Oct 29 2017 :  06:17:36  Show Profile  Reply
How can I PROGRAMMATICALLY select an image in a TImageEnMView?

I have tried:

ImageEnMView1.SelectedImage := 0;
ImageEnMView1.Update;


I have also tried:

ImageEnMView1.SelectImage(0);
ImageEnMView1.Update;


But it does not work.

When I click on an image it gets selected:



But how can I do this programmatically?

xequte

39053 Posts

Posted - Oct 30 2017 :  00:08:47  Show Profile  Reply
Hi Peter

I cannot reproduce this. If the second image is selected, then
ImageEnMView1.SelectedImage := 0; correctly reverts the selection to the first image.

Can you reproduce this in any of our demos?



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: