Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » VB - MSHFlexgrid clicking specific Columns
Closed Thread
Old 05-09-2005, 03:54 PM   #1 (permalink)
 
Newb Techie

Join Date: Mar 2004

Posts: 36

DKasler

Send a message via AIM to DKasler Send a message via Yahoo to DKasler
Default VB - MSHFlexgrid clicking specific Columns

Ok... Here is what I am trying to do...

I have a MSHFlexgrid which contains / displays records of suppliers our offices buys from. One of the fields is a website url.

So I came up with a loop to find all of the entries that contain a web URL and made it add and a CellPicture of a "WEB" icon to column 0. I then came up with code that when the line is double clicked it launched that url in the default web browser...

Now here comes my problem... double clicking on a specific row was also where i had the record edit feature. So I tried to make it that if you clicked in Column 0 on any row it would launch the website, and if you clicked any other column in the row then it would edit the record... But I couldnt get it to work.

Any suggestions?
DKasler is offline  
Old 05-09-2005, 04:46 PM   #2 (permalink)
 
Newb Techie

Join Date: Mar 2004

Posts: 36

DKasler

Send a message via AIM to DKasler Send a message via Yahoo to DKasler
Default

Nevermind... I figured it out...

I just used the "MouseCol" property for the MSHFlexgrid.
DKasler is offline  
 
Closed Thread

Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On