Hello

I am programming mi first code in Palm OS and I have a little problem to show 
the information in a list.

In the display I have a list that is empty and, when the user select an option, 
i go to de data base, get some strings and I put this string as textItems in 
the list with "LstSetListChoices". The problem is that this items aren´t shown 
ok. However, if I click in the list, the item that is clicked is shown ok at 
this moment.

I have try to use the functions  LstDrawList and FrmDrawForm, but I have this 
error: "ThreadData.cpp(367): Your application is drawing outside of updates. 
You must use a back-buffered window".

How can I show this items properly???

Thanks :)


---------------------
In Spanish: (Lo pongo en español, por si alguien lo entiende, ya que no se si 
me he explicado muy bien en el párrafo en inglés :(  )

Hola

Estoy haciendo mi primer programilla para Palm OS y tengo un pequeño problema 
con la visualización correcta de las listas en mi interfaz de usuario.

Básicamente lo que hago es rellenar de forma dinámica (tras una búsqueda en una 
base de datos) una lista que hasta entonces aparecía vacía. El problema es que 
tras esta operación la segunda lista no muestra correctamente los items 
añadidos (no aparece el texto). Sin embargo, si voy pichando en ellos aparecen 
correctamente (aparece el texto).

He probado a intentar utilizar las funciones LstDrawList y FrmDrawForm después 
de haber añadido los nuevos items con LstSetListChoices, pero me da el 
siguiente error (en ambos casos):

ThreadData.cpp(367): Your application is drawing outside of updates. You must 
use a back-buffered window


¿Sabeis como puedo hacer para añadir items a una lista de forma dinámica 
(cuando aprietan un botón, por ej) y que estos se vea correctamente?

Gracias y un saludo


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to