ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   list box / scroll bar (https://www.excelbanter.com/excel-programming/395241-list-box-scroll-bar.html)

JT

list box / scroll bar
 
Is it possible to disable the scroll bar on a list box? I want to control
the up and down movement of 2 list boxes with a spin button and move them in
sync.
--
JT

Tom Ogilvy

list box / scroll bar
 
you can't hide it I don't believe (if the list is longer than the visible
window), but if you set the Listbox's enable property to False, the user can
not manipulate it, but your code can still manipulate the listbox.

--
Regards,
Tom Ogilvy


"JT" wrote:

Is it possible to disable the scroll bar on a list box? I want to control
the up and down movement of 2 list boxes with a spin button and move them in
sync.
--
JT


JT

list box / scroll bar
 
Thanks for the help......This is a terrific resource. Thanks again
--
JT


"Tom Ogilvy" wrote:

you can't hide it I don't believe (if the list is longer than the visible
window), but if you set the Listbox's enable property to False, the user can
not manipulate it, but your code can still manipulate the listbox.

--
Regards,
Tom Ogilvy


"JT" wrote:

Is it possible to disable the scroll bar on a list box? I want to control
the up and down movement of 2 list boxes with a spin button and move them in
sync.
--
JT



All times are GMT +1. The time now is 04:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com