>Hi All
>
>How can I make the contents of a grid column a hyperlink. And only do so if the cell is not empty. I want to show the cell content and allow the user to click it to load the relevant web page.
>
>Thanks.
Hi Jos
What I do is I set the property of the
Grid.Column.TxtBox.EnableHyperlinks = .T.
Then I set the Column.Sparse = .F.
This way if VFP recognises a hyperlink -
www.MyWebSite.com or
http://www.levelextreme.com/index.htmlthen the underline appears automatically and when you press CTRL the hand appears and if you then click, IE opens with that page.
This way I can get Hyperlinks in my grid without a
single line of extra code.
Bernard