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!

No comments :

Post a Comment

Zagreb u srcu!

Copyright © 2009-2014 Damir Vadas

All rights reserved.


Sign by Danasoft - Get Your Sign