PDA

View Full Version : How to change Tooltip design


sipra
04-24-2009, 08:15 AM
Hi All,

I have a datagrid with 10 columns.In one column name company name.In column i show the number like 2.and in tooltip want to show the company name,suppose CompanyA,CompanyB.Buy in tooltip i want see the company name in below format:
CompanyA
CompanyB

I want the <br> after each company name.
Presently I am showing CompanyA,CompanyB.

Please help me if anyone know.

Thanks in advance.

charlesshoults
07-07-2009, 03:36 PM
In my project, I found it easiest to fake the tooltip. I have a dataGrid that acts as an Instant Messenger contact list. It displays a small picture, the name, online status plus a few icons that allow for invites and email distribution. I needed a tooltip that could give a larger picture, their full name, join date, rank, etc. I created a small canvas and arranged the information as I wanted it to appear and set the colors as close as I could to what a normal tooltip looked like then added listeners to show the canvas and move it to a position relative to the mouse cursor and to hide the canvas on mouseout.

Peter Cowling
07-08-2009, 08:56 PM
The answer to the opening question is that the best approach is to create an actionscript skin, and then usually reference that in a css file.