开发者

Is it possible to hava an alternately colored listbox in Visual Basic 6

I am trying to code the listbox in such a way that all list items are alternately 开发者_如何学Pythoncoloured. But I realised that there is no property for this. Please help me in this. Thanks in advance.


You need owner-drawn ListBoxes and subclassing. If you hunt around you can find a number of projects that have done the work for you already.


i don't think you can color the items but you can change the font color and background color and you can always make your own custom control

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜