Is it possible to open, move and hide the Controls Palette programati​caly?

I'm currently creating a tools to create and edit VI. And I would like to bring the tool palette programaticaly.
regards,
Nitrof

Nitrof,
The attached example program uses ActiveX to access the menus in LabVIEW and execute the menu selection based on keys sent to the program. Because this example program uses ActiveX it is only applicable on Windows Operating Systems. To access a menu in LabVIEW this program uses the SendKeys function and an ActiveX container with property nodes to execute the shortcut commands for menus programmatically.
The Show Tools Palette menu item has "P" key associated with it ("P" is the underlined letter in the name). So, to open the tools palette programmatically, you would specify "SendKeys %wp" in the keys string in the attached VI.
The Show Controls Palette item has no keys associated by default, so you would have to edit the run-time menu to assign
this item a key. Use the Set Menu Item Info function (under Application Control>>Menu palette) to set the shortcut key for the Show Controls Palette item. Refer to the LabVIEW Help for more info on this function.
Zvezdana S.
Attachments:
Programmatically_Accessing_Menus_and_Directories_6.0.zip ‏8 KB

Similar Messages

Maybe you are looking for