03-31-2011 05:12 PM
I am trying to implement my first XControl and am having one major issue. The XControl is composed of a multicolumn listbox and some other controls and indicators.
In the facade vi block diagram I am trying to set the listbox vertical scrollbar visibility to true. I have placed the visibility property node in several cases of the event structure along with setting the "Data State Change" boolean to true. When running the facade vi the scrollbar becomes visible. When I apply the XControls settings to my project and run my main vi containing the xcontrol the scrollbar never becomes visible. I have verified that the property node is being written to. So what the heck is happening wrong? Am I limited on which properties I can alter from with the facade vi?
Has this already been identified as a bug or am I missing something?
04-01-2011 04:13 PM
Hi,
This is defintiely interesting. Could you post your Xcontrol files so we can see whats going on? Is it possible that the property node is getting reset elsewhere?
Thanks,
Jon S
04-01-2011 09:09 PM
Hey Jon,
I found the error. It was my mistake and not labviews (as is often the case). 🙂
I set the xcontrols facade front panel to a certain dimension. Running the main vi I called the facade block diagram, made the scrollbar visible then increased the number of columns to display for the multicolumn listbox. By increasing the number of columns displayed for the listbox the facade front panel dimensions did not change but the listbox width did. Thus, the scrollbar seemed to never appear, when in reality it had appeared but had gone outside of the xcontrols front panel display bounds.
04-04-2011 11:09 AM
Glad to hear everything worked out for you!
Jon S