ZBrushCentral

Is it possible to create a scrollbar with zscript?

Hi everyone,
I’m new to the zscript, and want to create a panel that looks like layers from tool.
But I didn’t found any command that can create a scrollbar.
I saw slider works similar to scrollbar, but I need it roll in vertical direction, any ideas?

Hi,

Welcome to ZBC! :slight_smile:

Sadly, it’s not possible to create a scrollbar using zscript. The only option that may work for you is to create a dropdown list like the font list for the Text 3D plugin. For that you will need the ZFileUtils dynamic library. You can find that here:
http://docs.pixologic.com/user-guide/customizing-zbrush/zscripting/zfileutils/

HTH,
Marcus