Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 05-09-2005, 02:54 PM   #1 (permalink)
Newb Techie
 
Join Date: Mar 2004
Posts: 36
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   Reply With Quote
Old 05-09-2005, 03:46 PM   #2 (permalink)
Newb Techie
 
Join Date: Mar 2004
Posts: 36
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   Reply With Quote
Reply

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



All times are GMT -5. The time now is 07:45 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0