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
 Autofit and MouseSelect
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

BionicWave

Germany
33 Posts

Posted - Aug 28 2011 :  12:05:56  Show Profile  Reply
When i load an image that is for example not as high as the TImageEn-component on screen, it will be centered inside the TImageEn-component.

Problem is that the mouseselection starts from the top of TImageEn.
How do i handle this behaviour?
I want the MouseSelection to start where the Image starts inside of TImageEn-Component.

fab

1310 Posts

Posted - Aug 28 2011 :  12:26:27  Show Profile  Reply
quote:
When i load an image that is for example not as high as the TImageEn-component on screen, it will be centered inside the TImageEn-component.


You can disable this behavior setting ImageEnView.Center = false. The image will be aligned on the left.

quote:
Problem is that the mouseselection starts from the top of TImageEn.


Mouse selection (using the mouse) starts where the image starts, not f r o m the top of TImageEn. It is not possible to select an area outside the image.

quote:
I want the MouseSelection to start w h e r e the Image starts inside of TImageEn-Component.


Maybe I cannot understand the question, but actually mouse selection starts w h e r e the image starts.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: