webapp thread from dialog

Hi I’ve a web app with a webpage that launches a webdialog called Comunicazioni_dialog

in this webdialog there’s a weblistbox that is filled with records from a db table.

the filling of the listbox now is done in the dialog show event.

I would like to add a thread to this dialog, so in the show event I can set

thread1.run

but I’m getting the following error:

"parameter “new parent” expects class web page, but this is class Comunicazioni_dialog.Comunicazioni_dialog

why?

There is a bug that prevents threads to run when they are on a webDialog.

Put the thread on the underlying WebPage and you will be fine.

ah ok, thx michel…