JackDunaway Posted December 21, 2010 Report Share Posted December 21, 2010 Has anyone attempted to add pages to the Class Properties Dialog (..\LabVIEW 2010\resource\Framework\Providers\VILibrary\LIBUIP_Properties_Dialog.vi)? It must be possible to add new pages since when I create a copy of the Wire Appearance page (..\LabVIEW 2010\resource\Framework\Providers\LVClassLibrary\libpropPage_WireDesignEditor.vi) it's enumerated twice. I've already tried simply naming a file prepended with "libpropPage_", but the contract requires more than that. I have a hunch I'm going to need controls for "Page VI Data", "page synch rendezvous", "stop event in", and "page events in". (With a name like "page events in" I'm pretty sure reverse engineering is out of the question, perhaps a peek under the password-protected-hood? ) Quote Link to comment
Black Pearl Posted December 21, 2010 Report Share Posted December 21, 2010 I did some tests with 7.1 on a password protected VI. You can't copy a control. But you can read a lot of information: * Type Descriptor * Lable.Text * GetImage * GetTermImage Felix Quote Link to comment
Yair Posted December 21, 2010 Report Share Posted December 21, 2010 Have you seen this thread - ? I assume that the class properties dialog has some similarities to the general options dialog, so it might help. Quote Link to comment
JackDunaway Posted December 21, 2010 Author Report Share Posted December 21, 2010 Felix - Good ideas, I am pursuing them Yair - That lead is opening new doors, thank you! Current progress with my custom page - looks like I need to do more research with datatypes (I'll add developments as I casually work on this side-project): Quote Link to comment
Christian_L Posted December 21, 2010 Report Share Posted December 21, 2010 Jack, Can you describe your use case for wanting to add a page to the Library Properties dialog. In general we are hesitant allow additions to the development environment tools without understanding the possible applications. In the case of the preferences dialog the purpose of publishing the template was to provide a method for creating your own preference dialog based on the same framework that LabVIEW uses, not to add additional pages to the LabVIEW options dialog. Quote Link to comment
JackDunaway Posted December 21, 2010 Author Report Share Posted December 21, 2010 Can you describe your use case for wanting to add a page to the Library Properties dialog. In general we are hesitant allow additions to the development environment tools without understanding the possible applications. Thanks for replying! Parameters for use cases are limited to making class modifications already available on the other tabs, just with a different user interface. This is just a personal project (certainly not commercial), but would gladly be shared with any others interested. Quote Link to comment
Tomi Maila Posted December 30, 2010 Report Share Posted December 30, 2010 Did anyone have any success on this? I would like to add a page for annotating classes and class items such as methods. LabVIEW scripting provides a way of annotating items but these annotations are not exposed via LabVIEW IDE user interface. I would like to add a page similar to library items settings that would allow adding custom annotations to each item. Quote Link to comment
Aristos Queue Posted December 30, 2010 Report Share Posted December 30, 2010 Did anyone have any success on this? I did, but I probably don't count. :-)Seriously... various folks are discussing how this could be opened up as a result of Jack's posts. We'll see what the new year holds. Quote Link to comment
Tomi Maila Posted December 30, 2010 Report Share Posted December 30, 2010 I did, but I probably don't count. :-) It counts if you are ready to leak the information, more or less privately Seriously AQ, are you considering exposing the <Property Name="xxx" Type="yyy"></Property> tags to the library properties dialog as item and library annotations? I don't want to do duplicate work... Quote Link to comment
Aristos Queue Posted December 30, 2010 Report Share Posted December 30, 2010 It counts if you are ready to leak the information, more or less privately Seriously AQ, are you considering exposing the <Property Name="xxx" Type="yyy"></Property> tags to the library properties dialog as item and library annotations? I don't want to do duplicate work... I'm just talking about opening up the property pages to extension... nothing to do with the property tags of the libraries themselves. Quote Link to comment
Tomi Maila Posted December 31, 2010 Report Share Posted December 31, 2010 I'm just talking about opening up the property pages to extension... nothing to do with the property tags of the libraries themselves. I know, I just tried to inject new ideas to your endless list of must have features Opening up the property pages to extensions would be enough. 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.