LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

overlay an item over an activex control and/ or disabling the mouse scroll wheel

There seems to be several references in the discussion forum to placing a picture control over an activex item to prevent the activex item being selected etc.

 

The thing is, I can't seem to do it: the activex control is always on top, no matter what I do and no matter what control, or decoration I use.

 

What am I doing wrong?

 

Failing that, is there another way of stopping the user getting access to the activx control?

 

Essentially what I want to do is stop them accidentally scrolling through the control's pages with the mouse scroll wheel. I've stopped them accessing the scroll bars, BUT it is still possible to use the scroll wheel unfortunately.

 

Something else I tried was a tab control: placing the activex control on a page and then trying to make the page on top transparent. Needless to say that didn't work....

 

Andy

0 Kudos
Message 1 of 7
(3,730 Views)

Important questions:

  • What ActiveX control are you using?
  • What version of LabVIEW are you using?
  • What "control pages" are you talking about?
0 Kudos
Message 2 of 7
(3,711 Views)

Important questions:

  • What ActiveX control are you using?

 

I'm using the PDF activex control to display a PDF on the front panel of my VI.

 

 

  • What version of LabVIEW are you using?

 

 I'm using LabVIEW 7.1


  • What "control pages" are you talking about?

 

The pages of the PDF: it has several pages. If a mouse is held over it the user can scroll using the scroll wheel, or if they right click they can access the Adobe menu.

 

It's these that I'd like to inhibit them doing.

 

Thanks


Andy

 

 

0 Kudos
Message 3 of 7
(3,705 Views)
It's actually worse when I tried it. I have a virtual machine with 7.1 and I installed Adobe Acrobat Reader on it (I refuse to intall Adobe Acrobat on my computer) and the control won't display the PDF. Don't know if this is a problem with the version of the ActiveX control, or what. Maybe someone who's unfortunate enough to have Adobe Acrobat Reader can help.
0 Kudos
Message 4 of 7
(3,693 Views)

Thanks for trying anyway.

 

It seems to be any type of activeX control though, not just adobe related. I just can't place anything on top of the control.

 

 

0 Kudos
Message 5 of 7
(3,685 Views)

Hi Andy,

 

Is this similar to the other forum have posted, to do with the word and ActiveX. (   http://forums.ni.com/ni/board/message?board.id=170&message.id=420513&jump=true   )

 

If so does this forum provide you with a solution?

 

Kind regards.

Jordan Power
Applications Engineer
National Instruments
0 Kudos
Message 6 of 7
(3,668 Views)

Hi Jordan,

 

The Word and activex post was completely different to this one, the only thing linking them was activeX.

 

After eventually muddling my way through I came up with something that worked with word (but jees, is word messy to work with via activex or what?!).

 

After that I was then asked to look at a similar application but using PDF rather than Word, and this is where I have a problem now.

 

The word version wasn't a problem as the interface didn't have a mouse (touch screen) so the user couldn't do much accidentally.

 

With this application the user does have a mouse and can scroll through the PDF if  they desire using the scroll wheel on the mouse, or by right clicking, and it's this that I wish to inhibit.

 

Ideally I want to only have one multipage document, otherwise version control of the document could get messy.

 

I guess having multiple files that only have a single page would prevent scrolling however.... Not what I want to do really

 

Regards

 

Andy

0 Kudos
Message 7 of 7
(3,654 Views)