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
 TImageEnVect ObjBoxInnerSelectable Fails
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - Feb 29 2016 :  12:48:08  Show Profile  Reply
With the following settings you can not select the transparent part of a png in a bitmap object. Only the non transparent area can be selected to move the object? The auto selection cursor does is not visible unless the cursor is over a non transparent part of the bitmap. Are there additional properties to be set or is ObjBoxInnerSelectable and ObjBitmapHandleTransparencyOnSel broken?
procedure TForm1.FormCreate(Sender: TObject);
begin
  ImageEnView1.IO.LoadFromFile('Pin.png'); // 32-bit RGBA
  ImageEnVect1.ObjBitmapHandleTransparencyOnSel := True;
  ImageEnVect1.ObjBoxInnerSelectable := True;
end;

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development

xequte

38611 Posts

Posted - Feb 29 2016 :  16:24:27  Show Profile  Reply
Hi Bill

Set ObjBitmapHandleTransparencyOnSel to false to allow the image to be selected in transparent areas.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

w2m

USA
1990 Posts

Posted - Feb 29 2016 :  16:27:30  Show Profile  Reply
whoops... my mistake.

Thanks

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: