Print Page | Close Window

sorting items in commabbar combobox

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=16807
Printed Date: 06 October 2024 at 9:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: sorting items in commabbar combobox
Posted By: johnp
Subject: sorting items in commabbar combobox
Date Posted: 08 June 2010 at 1:23pm
I cannot find a property or event that would cause items added to a commandbar combobox to be listed in alphabetic order. I am loading font face names from the system fonts and they are added in an, apparently, random order. I notice that this happens in some of the sample projects too.
 
Am I missing something?



Replies:
Posted By: jpbro
Date Posted: 08 June 2010 at 2:39pm
It does not appear that there is a built-in sort method for the commandbar combobox - couldn't you just sort your list of fonts into an array and then populate the combobox from there?

It might be worthwhile to open a feature request in the support system at https://support.codejock.com - https://support.codejock.com




-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: johnp
Date Posted: 08 June 2010 at 6:43pm
Ok thanks... I was sure that I must be overlooking something. I guess that I will have to come up with a work around as you suggest.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net