Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 10th, 2003, 03:58 AM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Click Event for VBA listbox

I have been programming with VB6 for more that a year.
Now I need to do some work in VBA and I find that the
click event in a list box does not work automatically
like it does in VB6. I suppose I need to use WithEvents,
only problem is I have never used it.
I have tried to figure this one out on my own but I am not
there yet.

I know you use WithEvents in a class module but that is
about all I have found out so far.
Can someone please help me out?

Some example code demonstrating
getting the _click event to work in a listbox in VBA
would go a long way towards helping me to figure out this
fundamental and important keyword.

Thanks for any help! :D



If you don't succeed you run the risk of failure. * Dan Quayle
  #2 (permalink)  
Old June 11th, 2003, 09:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ~Bean~
Default

What Office app are you using?

Get a LIFE???

I'm an Online Gamer...I have MULTIPLE lives!!!


Similar Threads
Thread Thread Starter Forum Replies Last Post
Double-click event Grafixx01 Access 6 May 7th, 2007 08:09 AM
click event code mohiddin52 Access VBA 1 February 14th, 2006 01:52 PM
simulating click event simmohall BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 March 13th, 2005 06:28 PM
Click Event dkr72 C# 3 December 8th, 2004 06:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.