Page 1 of 1

[DONE][IDE]-Enable mouse scroll wheel in Procedures Browser

Posted: Tue Jan 15, 2013 8:43 pm
by skywalk
Very annoying I cannot scroll my Procedures with the mouse wheel. :cry:
Only the code window scrolls.
This is not typical or an expected gui behavior.

[DONE] - Windows 10 supports this action.

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Tue Jan 15, 2013 8:51 pm
by Josh
Image

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Tue Jan 15, 2013 9:13 pm
by eddy
+1

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Tue Jan 15, 2013 9:24 pm
by freak
Not possible.

On Windows, only the gadget with the keyboard focus receives scroll events. The ProcedureBrowser never has the focus because selecting an element puts the focus back on the Editor so you can continue working on the selected procedure.

Other OS don't have this problem because there the events go to the gadget under the cursor and not the one with the focus.

You have to thank MS for this.

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Tue Jan 15, 2013 9:52 pm
by skywalk
Only set focus to the code with a Double-Click :idea:
That way I can browse both.
This is the same as the Ascii Table insertion or Color insertions.

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Tue Jan 15, 2013 10:06 pm
by freak
I think fast navigation with the Browser is more important than the ability to scroll with the wheel.

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Tue Jan 15, 2013 10:10 pm
by skywalk
That's what I'm trying to do...browse my procedures fast.
But, you force me to hit a narrow scrollbar to "see" the rest of my procedures.
In fact, if I miss, I hit an unwanted procedure and my code jumps to that.
All really weird stuff, that could be swept away with a Double-Click action.

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Tue Jan 15, 2013 10:15 pm
by skywalk
I can live with pre-canned behavior if some plug-in code allows me to adapt my own.
But, I cannot navigate the panel gadgets with the current Tool commands.

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Fri Jan 18, 2013 12:31 pm
by Shield
I actually prefer this behavior (generally) because it allows me to keep scrolling the window
I want without accidentally scrolling in another one.

Using my laptop now (without mouse) I encountered I can scroll in any window with the track pad without selecting it.

Alternatively, you can use a tool.
Stumbled upon this one: http://lifehacker.com/5146250/wizmouse- ... us-windows

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Fri Jan 18, 2013 5:12 pm
by Danilo
freak wrote:Not possible.

On Windows, only the gadget with the keyboard focus receives scroll events. The ProcedureBrowser never has the focus because selecting an element puts the focus back on the Editor so you can continue working on the selected procedure.
Would it be possible to write some code to enable this feature, if it does not work by default on Windows :?:

Code: Select all

Case #WM_MOUSEWHEEL
    If IsMouseCursorOverGadget(#Gadget_ToolsPanel)
        tool = GetCurrentVisibleToolsPanelItem()
        SendMouseWheelMessage(tool,EventwParam(),EventlParam())
    EndIf

[IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Fri Jan 18, 2013 6:05 pm
by Didelphodon
Danilo wrote:
freak wrote:Not possible.

On Windows, only the gadget with the keyboard focus receives scroll events. The ProcedureBrowser never has the focus because selecting an element puts the focus back on the Editor so you can continue working on the selected procedure.
Would it be possible to write some code to enable this feature, if it does not work by default on Windows :?:

Code: Select all

Case #WM_MOUSEWHEEL
    If IsMouseCursorOverGadget(#Gadget_ToolsPanel)
        tool = GetCurrentVisibleToolsPanelItem()
        SendMouseWheelMessage(tool,EventwParam(),EventlParam())
    EndIf
+1

Re: [IDE] - Enable mouse scroll wheel in Procedures Browser

Posted: Sat Jan 14, 2017 6:30 am
by skywalk
freak wrote:Not possible.
On Windows, only the gadget with the keyboard focus receives scroll events. The ProcedureBrowser never has the focus because selecting an element puts the focus back on the Editor so you can continue working on the selected procedure.
Other OS don't have this problem because there the events go to the gadget under the cursor and not the one with the focus.
You have to thank MS for this.
Yay 8) Windows 10 solves this problem. I can scroll the Procedures Panel without mouse click. Just hovering over allows scroll wheel.