[Solved] Combobox setSortingEnabled

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

Dirso
Not too shy to talk
Not too shy to talk
Posts: 25
Joined: Sun Dec 31, 2006 15:49

[Solved] Combobox setSortingEnabled

Postby Dirso » Sat May 05, 2007 02:58

Hi,

Is there anyway to change the sortingenabled using only the xml? I tried this code but it didn't work:

Code: Select all

         <Window Type="TaharezLook/Combobox" Name="MainMenu/Avatar/CbAvatar">
            <Property Name="UnifiedPosition" Value="{{0.1,0},{0.3,0}}" />
            <Property Name="UnifiedMaxSize" Value="{{0.2,0},{0.25,0}}" />
            <Property Name="UnifiedMinSize" Value="{{0.2,0},{0.25,0}}" />
            <Property Name="UnifiedSize" Value="{{0.2,0},{0.25,0}}" />
            <Property Name="InheritsAlpha" Value="False" />
            <Property Name="ReadOnly" Value="True" />
            <Property Name="SortEnabled" Value="True" />
            <Property Name="ClippedByParent" Value="False" />
         </Window>


Is there any place I can get a full list of properties with descriptions?

Thanks,
Dirso
Last edited by Dirso on Sat May 05, 2007 13:13, edited 1 time in total.

User avatar
Levia
Quite a regular
Quite a regular
Posts: 83
Joined: Mon May 22, 2006 18:25
Location: Bergen op zoom, The Netherlands
Contact:

Postby Levia » Sat May 05, 2007 07:51

Yes there is!
http://www.cegui.org.uk/wiki/index.php/SetProperty

And the property you want is 'SortList'. Set it to true and your set.
Image
Image

Dirso
Not too shy to talk
Not too shy to talk
Posts: 25
Joined: Sun Dec 31, 2006 15:49

Postby Dirso » Sat May 05, 2007 13:12

It worked! Thanks for the link too! It's amazing!

Dirso


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 5 guests