Foreground colour of list views not working

using

    dlg.Control('listview1').fg = '#ffffff';
    dlg.Control('listview1').bg = '#83bce2';
    dlg.Control('listview1').textbg = '#83bce2';

does not turn the list view - details mode column text white.

image

update:
The foreground colour of the text can be changed from this setting

Can we please change it programmitically, as per the documentation