12-04-2013 08:39 AM
I thought the GSW code was unlocked, but I can't even copy the listbox from GSW_MainPanel. Is this listbox (or similar) available through some other means?
12-04-2013 09:55 AM
The GSW should be a packed library, and I don't think its source code ships with LV. I think Christina had the code on her blog, but that was the 8.x GSW.
One thing you could try is using the Create From Reference method. I don't remember offhand which class it's in (Diagram?), but there are probably some references to it in the scripting group, or you might be able to use the class browser to search for it. I believe it should have an input for the source object and you might be able to open a reference to the GSW VI and get the control refs, although I never tried it on a VI in a PPL myself. I assume it should work since the FP is there.
12-04-2013 10:16 AM
The pinning isn't a built-in feature of the listbox.
I use mouse events to determine when you're mousing over a row and position a separate "pin" button on top of the row.
12-04-2013 12:33 PM
I never really even used it, so I just assumed it was a listbox (or MCLB) with custom glyphs. I understand how that could be a problem if the In Bounds method (or whatever it's called) doesn't tell you if you're on the glyph, although I expect it would.