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
 Disabling checkboxes in TImageEnMView

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
AndyColmes Posted - Mar 04 2014 : 11:11:00
I need to be able to set checkboxes Enabled := False while still being visible in TImageEnMView. Is there a way to do this?

Thanks

Andy
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 04 2014 : 20:21:42
Hi Andy

At this time it is not possible for checkboxes to be displayed as disabled, however you can prevent them being checked via the TImageEnMView.OnCheckboxClick event.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Mar 04 2014 : 12:42:21
Use the Checkboxes property:
procedure TForm1.CheckBoxes1Click(Sender: TObject);
{ Enable/Disable ImageEnMView Checkboxes. }
begin
  if CheckBoxes1.Checked then
    ImageEnMView1.Checkboxes := iecbTopLeft
  else
   ImageEnMView1.Checkboxes := iecbNone;
  ImageEnMView1.Update;
end;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development