Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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
 
Old August 14th, 2005, 06:42 AM
Authorized User
 
Join Date: Jul 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default dblclick event with listbox

hello there,

i have been trying to make use of the dblclick event in a listbox to additem into another listbox.

do i make use of itemsselected property?

thank you

Astro

 
Old August 14th, 2005, 02:51 PM
Authorized User
 
Join Date: Feb 2005
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default

not sure, but try this in the dblclick event routine:

form1.list2.additem form1.list1.list(form1.list1.listindex)





Similar Threads
Thread Thread Starter Forum Replies Last Post
'onclick' and 'dblclick' both client side event in myself.panku ASP.NET 2.0 Professional 1 June 2nd, 2008 12:40 PM
Listbox selectedindexchanged event venterjo General .NET 6 December 9th, 2004 08:46 AM
access listbox in onchange event ozcyberus1 JSP Basics 0 September 6th, 2004 05:34 PM
listbox event SelectedIndexChanged alyeng2000 ASP.NET 1.0 and 1.1 Basics 2 December 22nd, 2003 10:50 PM
Click Event for VBA listbox Blade Beginning VB 6 1 June 11th, 2003 09:17 AM





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