Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Problem with Combo ListIndex
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with Combo ListIndex

 Post Reply Post Reply
Author
Message
OscarM View Drop Down
Groupie
Groupie
Avatar

Joined: 07 November 2005
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote OscarM Quote  Post ReplyReply Direct Link To This Post Topic: Problem with Combo ListIndex
    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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.