Jump to content
IElite

How to hide scrollbars on TW3Memo?

Recommended Posts

How to hide scrollbars on TW3Memo?

 

Or, how do I display large amounts of text with word wrap, like in the memo?

 

 

code
 
 
 
test
 
 
test in mobile 
 
 
just select the device and orientation (rotation)
 
 
What I am trying to achieve is display a large amount of text (wordwrapped) and have it display - no matter the device and orientation - and be able to scroll through the text that isn't visible on the display.  Preferably with no scrollbars as is shown with the memo control.
 
Maybe I need to display the text in a div element instead?

Share this post


Link to post
Share on other sites

I think the best way is using the <p> tag. 

Based on your example, writing HTML by hand, I have this

 

I would create a custom component based on this template.

  <div class="pc">
    <div class="cb">
	  <h2 class="center darkbgblock">PreZidents</h2>
	  <div class="center"><p>1 - George Washington</p><p>1789-1797</p></div>
      <div class="r">
        <div class="col-33"></div>
        <div class="col-33"><img src="res/1.jpg" class="col-100" /></div>
        <div class="col-33"></div>
      </div>
      <p class="big"></p>
    </div>
  </div>	

Share this post


Link to post
Share on other sites

OK,

 

So the custom component would require a few public properties

 

Name: String;  / / presidents name

Dates: String;  //dates in office

Description: String; //bio

Image: String   //image url from resources

 

 

I have never written a custom component for SMS using HTML.  Is there an example somewhere how to do this?

 

thanx

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...