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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

OEM Genuine IBM POS Display with POLE PN 41K6814
$19.99
OEM Genuine IBM POS Display with POLE PN 41K6814   pictureIBM #4 Y Cable Genuine OEM Long POS Cash Register 4A to 4B 10N1002 J96367
$24.99
IBM #4 Y Cable Genuine OEM Long POS Cash Register 4A to 4B 10N1002 J96367 pictureOEM IBM SurePOS 700 4800-743/783 250W Power Supply DPS-250AB-45A 46N1999 46N1998
$35.0
OEM IBM SurePOS 700 4800-743/783 250W Power Supply DPS-250AB-45A 46N1999 46N1998 pictureLot Of 9 IBM / Lexmark 1136433 OEM Lift-off Tape / Ribbon, NIB
$12.99
Lot Of 9 IBM / Lexmark 1136433 OEM Lift-off Tape / Ribbon, NIB pictureIBM SELECTRIC TYPEWRITER PART OEM TAB SPRING and PINION SET ORIGINAL NOS
$9.99
IBM SELECTRIC TYPEWRITER PART OEM TAB SPRING and PINION SET ORIGINAL NOS picture






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