roxe Posted September 22, 2004 Report Share Posted September 22, 2004 Hi...I have problem in doing a mouse click-event (normal click). What I want to do is, when I click the tarnsparent button, the pop up menu will appear(menu selections) in small size in the same window. Then, when I click one of the menu, new window will appear. One more, how to paste the sub vi before I connect with the button function? Please don't laugh at me.Thank You.. Quote Link to comment
Paulo Almeida Posted September 22, 2004 Report Share Posted September 22, 2004 Hi roxe You don't worry we don't laugh at you, principally me. you can use a event structer or a case structer associating that a button and you put in this structers one subvi you want to appear like popup. In this subvi you will cange the windows appearance in properties of subvi. This SubVi must be in and out connectors to connect at main vi I think this help you in my point of view regards Quote Link to comment
Michael Aivaliotis Posted September 23, 2004 Report Share Posted September 23, 2004 Hi...I have problem in doing a mouse click-event (normal click). What I want to do is, when I click the tarnsparent button, the pop up menu will appear(menu selections) in small size in the same window. Then, when I click one of the menu, new window will appear.1860[/snapback] Hmmm.... I think I know what you are trying to do. Are you trying to move the menu from the top of the VI to the middle of the window? There is no way that I know of at the moment to do this. However, If you like to play with some methods. Here is an older post with some info: http://forums.lavausergroup.org/index.php?showtopic=639 Quote Link to comment
roxe Posted September 23, 2004 Author Report Share Posted September 23, 2004 Hi roxeYou don't worry we don't laugh at you, principally me. you can use a event structer or a case structer associating that a button and you put in this structers one subvi you want to appear like popup. In this subvi you will cange the windows appearance in properties of subvi. This SubVi must be in and out connectors to connect at main vi I think this help you in my point of view regards 1869[/snapback] errmm The button still not functioning.Arghh..it make me headache...can you give me an example of button function?I sill can't ge it..help me please.. Quote Link to comment
Paulo Almeida Posted September 23, 2004 Report Share Posted September 23, 2004 Hi, What's for you a transparent button? I'm using a sequence structer, because i want that subvi appear when my main vi starts, but you can chang this structer for a event structer, and choose the property change value of your transperent button??? and put the subvi in this structer. your menu you put invisible on default and when you press in your button and with help of property node of menu you can put visible. Quote Link to comment
roxe Posted September 23, 2004 Author Report Share Posted September 23, 2004 Hi,What's for you a transparent button? I'm using a sequence structer, because i want that subvi appear when my main vi starts, but you can chang this structer for a event structer, and choose the property change value of your transperent button??? and put the subvi in this structer. your menu you put invisible on default and when you press in your button and with help of property node of menu you can put visible. 1922[/snapback] Dera Paulo, Let me explain clearly..1st thing, When I click a figure(actually I set it as button, but I hide it), I want a dialog box appear as a menu selection, eg:-there are 2 types of machine..A and B.Then, when I click A..a new window(window A) will appear. My second problem is, How to connect the button in main vi to subvi?I hope it should be clear for you. Please show me the simple example because i'm so stupid in LV :headbang: Regards, Roxe Quote Link to comment
roxe Posted September 23, 2004 Author Report Share Posted September 23, 2004 Dear Paulo, To make it more clear, let me attach you my project sample.What I want to do is, when I click the motor..the dialog box will appear(type of motor) as I explain above.One more, when I click the button Rotor, the Rotor_Design.vi page will appear.Hope this can help you to help me.. :headbang: Download File:post-683-1095953883.vi Download File:post-683-1095954033.vi Quote Link to comment
Paulo Almeida Posted September 23, 2004 Report Share Posted September 23, 2004 Hi, I sent you your program modified expecting resolving your problem, but i don't know how you made your buttons because they don't work , You can made bottons with aspect you want, the LV have this options you don't need put buttons pictures. but you see the LV examples to learn about it, type controls in search. For link your subvi you must made connectors in that. rigth cliking in icon on front panel, show connector. and with this you can link all buttons and indicatores you want. I hope this help you regards Download File:post-645-1095955723.vi Download File:post-645-1095955798.vi Quote Link to comment
Jimmy-Chen Posted September 24, 2004 Report Share Posted September 24, 2004 Hi,You can made bottons with aspect you want, the LV have this options you don't need put buttons pictures. 1928[/snapback] Hi roxe, Yes, you don't need put button pictures(or use the Edit Text) on the button. You can use the "Button Text" show your button function on the front panel. 1)Remove your text label 2)Right-Click>>Visible Item>>Boolean Text. Quote Link to comment
Jimmy-Chen Posted September 24, 2004 Report Share Posted September 24, 2004 I think you can use the dynamic call. Like this: Download File:post-705-1095997958.llb I hope this can help you Best Regards Jimmy Chen Quote Link to comment
roxe Posted September 24, 2004 Author Report Share Posted September 24, 2004 Hi, Thank you so much..I'll try my best to use this solution. :thumbup: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.