-
Scriptied GUI listbox scrolling bug
Hi!
I need to use a listbox with hundreds of rows. The thing is, it seems that I loose the listbox scrolling ability if I try to confine the listbox to a reasonable size. Here is a sample:
var FSWindow = new Window("palette","Listbox Scroll Bug", undefined);var FSList = FSWindow.add("listbox", [0,0,500,205], "FS List", {multiselect:true, numberOfColumns: 2, showHeaders: true, columnTitles: ["First","Second"]});
for (i=0;i<50;i++)
{
var curItem = FSList.add ('item', "Row"+String(i)); // Column 1
curItem.subItems[0].text = "Row"+String(i); // Column 2
}FSWindow.center();
FSWindow.show();
There are 50 rows in the listbox but you can only access the first eleven of them.
I have tried searching google and Javascript Tools Guide CS6.
Thanks in advance!