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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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