Search found 100 matches: mousewheel

Return to advanced search

... instead it is a container Class, as it "contains" a TWindow object (oWnd) A possible solution though not very "technical" is to change the Method MouseWheel() of Class TWindow dinamically using __clsModMsg() but it has the side effect problem that all TWindows objects will change their behaviors ...
by Antonio Linares
Tue Apr 17, 2007 2:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: VScroll with mouse wheel
Replies: 5
Views: 1339

Antonio:
Just to try, after studying the wbrowse class, I added Method MouseWheel() Inline MsgInfo("Hello") to the TScrWnd class. As it was suspecting, it didn't do anything. How can I make that class to be aware of that new method, could you give me a hint?
Rafael
by Rafael Clemente
Tue Apr 17, 2007 10:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: VScroll with mouse wheel
Replies: 5
Views: 1339

Rafael,

You may review Class TWBrowse Method MouseWheel() source code.

Its quite simple and surely you can easily adapt it to your needs :-)
by Antonio Linares
Tue Apr 17, 2007 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: VScroll with mouse wheel
Replies: 5
Views: 1339

Detlef Hoefner wrote:Hi Enrico,

i feared you were in holiday :wink:


:-)

Detlef Hoefner wrote:Until now i didn't yet work with inherited classes.

Do you mean something like :
TMyGet from TGet and then overide the method MouseWheel() from the window class with my own code?


Yes, exactly.

EMG
by Enrico Maria Giordano
Fri Jul 14, 2006 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: mousewheel on get
Replies: 3
Views: 860

... in holiday :wink: Until now i didn't yet work with inherited classes. Do you mean something like : TMyGet from TGet and then overide the method MouseWheel() from the window class with my own code? I will try this. I think i remember a description from James Bott how to do such things. Thanks ...
by Detlef Hoefner
Fri Jul 14, 2006 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: mousewheel on get
Replies: 3
Views: 860

Re: mousewheel on get

You have to inherit your own TMyGet and add MouseWheel() or HandleEvent() methods to it (or modify the standard TGet class).

Have a look at TWBrowse and TRichEdit for a sample.

EMG
by Enrico Maria Giordano
Fri Jul 14, 2006 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: mousewheel on get
Replies: 3
Views: 860

mousewheel on get

Hi all, is there a way to detect a mousewheel movement on a get? Similar to a spinner i would like to enhance numeric gets with a method for incr. and decr. by srolling the mousewheel up or down. Photoshop i.e. does this and i find it very ...
by Detlef Hoefner
Fri Jul 14, 2006 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: mousewheel on get
Replies: 3
Views: 860

... en el scrollbar por ejemplo a la mitad del scrollbar el browse se desplaza al elemento que está en la mitad, pero..... si me desplazo con el mousewheel o con las flechas de teclado en el browse, la scrollbar no se desplaza proporcionalmente. Por ahora, sigo luchando. Apreciaré cualquier ayuda.
by jose_murugosa
Mon Jul 10, 2006 3:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Barra de Scroll en TCBrowse con Scope
Replies: 3
Views: 815

Problema con Scroll en TImage

... dimensiones son menores que la imagen que carga. El usuario debe moverse por la imagen con el Scroll Vertical, pero éste no responde ni con el MouseWheel ni con el boton móvil del scroll. Regresa como resorte. Sólo responde si se pulsa en en el botón superior o en el botón inferior del Scroll, ...
by Cgallegoa
Mon Jan 16, 2006 10:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con Scroll en TImage
Replies: 0
Views: 454

Hello!

That was easy (method MouseWheel)

> In 16 bits there is no support for mouse wheel. It only report movement in one direction. No way to fix it.

I expected something like that ...

Thanks, Roman
by modicr
Tue Nov 08, 2005 1:32 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Wheel button behaviour
Replies: 2
Views: 2276
Previous

Return to advanced search