New topic: Java error changing column widths
<http://forums.realsoftware.com/viewtopic.php?t=47476> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message athouston Post subject: Java error changing column widthsPosted: Tue Apr 02, 2013 3:54 am Joined: Thu Sep 13, 2012 4:33 pm Posts: 14 When I change the column widths to uneven columns using numbers separated by comma's I get a java error as follows: Could not execute returned javascript: Unexpected EOF Source: var langdir = document.getElementsByTagName('body')[0]; if(langdir) { langdir.removeAttribute('dir'); } var langdir = document.getElementsByTagName('body')[0]; if(langdir) { langdir.setAttribute('lang','en-us'); } new listbox('LomJyhQK',[]); RS.controls['LomJyhQK'].setEnabled(true); RS.controls['LomJyhQK'].setColumnWidths('44,5,287,5,125,5,95 You can see that the quote and closing bracket are missing. This seems to be a problem with the web control definition. The column widths add up to 1 less than the list width (I changed that deliberately just in case that was the issue). Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
