> When a user drops my ActiveX control onto a Front Panel and then views
> the Diagram, I would like him to see a terminal outputting a specific
> property value instead of the reference number. In short, I don't want
> him to have to go to the extra step of creating a Property Node to
> access the property value.
You can make it drop a prewired property node when they drop the control.
It isn't hard, but there are a few steps involved.
To do this, make a VI that has your control configured the way you want,
and on the diagram have it wired to a property node with the correct
selection and direction. You should also make an icon that will show
up in the palette. Save this VI somewhere like user.lib. Now
you need to edit the palettes and add this as a Merge VI.
Open the Controls palette and click on the ... button. If using LV5,
choose Edit Controls and Functions Palette from the Edit menu.
Once editing the palettes, make your own palette set and give it a name.
Now choose a place in the palettes to add the .vi file. Right click and
Insert and Custom Control(s)... This will bring up a file dialog that
is filtering for .ctl files. Change the filter to allow all files.
Select the .vi file that you saved earlier.
To give this to others, you may want to make this a bit differently.
You can place the VI and .mnu file into user.lib and a few other places
and it will automatically be added to the LV palettes.
Anyway, once the VI is available in the palettes, it will merge the VI
contents into the VI, exactly as the 3D graph does.
Greg McKaskle