BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-07-2007, 10:52 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Model: 8100
PIN: N/A
Carrier: movistar
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default box

Please Login to Remove!

as I can give the appearance of a box to a editfield ?
Offline  
Old 08-07-2007, 10:46 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Location: Bangladesh
Model: 8800
PIN: N/A
Carrier: EDGE
Posts: 93
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi lete,

Actually, your query is not clear to me. If you do like to draw border outside your edit field, you can do by overriding its paint method.

Code:
public void paint(Graphics graphics) {  
    graphics.drawRect(0,0, getExtent().width, getExtent().height);
    super.paint(graphics);
}

ARIF
Offline  
Old 08-09-2007, 10:13 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Model: 8100
PIN: N/A
Carrier: movistar
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default thank you

hi thank for you response, a need build draw border in the editfield only write space.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.