Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Display a grafic (.gif) in a Maintain Grid Cell

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Display a grafic (.gif) in a Maintain Grid Cell
 Login/Join
 
Gold member
posted
I now display customer activity in a Maintain (MRE) grid. If there is a scanned document for the activity, I display a "#" character in the column and the user can click on that cell to see the document. Is there a way to display a tiny .gif in the cell instead of the '#' just so it looks better.

I also have a .fex that displays the same information in a HTML Layout. Is it possible to display the .gif instead of the "#" in the HTML report.

Thanks, Kent


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
Platinum Member
posted Hide Post
Kent,

I haven't tried this before, but I suppose that you could Compute the contents of the stack that ends up on the grid (or HTML table) to be the HTML code that displays your .gif. (< IMG...) not sure if you'll have to code the link too, or if this might interfere with the Maintain page code, but it's worth a try !


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server
 
Posts: 165 | Location: Detroit Metro | Registered: September 17, 2003Report This Post
Master
posted Hide Post
Hi Kent
The answer to this is a kind of good news / bad news. While you CAN place an image in an a grid cell, its path has to be hard coded to a physical location on the drive. I could never get this to work unless it was coded as it is here.

index = Form1.Grid1.AddBitmap("c:/ibi/apps/gridimage/camp4.bmp");
//index = Form1.Grid1.AddBitmap("http://localhost:8080/approot/gridimage/camp4.bmp");
Form1.Grid1.GetCell(1,1);
Form1.Grid1.SetColWidth(1, 300);
Form1.Grid1.SetRowHeight(1, 300);
Form1.Grid1.CellSetBitmap(index);
Form1.Grid1.SetCell(1,1);
Form1.Grid1.RedrawAll();

If there is anyway you could use an HTMLTable instead of a grid, there is no issue. Also, since you only want to display an icon, and not an actual image, maybe this will work for you.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Display a grafic (.gif) in a Maintain Grid Cell

Copyright © 1996-2020 Information Builders