Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro 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
 
Old September 6th, 2004, 10:28 AM
Authorized User
 
Join Date: Jun 2003
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Open Form from MSHFlexGrid DoubleClick

Hello All,

I have constructed a MSHFlexGrid which is populated from a Access Database. What I want to be able to do is doubleclick on a specific user within the FlexGrid and it will open a form filled with the user, and his/her further details.

Any assistance would be greatly appreciated

Many thanks,

Paul
 
Old September 6th, 2004, 11:27 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

Are you using VB 6.0 ?

In vb 6.0, I am doing it in the following way.

I will include one column of width 10 and put the primary key of the record in that column. This column won't be noticed since its width is very small.

Then on double clicking, I can pass this value to a subroutine.

Childish method. But simple.

Madhu.
 
Old September 7th, 2004, 10:17 AM
Authorized User
 
Join Date: Jun 2003
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Madhu,

Interesting method, could you shine some light on the coding as I am quite new to Visual Basic

Tahnks a lot,
Paul





Similar Threads
Thread Thread Starter Forum Replies Last Post
Close all MdiChield form from open one form/Button salman .NET Framework 2.0 6 December 10th, 2007 03:21 AM
Open Form, run query, open form Grafixx01 Access 7 April 26th, 2007 11:32 AM
Cells doubleclick mushu Excel VBA 6 September 29th, 2004 02:52 AM
Open Form from MSHFlexGrid DoubleClick neo_jakey Pro VB Databases 1 September 8th, 2004 05:18 AM
SELECT Doubleclick kilika Classic ASP Basics 1 October 3rd, 2003 04:11 AM





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