09-05-2007 11:39 AM
09-05-2007 03:09 PM
09-05-2007 03:29 PM - edited 09-05-2007 03:29 PM
Message Edited by _orko_ on 09-05-2007 03:32 PM
09-05-2007 03:37 PM
Thanks for the replies,
I realize that one can click on a color box to display the color picker. For my application that won't do. I really need to be able to launch the color picker independently of a color box. Ideally I would have a right click menu item and when I click on that menu item, the color picker is displayed. I will most likely need to call the color picker in a non-standard way such as a .dll call.
Thanks,
Zach
09-05-2007 03:41 PM
I would suggest creating your own popup VI for the right click. In that VI, have a transparent color box with text under it as your text with the arrow. Clicking it would open the color dialog.
If you want to save some time, there were some implementations for right click menus on the web. I would suggest searching the LAVA forums (I believe PJM_LabVIEW posted one).
09-06-2007 01:10 AM
If you re using LV 8.0 or upwards, you can configure Rt Click menu by customizing the run-time short-cut menu.
Else, you ve to right the code on your own.
09-06-2007 01:39 AM
09-06-2007 09:35 AM
09-06-2007 09:55 AM
I actually realized that my earlier suggestion is not viable because you can't make a color control transparent and because opening the dialog from it causes its color to change.
I think I would just write my own dialog. Here's a quick example showing how you can do it based on LV's dialog (LV 7.0).
09-06-2007 10:21 AM