Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
  #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!!!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:27 AM.


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