` Links in tables: Skeleton (Michael Boston ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Links in tables: Skeleton
2000-05-13 -- Michael Boston
 
I have successfully generated a (C5.5B1) web page browse list (HTML) table in which one of the columns is a web link (to retrieve gif's from a server virtual directory). The List Queue has the names of the gif files, in this case obtained by the Directory command, in that column. They could just as well be Web Pages. All that is required is: 1) I named the subject column header "Graphic Link" in the List box formatter. 2) I added a property called "source" to the List box in the Internet controls Properties-Properties TAB and set it: source = CLIP(GServerAddress) & CLIP(GWorkingDirectory)&'/graphic/' where the result is http://nnn.nnn.nnn.nnn/virdir1/graphic/. 3) A small mod to the table.htm skeleton which looks for a column header called "Graphic Link" and, when found, creates an Anchor Tag to place the CELLTEXT into, conveniently using the values in source, which are under programmer control. The Property does NOT get the HTML tag operators such as < changed as the CELLTEXT does. OK here it is I'll post the few lines in table.htm containing my mods. It should be easy to locate. You can get as fancy as you like ----> Open a new target window and size it etc... If you do not open a new window then a click on the back arrow will bounce you back to your browse list with your application none the wiser... My changes are highlighted.


Today is November 21, 2024, 3:43 am
This article has been viewed 35200 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: