08-12-2015 12:14 PM
I am creating an x-control. I have created several custom properties. I know I can access those with property nodes in my code. What I am wondering is if there is a way to edit the graphical pop up "Properties" window that appears when you right-click a control and go to properties? I would like to provide a graphical way to edit some of the custom properties I have set up in there.
08-12-2015 12:17 PM - edited 08-12-2015 12:18 PM
See this thread
Unfortunately you're going to have to do a decent bit of programming because you have to handle the event and then use the property nodes to edit the property, etc.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-12-2015 12:23 PM
Thanks for the reply. So it appears that thread is about modifying the right-click menu dynamically while the program is running. That isn't what I am looking to do. I want to add my own tabs to the graphical Properties window that all controls have.
08-12-2015 12:28 PM
Oops, misread what you were asking I guess. I don't believe that is possible since it's a native popup of LabVIEW.
So you're trying to just allow the developer to change those properties easier? I'm not sure there's anything you can do there because you're diving in to default values now as well.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-12-2015 12:32 PM
Yes that is what I am trying to do. I didn't see any official documentation on it, so was just wondering if there was a workaround.
The XControl I am working on is complicated enough that I think being able to graphically manipulate the properties would be the most user friendly way. There is some inheritence involved in some of the properties. I didn't really want a user to need series of property nodes to get at what they are after.
Thanks again!