Print Page | Close Window

Problem with Combo ListIndex

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=7170
Printed Date: 06 November 2025 at 7:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with Combo ListIndex
Posted By: OscarM
Subject: Problem with Combo ListIndex
Date Posted: 17 May 2007 at 2:43pm
I have a problem with ListIndex of commandbars combo

If focus is on an commandbars edit and press a key combination, listindex does not work. See attached sample
uploads/20070517_144323_refreshcombo.zip - uploads/20070517_144323_refreshcombo.zip



Replies:
Posted By: Oleg
Date Posted: 18 May 2007 at 6:01am
Hi
yes, its designed. If user in edit mode listindex will not work.
 
You can move focus away before call it:
 
    Me.SetFocus
    pCombo.ListIndex = vId


-------------
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