Copyright © 2005-2023 MultiMedia Soft

TRACKSBOARD_SCROLLBARS_SETTINGS structure

Previous pageReturn to chapter overviewNext page

The TRACKSBOARD_SCROLLBARS_SETTINGS structure describes settings applied while rendering the scrollbars on the TracksBoard. The current settings can be retrieved through the TracksBoard.SettingsScrollbarsGet method and modified through the TracksBoard.SettingsScrollbarsSet method.

 

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard object section.

 

C# definition

 

public struct TRACKSBOARD_SCROLLBARS_SETTINGS

{

     public Int16 nHeightInPixels;

     public bool bVisibleTop;

     public bool bVisibleBottom;

     public bool bVisibleRight;

     public Color colorBackground;

     public Color colorThumb;

}

 

 

 

 

 

Member

Description

 

 

nHeightInPixels

Height of the scrollbars in pixels.

By default this value is set to 12 and cannot be set to a value lower than 6: eventual lower values will be automatically capped to the nearest valid value.

bVisibleTop

Boolean value that specifies if the top scrollbar is visible.

Supported values are the following:

Mnemonic constant

Meaning

false

Doesn't display top scrollbar

true (default)

Displays top scrollbar

bVisibleBottom

Boolean value that specifies if the bottom scrollbar is visible.Supported values are the following:

Mnemonic constant

Meaning

false

Doesn't display bottom scrollbar

true (default)

Displays bottom scrollbar

bVisibleRight

Boolean value that specifies if the right vertical scrollbar is visible.Supported values are the following:

Mnemonic constant

Meaning

false

Doesn't display right scrollbar

true (default)

Displays right scrollbar

colorBackground

Color used for rendering the scrollbars background.

colorThumb

Color used for rendering the scrollbars thumb.