Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Change Focus in Combobox' DropDown event?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Focus in Combobox' DropDown event?

 Post Reply Post Reply
Author
Message
mjohn View Drop Down
Groupie
Groupie


Joined: 24 January 2011
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote mjohn Quote  Post ReplyReply Direct Link To This Post Topic: Change Focus in Combobox' DropDown event?
    Posted: 30 May 2011 at 12:40am
Hi.
 I want change the focus in ComboBox_DropDown event, but can't,  How to do it?

////////////////////
Private Sub ComboBox_DropDown()
    Dim frm As form1
    
    Set frm = New form1
    With frm
       .Show vbModeless
.SetFocus
    End With
End Sub
///////////////////

Above code can't make the frm get the focus.
 
Thanks!
 
Product: Xtreme Toolkit Version 15.0.1
Platform: Windows 7 pro
Language: VB6 SP6
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.188 seconds.