LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

hyperlink in table cell ?

Solved!
Go to solution

Hi All,

 

We require to navigate to a path for each row in  the table control. Is it possible to have a hyperlink in a table cell for each row? or do I use button cell to do the same ?

 

Regards,

Kanu

0 Kudos
Message 1 of 5
(3,422 Views)

Hi again,

 

instead of a button you could also use a regular string or text message control. In the callback routine you can then launch a Web browser. It might also be of interest to have a look at the toolslib functions, e.g. userint\custctrl\hyperlinkctrl\simple.cws

0 Kudos
Message 2 of 5
(3,419 Views)

Hi Wolfgang,

 

Thanks for your reply. I understand that a text message control can be made a hyperlink as per simple.cws example. However, I don't know how to do the make a string cell of a table a hyperlink. Even though, I set the cell attribute as VAL_CELL_STRING, how do I make it a hypelink ?

 

Regards,

Kanu

0 Kudos
Message 3 of 5
(3,417 Views)
Solution
Accepted by topic author Kanu

The answer is, you can't. However, the hyperlink custom control is open-source. You can find the source in toolslib\custctrl\hyperlinkctrl.c. It's a fairly simple code module, so it wouldn't be all that hard to modify that code so that it could operate in a table cell, rather than a text message control.

 

Luis

0 Kudos
Message 4 of 5
(3,394 Views)

Thanks Luis. I appreciate your help.

 

Regards,

Kanu

0 Kudos
Message 5 of 5
(3,390 Views)