p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Pro VB 6 (http://p2p.wrox.com/forumdisplay.php?f=73)
-   -   Open Form from MSHFlexGrid DoubleClick (http://p2p.wrox.com/showthread.php?t=18000)

neo_jakey September 6th, 2004 10:28 AM

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

madhukp September 6th, 2004 11:27 PM

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.

neo_jakey September 7th, 2004 10:17 AM

Madhu,

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

Tahnks a lot,
Paul


All times are GMT -4. The time now is 08:45 PM.

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