01-25-2019 06:53 AM - edited 01-25-2019 07:00 AM
I am trying to increase the scrollbar width of the array with customization for a touchscreen application. The changes in scrollbar width are not retained when closing LabVIEW and opening it again. I tried making it strict typedef and still, the changes are not retained. I also tried with other types of controls like modern and classic. I have attached the previews for reference.
Anyone have any ideas how this can be done?
Thanks!!
01-25-2019 07:54 AM
It appears to be a LabVIEW bug. I can't think of an easy solution; a hard solution would be to create an XControl.
01-28-2019 02:11 AM
It doesn't work with making it a Custom Control? If so, I guess you'll have to drop a free scrollbar from the numeric panel and use that ones events to change your array.
/Y
01-28-2019 08:34 AM
Yes I too was frustrated by standard width scrollbars on touch screens and tried a few things. Here is a XControl I made which has the ability set it to a larger width and can fit to a pane. Open the Demo Large Scroll to see it in action.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-29-2019 05:06 AM
Got a solution here
Adding following keys in LV ini file enables resizing scrollbars.
AutosizeScrollbar=False
autoResizeScrollbars=false
01-29-2019 08:48 AM
I never tested those INI keys but I thought that those didn't work consistently. They would work on your system but when the EXE is built and put on a computer without those INI keys it would revert back, or other developers opening the VIs would see the normal scrollbars, save the VI and then when it was reopened it wouldn't retain the size.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-19-2019 05:52 AM
@Hooovahh wrote:
I never tested those INI keys but I thought that those didn't work consistently. They would work on your system but when the EXE is built and put on a computer without those INI keys it would revert back, or other developers opening the VIs would see the normal scrollbars, save the VI and then when it was reopened it wouldn't retain the size.
I guess your installer needs to change the LV.ini then. 😉
/Y