Syntax for changing text properties in a ListView
-
13-03-2021 - |
문제
I have about 25 entries in a ListView by using:
ListView1.AddTwoLinesAndBitmap2("Entry Title","Entry Description",Bitmap1,1)
I'm looking to change the text size and color of the Entry Title and Entry Description. I tried setting properties as if it were a single line but had no luck. I'm not sure how to reference the first line and second individually.
해결책 2
Solved this by using TwoLinesAndBitmap instead of TwoLinesAndBitmap2... does TwoLinesAndBitmap2
다른 팁
To modify the title appearance you should change:
Dim lv As ListView
lv.TwoLinesAndBitmap.Label.TextSize = 15
It doesn't matter if you use AddTwoLinesAndBitmap or AddTwoLinesAndBitmap2.
제휴하지 않습니다 StackOverflow