Weblistbox in a modal

Is it advisable to put “Weblistbox” into a “Web Modal”? I need to do this on my next task. Just want to confirm first if it is a good or bad practice.

It is possible, if you want to know.

It is neither good or bad practice. Basically, all you want to make sure is that it feels natural to the user.

We do it all the time.

By the way…

I’ll be needing to transfer/copy a selected index from Weblistbox(inside modal) to another Weblistbox(Main Page/Container).

Look at http://documentation.xojo.com/api/user_interface/web/weblistbox.html#weblistbox-selected

This should do it (untested, typed from memory):

For i as integer = 0 to ListBox1.RowCount -1 WebPage1.ListBoxOne.Selected(i) = (ListBox1.Selected(i) = True) Next i

ListBox1 is the one on the dialog, ListBoxOne is the one on the WebPage.