Vertical Scrollbar instead of bottom Scrollbar?

Any chance I can make this into a vertical side scrollbar instead of the bottom scroll bar it defaults to?

This is a Tab Strip being used in a Template.

I think that in the GUI world that's a "spinner", not a scrollbar.

Welcome to the forum.

Not easily. You could use a template and template repeater to approximate the same end result as a tab strip, though. You'd be in charge of wiring up the event handling yourself.

1 Like

It probably wouldn't be that bad. A tag path custom property on the template instance could be used for the window swap, and a selected index property on the template repeater could drive the background colors of the tabs via the propertyChange event to give the selected tab effect.

I've made several custom tables that give selected row indication in this way. I just pass the index property of the template up to the repeater with scripting. In this case, I imagine the property change event would just iterate through the loadedTemplates property to adjust the colors and use the updated index value to get the tag path for the window swap.

1 Like

Oh, yeah, I'd definitely do this with the repeater, I wouldn't even hesitate. I almost tagged you because I thought you might not be able to resist the intellectual curiosity of swapping out the scrollpane implementation, but, yeah, that's definitely not the 'right' way to handle this I would say.

1 Like

What? I demand fairness in nerd-sniping!!

1 Like