ImageEn, unit iemview
TImageEnMView.OnShowCheckbox
TImageEnMView
.OnShowCheckbox
Declaration
property OnShowCheckbox:
TIEShowCheckboxEvent
;
Description
Occurs whenever a checkbox is drawn and allows you to show or display it.
idx
is the index of an image.
Allow
specifies whether the checkbox is shown for that image or not (default is True).
Note: A checkbox that is hidden, also cannot be clicked.
Example
procedure TfMain.ImageEnMView1ShowCheckbox(Sender: TObject; idx: integer; var Allow : Boolean);
begin
// Only show checkboxes for JPEG images
Allow := IEFileIsOfFormat(ImageEnMView1.ImageFilename[idx], ioJPEG;
end;
See also
◼
Checkboxes
Loading contents...