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
 Disabling checkboxes in TImageEnMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AndyColmes

USA
351 Posts

Posted - Mar 04 2014 :  11:11:00  Show Profile  Reply
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

w2m

USA
1990 Posts

Posted - Mar 04 2014 :  12:42:21  Show Profile  Reply
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
Go to Top of Page

xequte

38615 Posts

Posted - Mar 04 2014 :  20:21:42  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: