lcItem2 = TRANSFORM(lnIndex) IF MOD(lnIndex, 2) = 0 lcItem2 = "\" + lcItem2 ENDIF This.AddListItem(lcItem2, This.NewIndex, 2)>I have a combobox that where I need to show some of the items disabled. If there is only one column, it works fine. If I have multiple columns, it doesn't disable the item.
>FOR lnIndex = 1 TO 10 > lcItem = SYS(2015) > IF MOD(lnIndex, 2) = 0 > lcItem = "\" + lcItem > ENDIF > > This.AddListItem(lcItem) > * Uncomment this line to see the issue. > *This.AddListItem(TRANSFORM(lnIndex), This.NewIndex, 2) >ENDFOR >>