10-06-2008 12:36 PM
Hi All,
I have an enum control on user interface, and I want to make it's scroll bar width wider so that it will work better with touch screen.
Any idea? How to?
Thanks a lot for any help.
Anne
10-06-2008 01:10 PM
10-06-2008 02:02 PM
10-06-2008 02:24 PM
Ah, that one. I don't usually have enough items in my enums that scroll bars show up in the list in the first place.
I did a quick test, and I had to get 29 items into the enum before the scroll bar showed up.
In this case would a ListBox work for you? You can customize the width of the scroll bar for that (assuming you're using the LabVIEW native ListBox, and not the "System" style ListBox). Alternatively, you can probably create an XControl that would be a composite of a dropdown and a listbox. When the user clicks on the dropdown the listbox gets displayed. XControls are not that easy to program, however. My memory may be incorrect, but I thought somebody was fiddling with an XControl similar to this at one point.
10-06-2008 03:12 PM
My application is with touch screen, so the font size is big, and the scroll bar shows with 10 items. The boss doesn't like ListBox. 🙂 I will try the Xcontrol.
Thanks.
Anne