PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Command "Listadd" buggy ?
Command "Listadd" buggy ?
Iniciado por Stef, mai., 24 2013 11:29 AM - Sem resposta
Membro registado
45 mensagems
Publicado em maio, 24 2013 - 11:29 AM
Hi all,

I am trying to fill a combobox with elements retrieved from an XML file, which works fine when I only add 1 column of data to the combobox:
ListAdd(ComboboxName, variable)
... will fill up the combobox neatly.

Howerver, I need to display more than 1 column in the combobox. According to the documentation I should now use:
ListAdd(ComboboxName, variable1 + TAB + variable2)
The code is run without errors but the combobox remains empty ?
When i first run
ListAdd(ComboboxName, Complete("Loading...", 30) + TAB + Complete("data",6))
to format the columns as advised in the documentation i only get 1 record with 1 column displaying "Loading..."

Any ideas what's wrong ?
Thank you

Stefan