LPARAMETERS nButton, nShift, nXCoord, nYCoord this.CloseList()And the CloseList method is
LOCAL lnTopIndex, lnI lnTopIndex = 0 STORE "" TO this.cSelectedItems, this.cSelectedItemsList FOR lnI = 1 TO this.ListCount IF this.Selected(m.lnI) = .t. IF m.lnTopIndex = 0 lnTopIndex = m.lnI ENDIF this.cSelectedItems = this.cSelectedItems + ; IIF(not EMPTY(this.cSelectedItems),",","") + this.ListItem[m.lnI,1] this.cSelectedItemsList = this.cSelectedItemsList + ; IIF(not EMPTY(this.cSelectedItemsList),",'","'") + this.ListItem[m.lnI,1] + "'" ENDIF NEXT IF m.lnTopIndex <> 0 this.TopIndex = m.lnTopIndex ENDIF IF NOT this.cCurrentlySelected == this.cSelectedItems this.RefreshDependents(this.cSelectedItemsList) ENDIF this.Height = this.nOriginalHeight this.SelectedItemBackColor = this.ItemBackColor this.SelectedItemForeColor = this.ItemForeColor this.Value = this.Value this.ZOrder(1) && Send to backThe effect I observe on my form is the following: