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

Allen Bradley 1785-L60B/C PLC-5/60 Processor Module W/KEYS 1785L60 B C 1785 L60
$2199.99
Allen Bradley 1785-L60B/C PLC-5/60 Processor Module W/KEYS 1785L60 B C 1785 L60 pictureAllen-Bradley 1775-L3 Main Processor w/ EXTD Instructions
$1999.99
Allen-Bradley 1775-L3 Main Processor w/ EXTD Instructions pictureGE Fanuc IC697CPU771 CPU NEW
$2850.0
GE Fanuc IC697CPU771 CPU NEW pictureToshiba Strata CIX670 BCTU2A V2T Processor W/ 64 Basic, 37 IP EndPoint T6D3C3C9
$595.0
Toshiba Strata CIX670 BCTU2A V2T Processor W/ 64 Basic, 37 IP EndPoint T6D3C3C9 pictureCincinnati Milacron 3-424-1849A Rev E Processor System Rack 34241849A (TSC)
$84.99
Cincinnati Milacron 3-424-1849A Rev E Processor System Rack 34241849A (TSC) picture






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