Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to make textArea scrollable in nokia asha sdk1.0
    primarykey
    data
    text
    <p>i am working on nokia asha sdk1.0 .i am using TextArea in my app but my textarea not scrollable.i used following code so how to make it scrollable.</p> <pre><code>Display.init(this); Display.getInstance().setForceFullScreen(true); Form form=new Form(); form.setScrollable(false); form.getUnselectedStyle().setBgColor(10175989); form.setLayout(new BorderLayout()); Container northcon=new Container(); int northcomponentHT=form.getPreferredH()*20/100; northcon.setPreferredH(northcomponentHT); Label northlab=new Label("NORTH"); northcon.addComponent(northlab); form.addComponent(BorderLayout.NORTH,northcon); Container centercon=new Container(); TextArea textarea=new TextArea(); int centercomponentHT=form.getPreferredH()*60/100; textarea.setPreferredH(centercomponentHT); textarea.setPreferredW(form.getPreferredW()); String string=new String("dfjjkfjknfsdfhkfjfjcannot be surpassed by that of watching electric lights. Everyone in Gods creation is special and so are wcannot be surpassed by that of watching electric lights. Everyone in Gods creation is special and so are wcannot be surpassed by that of watching electric lights. Everyone in Gods creation is special and so are wcannot be surpassed by that of watching electric lights. Everyone in Gods creation is special and so are wcannot be surpassed by that of watching electric lights. Everyone in Gods creation is special and so are wcannot be surpassed by that of watching electric lights. Everyone in Gods creation is special and so are wcannot be surpassed by that of watching electric lights. Everyone in Gods creation is special and so are wkfiufjkfjkfjfjkfjierojfkjjiojkldf;jasf;ljsf;jl;dfjas;dflk;lfj;asdfljsdl;fkjierojeiorjoiejkfjoeirjjeoirjoejo;efdfkljoijerjorj"); textarea.setScrollVisible(true); textarea.setText(string); textarea.setEditable(false); textarea.setGrowByContent(true); textarea.setRows(50); //centercon.setScrollable(true); centercon.addComponent(textarea); form.addComponent(BorderLayout.CENTER,centercon); Container southcon=new Container(); int southcomponentHT=form.getPreferredH()*20/100; southcon.setPreferredH(southcomponentHT); Label southlab=new Label("SOUTH"); southcon.addComponent(southlab); form.addComponent(BorderLayout.SOUTH,southcon); form.show(); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload