Skip to main content
Participant
September 23, 2011
Answered

Resource spec/string for Multicolumn listbox

  • September 23, 2011
  • 1 reply
  • 739 views

Hi, I am trying to design a dialog box with extendscript. Instead of creating code based UI I am using resource string (or resource specification like LatteUI)

Currently my resource string is

_fileList: ListBox{enabled: false, properties:{numberofcolumns: 2, showheaders: true, columntitles: ['File Name', 'Status']},size: [340, 152],alignment:'left' }

I am getting the listbox, but it does not display columns or column titles. As if creation properties tag is totally ignored. Any one used resource strings for UI? any success with listbox? if so could you please point me what I am missing?

This topic has been closed for replies.
Correct answer

Javascript is case sensitive. Have you tried writing it like this?

_fileList: ListBox{enabled: false, properties:{numberOfColumns: 2, showHeaders: true, columnTitles: ['File Name', 'Status']},size: [340, 152],alignment:'left' }

1 reply

Correct answer
September 23, 2011

Javascript is case sensitive. Have you tried writing it like this?

_fileList: ListBox{enabled: false, properties:{numberOfColumns: 2, showHeaders: true, columnTitles: ['File Name', 'Status']},size: [340, 152],alignment:'left' }

mvaduAuthor
Participant
September 23, 2011

Thanks Haakenlid, i did not realise that properties inside " properties:{" has to be case proper. Tags outside in regular control braces should in lower case. Its working now.