cliebl2$2007106
cliebl2

04/17/2007 :: 01:49

Registered

The software I'm trying to incorporate the gdviewer control in is not calling the dblclick event. What happens when I double click is the scroll bar starts blinking but it's not falling into my dbl_click code.
(I've noticed the blinking on the scrollbar in vb6 as well).
Do you have any ideas on how I can resolve both of these issues?
Loïc$2006306
Loïc

04/17/2007 :: 11:38

Registered

Hi,

I don't understand what is your problem.

You want to catch the dbleclick event with vb6 ?

Private Sub oGdViewer_DblClick()
MsgBox "DblClick"
End Sub


Regards,

Loïc

cliebl2$2007106
cliebl2

04/17/2007 :: 16:14

Registered

No, I can get it to work in vb6 but I couldn't get it to work in the software I need to use (Prolifics product). I did get it work on one screen so I'm going to keep playing with it. I still have a question on the scrollbar blinking - it's doing that in my test program in VB6 too - is there anyway to get it not do that?
toc$2007102
toc

04/18/2007 :: 11:12

Registered

cliebl2, its a standard VB ScrollBar blinking is a function given to show the user the focus is on the scrollbars, a known way to remove this is from the tabindex by setting the TabStop=False obviously you cant set this for the ScrollBars alone in the control only Loïc

But I found that windows only trys to add the scrollbars to the tabindex when the form loads...

heres a bit of a work round for now try to not load an image into the viewer when in the form_load or setzoomfit so scrollbars are not intitially needed then you can go to 100% and no flashing once the form_load has finnished

Sounds like another contol is capturing the events for double click this also may play a part in the above
back to forum