Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
PRIVATE indx
*... move selected items from left to right list box
WITH THIS.PARENT
STORE 1 TO indx
DO WHILE indx <= .lbCustList.LISTCOUNT
IF .lbCustList.SELECTED(indx)
.lbCopyList.ADDLISTITEM(.lbCustList.listitem(.lbCustList.IndexToItemID(indx)))
.lbCustList.REMOVELISTITEM(.lbcustlist.IndexToItemID(Indx))
ELSE
indx = indx + 1
ENDIF
ENDDO
*... refresh labels showing number of items in each listbox
.lblCustListCount.Caption = 'Items: ' + ALLTRIM(STR(.lbCustList.LISTCOUNT))
.lblCopyListCount.Caption = 'Items: ' + ALLTRIM(STR(.lbCopyList.LISTCOUNT))
ENDWITH