Controlling Columns in MultiColumnListBox through xml

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Sachin
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 06, 2005 09:42

Controlling Columns in MultiColumnListBox through xml

Postby Sachin » Mon Nov 28, 2005 11:03

Hello

is there any way to add columns in a MultiColumnListBox through the xml file?

Or Is there any property in the MultiColumnListBox class that can control the number of columns in it.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Controlling Columns in MultiColumnListBox through xml

Postby CrazyEddie » Mon Nov 28, 2005 11:16

You need a fairly recent version of CEGUI (0.4.0 or above IIRC).

The property is "ColumnHeader"

You can specify it multiple times in XML to add columns.

User avatar
Sachin
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 06, 2005 09:42

Re: Controlling Columns in MultiColumnListBox through xml

Postby Sachin » Tue Nov 29, 2005 11:29

how about adding rows to multi column list through xml
?

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Re: Controlling Columns in MultiColumnListBox through xml

Postby martignasse » Tue Nov 29, 2005 11:53

how about adding rows to multi column list through xml ?
i think it's not available until the 0.5 version, where the list items will be revamped to use widgets content.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 3 guests