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
 MouseInteractGeneral
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

rmklever

Norway
51 Posts

Posted - Jan 19 2020 :  17:48:22  Show Profile  Reply
Hi,



I am wondering how I can have MouseInteractGeneral:= [miScroll] and still be able to click and select the red and white line. The red and white line act as a slider and should be able to move when I select it.

I tried to set MouseInteractGeneral:= [] in MouseDown event but it still enable scrolling... I need the scrolling when not moving the slider. Any ideas? The slider is selected when mouse pointer is within 10 pixels from it and mousebutton is pressed.

Roy M Klever
Klever on Delphi - www.rmklever.com

xequte

38176 Posts

Posted - Jan 21 2020 :  19:23:47  Show Profile  Reply
Hi Roy

Sorry, I can't think of a good way to do that with existing functionality.

The two bad ways I can think of are:

1. Add your own scrolling code (i.e. copy the scroll from imageenview.pas into your form's mouse events

2. Use a separate control (on top of the ImageEnView) to handle the splitting

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

rmklever

Norway
51 Posts

Posted - Jan 22 2020 :  16:54:24  Show Profile  Reply
Thanks Nigel,

I solved it by using spacebar to toogle scrolling. Its working okay :)



Roy M Klever
Klever on Delphi - www.rmklever.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: