[JW Lua] Missing scrollbar / SetInitValues selects -1

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Mon Jan 20 08:51:28 CET 2014


On 2014-01-18 19:27, Jan Angermüller wrote:
> two things I noticed with numbered lists in the user dialog
> (see attached screenshot). Tested in Finale 2014a/Windows.
>
> 1.) There is no scroll bar if there are more than 30 values.
> In the screenshot the values go from 0 to 127, but no scrollbar
> indicates this.
> It is possible though to select all values from 0..127 with the arrow keys,
> but it would be more obvious if there were vertical scollbars.

Thanks for the report! It'll be fixed in the next build. Windows only.


> 2.) If you initialize SetInitValues with the strings, it sets the init
> value
> to string - 1.
> E.g. in the screenshot example I set it with SetInitValues to " 83 - B5",
> but it displays the init value " 82 - A#5".

That's because you're using "NumberedList" and starts the lists with an 
item of "0". NumberedList uses 1-based index values.

Using a "String" type instead would set the list correctly, but OTOH it 
would be a bit more work to get the selected number.


Best regards,

Jari Williamsson





More information about the JWLua mailing list