取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 15 条)
6,791 次查看
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 项奖励
2 条消息(共 15 条)
6,782 次查看
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 项奖励
3 条消息(共 15 条)
6,782 次查看
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 项奖励
4 条消息(共 15 条)
6,470 次查看
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!
5 条消息(共 15 条)
6,454 次查看


@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?

6 条消息(共 15 条)
6,444 次查看
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 高兴表情

Thanks.
0 项奖励
7 条消息(共 15 条)
6,432 次查看
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
8 条消息(共 15 条)
6,431 次查看
Ahh, brilliant!! Thanks Kurt, it's much appreciated!

极度高兴的表情
0 项奖励
9 条消息(共 15 条)
6,412 次查看

Hi Yorky,

If you wish to do it by yourself, see the below link.眨眼表情

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 2027 🙂 )
10 条消息(共 15 条)
6,404 次查看