This isn’t working:
WebListBox.HeaderStyle = WebStyle1
This does:
WebListBox.ColumnHeaderStyle(0) = WebStyle1
Using Win10.
Can someone confirm?
This isn’t working:
WebListBox.HeaderStyle = WebStyle1
This does:
WebListBox.ColumnHeaderStyle(0) = WebStyle1
Using Win10.
Can someone confirm?
HeaderStyle only works when the control is first being created… for example in the Open event.
ColumnHeaderStyle can be changed at any time.
[quote=443621:@Greg O’Lone]HeaderStyle only works when the control is first being created… for example in the Open event.
ColumnHeaderStyle can be changed at any time.[/quote]
Recently I had to look twice too, but the documentation is correct:
“In the Open event handler of a WebPage, this code applies a style to the header of a WebListBox:”
It would not be wrong to add something like the above statement from Greg. @Paul Lefebvre
Greg, it’s still not working for me.
Notice the headings are not bold.
Using this code they are bold:
List_Master.ColumnHeaderStyle(0) = Arial_10B
List_Master.ColumnHeaderStyle(1) = Arial_10B
List_Master.ColumnHeaderStyle(2) = Arial_10B
List_Master.ColumnHeaderStyle(3) = Arial_10B
List_Master.ColumnHeaderStyle(4) = Arial_10B