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
 Autofit and MouseSelect

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
BionicWave Posted - Aug 28 2011 : 12:05:56
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.
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Aug 28 2011 : 12:26:27
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.