Print Page | Close Window

Select combobox item in commandbar?

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=14065
Printed Date: 16 June 2025 at 3:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Select combobox item in commandbar?
Posted By: rdeboer
Subject: Select combobox item in commandbar?
Date Posted: 18 April 2009 at 10:06am
I load a CommandBar with a XCB file, and try to select an item in a combobox list:
 
CommandBars.Item(2).Controls.Item(8).Text = "All"
 
But this doesn't work. How to select item xxx in a combobox?
 
VB has a Item property, but that doesn't seem to work either.
 
Anyone?
 



Replies:
Posted By: Oleg
Date Posted: 20 April 2009 at 2:28am
Hi,
 
try ListIndex property instead.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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