This site has been destroyed by Google forced upgrade to new way of WEB site.
All files links are not working. Many images has been lost in conversation.
Have to edit 190 pages manually. Will try to do ASAP but for this I need time ...
THANK YOU GOOGLE !

Monday, February 13, 2012

Tool tip in Apex

The Problem

This topic one is very short but I use it for many times in Apex development. This approach cover how to add tool tip for items in Apex from releases 4 and later.

The Solution

  1. Add some control (edit field in this case) P10_NAME
  2. set HTML Form Element Attributes:
    onmouseover="toolTip_enable(event,this,'Place here tool tip text ...')"
In case the field already has applied a style value:
e.g.
P10_NAME: style="color:yellow;background-color:blue;"
then define the tooltip by appending the code after existing style entry (as shown below):
style="color:yellow;background-color:blue;" onmouseover="toolTip_enable(event,this,'Place here tool tip text ...')";

Hope this helps someone ...

Cheers!

5 comments :

  1. It helped me thanks Damir Vadas

    ReplyDelete
  2. Instead of tool tip text hardcoding can this accept #COLUMN# (database value) in interactive report

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Why I got error: Uncaught ReferenceError: toolTip_enable is not defined

      Delete

Zagreb u srcu!

Copyright © 2009-2018 Damir Vadas

All rights reserved.


Sign by Danasoft - Get Your Sign