LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a "right click menu"?

I am creating a treeview control i LV. When a user right click in the
treeview, I want a menu to pop up.
How do I do that?
I know that it works in both C++ and VB.

Regards Richard
0 Kudos
Message 1 of 15
(5,668 Views)
Take a look at
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000B8670000&ECategory=LabVIEW.LabVIEW+General

Perhaps Wiebe is willing to help you too ...

HTH,
Michael
0 Kudos
Message 2 of 15
(5,659 Views)
Hi,

Sure I am... I've already send it Richard.

Regards,

Wiebe.


"mino" wrote in message
news:50650000000500000010D90000-1042324653000@exchange.ni.com...
> Take a look at
>
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion
&HOID=506500000008000000B8670000&ECategory=LabVIEW.LabVIEW+General
>
> Perhaps Wiebe is willing to help you too ...
>
> HTH,
> Michael
0 Kudos
Message 3 of 15
(5,659 Views)
Hello, sorry for hi-jacking the thread, but would it be possible to recieve a copy of the file you sent to Richard as I have exact same problem.


Thanks in advance
Yorky
0 Kudos
Message 4 of 15
(5,347 Views)
If you are using LV 8.x, each control should have a right click menu option in its Advanced menu. You can monitor these with the event structure.

If you don't, there were several implementations posted both here and to the LAVA forums. Try searching for "right click" or "context menu".

___________________
Try to take over the world!
Message 5 of 15
(5,331 Views)


@Yorky wrote:
Hello, sorry for hi-jacking the thread,...

Yorky,

Did you realize that the thread you hijacked was over 4 years old??! 😮

Many things have changed since, for example (as tst pointed out above), LabVIEW 8+ has this feature built-in. 🙂 What is your LabVIEW version?

Message 6 of 15
(5,321 Views)
Hey, thanks for your replies. I realised it was an older thread but didn't realise it was 4 years old thread, oops

I am using LabVIEW 7.1 and I cannot find any help in the help files or in the example finder... and the result that matched my problem most via the search on here was this. Again sorry for dragging up old posts, I know it isn't ideal but it usually beats making a new one 😉

I will check out the LAVA forums for examples of how to do this, could anyone give me a pointer to where those forums can be found? I'm sorta new to these LabVIEW forums Smiley Happy

Thanks.
0 Kudos
Message 7 of 15
(5,309 Views)
Hi Yorky
 
I've developed a popup menu toolkit that should help you out, take a look.
 
 
Its compatible with LabVIEW 7.0 and up, includes demos and documentation.
Kurt Friday
www.sciware.com.au
Message 8 of 15
(5,308 Views)
Ahh, brilliant!! Thanks Kurt, it's much appreciated!

Smiley Very Happy
0 Kudos
Message 9 of 15
(5,289 Views)

Hi Yorky,

If you wish to do it by yourself, see the below link.Smiley Wink

http://forums.ni.com/ni/board/message?board.id=170&message.id=250054#M250054

Also, DO see the attached Vi in LV 7.1.

- Partha ( CLD until Oct 2024 🙂 )
Message 10 of 15
(5,281 Views)