View Single Post
Old 11-14-2008, 11:10 AM   #4 (permalink)
gsk_56
New Member
 
Join Date: Nov 2008
Model: 8010T
PIN: N/A
Carrier: Blackberry 8010
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Dougsg38p,

Thanks alot for your reply.

As per you exactly i structed at extending the size of the tooltip because i am overriding drawFocus(). As per your suggestion i will going to override paint() of MainScreen for displaying large tooltips. FYI i am using below drawFocus() now.

protected void drawFocus(Graphics graphics, boolean on)
{
XYRect xy = graphics.getClippingRect();
graphics.setColor(Color.BLACK);
graphics.drawRect(5,15,xy.width+10+2,xy.height-15+2);
graphics.setColor(Color.SILVER);
graphics.fillRect(5,15,xy.width+10,xy.height-15);
graphics.setColor(Color.BLACK);
graphics.drawText("news profiles", 5, 15);
}
Offline   Reply With Quote