Is it possible to change the listview font using code blocks?

Is it possible to change the listview font with code blocks? I don't think Myfont.aix works in listview.

I'm afraid not. You can only modify it from the Designer.

You can create your own ListView with CompCreator and change the font of the labels used (setting the property "FontTypeface"). You have several examples here to make your own ListView:

METRIC RAT AI2 - ListViews with CompCreator