Very simple question (but I can't find it on the help and in the source). How do I select which is the current selected image on a TImageEnMview?. Something like "ImgEnMW.ItemIndex := 3" or "ImgEnMW.Select(3)" or "ImgEnMW.Selected := 3" or something like that?
Get or set the currently selected image (which will be drawn with a colored border.
You can get the bitmap of the selected image using IEBitmap or Bitmap.
Example // Paint frame number on each thumbnail ImageEnMView1.LockUpdate(); for I := 0 to ImageEnMView1.ImageCount - 1 do begin ImageEnMView1.SelectedImage := I; ImageEnMView1.Proc.TextOut(Align_text_near_top, Align_text_near_left, '#' + IntToStr( I + 1 ), 'Arial', 32, clRed, [fsBold]); end; ImageEnMView1.UnlockUpdate();