キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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,762件の閲覧回数
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,753件の閲覧回数
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,753件の閲覧回数
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,441件の閲覧回数
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,425件の閲覧回数


@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,415件の閲覧回数
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,403件の閲覧回数
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,402件の閲覧回数
Ahh, brilliant!! Thanks Kurt, it's much appreciated!

スマイリー とてもハッピー
0 件の賞賛
メッセージ9/15
6,383件の閲覧回数

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,375件の閲覧回数