BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-14-2007, 10:33 AM   #1
rock_win
Knows Where the Search Button Is
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: cingular
Posts: 33
Default Loosing Screen Area

Please Login to Remove!

Hi

I have 2 class that extends Manager, 1. MainFrame 2.SubFrame

they both lay fields, and mainFrame also lays subFrame
i have added 3 subframes to a mainframe
their attributes are:
subFrame-01: x-0,y-0,width-240,height-50
subFrame-02: x-0,y-50,width-240,height-40
subFrame-03: x-0,y-90,width-240,height-50
and they both do setExtent(240,260) in their sublayout method

but my subFrame-03 is getting truncated , whereas i'm only drawing 170 pixels
and my screen height way higher than it.


i would also like know that happening by these 2 setExtent methods in different classes extending managers
Offline  
Old 08-14-2007, 10:46 AM   #2
rock_win
Knows Where the Search Button Is
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: cingular
Posts: 33
Default

I have noticed something.. that my things are getting disappeared.

and its just simple fillRects
Code:
 subFrame01.add(new CustomRectField(0,20,240,20,0xFF00FF00));
    mainFrame.add(subFrame01);   
    subFrame02=new SubFrame(0,50,240,40);
subFrame02.add(new CustomRectField(0,0,240,20,0xFF0000FF));
    mainFrame.add(subFrame02);
currently the green rectangle , is not visible on screen, but as soon as i shift it to 0 ,it appears
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


500pc Radial Electrolytic Capacitor Assortment Kit 24 Value 0.1uF-1000uF 10V-50V picture

500pc Radial Electrolytic Capacitor Assortment Kit 24 Value 0.1uF-1000uF 10V-50V

$11.99



High Frequency LOW ESR Radial Electrolytic Capacitor Various Value/Voltages 105C picture

High Frequency LOW ESR Radial Electrolytic Capacitor Various Value/Voltages 105C

$102.00



5pcs Radial Electrolytic Capacitor 50V 25V 16V 0.22uF-470uF Choose From 26 Value picture

5pcs Radial Electrolytic Capacitor 50V 25V 16V 0.22uF-470uF Choose From 26 Value

$9.99



ERO 1uF Capacitor - 250 VAC - Radial Metalized Polyester Capacitors - 1uF - 250V picture

ERO 1uF Capacitor - 250 VAC - Radial Metalized Polyester Capacitors - 1uF - 250V

$5.95



50V 10uF 22uF 33uF 1000uF 2200uF 3300uF 4700uF 6800uF MFD Electrolytic Capacitor picture

50V 10uF 22uF 33uF 1000uF 2200uF 3300uF 4700uF 6800uF MFD Electrolytic Capacitor

$6.99



500PCS Electrolytic Capacitor Assortment Kit Set Box 0.1UF-1000UF 24 Values picture

500PCS Electrolytic Capacitor Assortment Kit Set Box 0.1UF-1000UF 24 Values

$24.99







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