About Listbox & ItemListbox
Posted: Wed Sep 09, 2009 21:53
Hey there, i've just stumbled over Listbox & ItemListbox in my search for the appropriate class to build a chat box.
I've read some post and the GameChatBox article. And im not quite sure what to use.. hopefully you could point me in one direction.
Heres what i want to achive:
So [Icon] have to be an actual image within the size of 32x32 or 16x16 (not decided as of now), [Name] is a String identifier and [Text] is obviously the chat message but should support word-wrapping. Both text components should be able to change their fonts/color.
So as far is i have read the articles right, i'm able to extend a listbox entry to actually contain other controls. Thus i would use the StaticImage for the Icon, StaticText for Name and the Text.
But the question remains, with what Listbox do i meet all the criteria, if any?
Thanks in advance!
Mfg Imp
I've read some post and the GameChatBox article. And im not quite sure what to use.. hopefully you could point me in one direction.
Heres what i want to achive:
Code: Select all
[Icon][Name][Text]
[Icon][Name][Text]
etc..
So [Icon] have to be an actual image within the size of 32x32 or 16x16 (not decided as of now), [Name] is a String identifier and [Text] is obviously the chat message but should support word-wrapping. Both text components should be able to change their fonts/color.
So as far is i have read the articles right, i'm able to extend a listbox entry to actually contain other controls. Thus i would use the StaticImage for the Icon, StaticText for Name and the Text.
But the question remains, with what Listbox do i meet all the criteria, if any?
Thanks in advance!
Mfg Imp