You Are Here:

Community: Developer Discussion Boards

#1 Old Multiline textbox? - 2008-08-23, 08:45

Join Date: May 2008
Posts: 20
Stam112
Offline
Registered User
How can i create a multiline textbox the same as the textbox thats when writing new sms? and now can i put a limitation of characters to the textbox?
Thenks.
Reply With Quote

#2 Old Re: Multiline textbox? - 2008-08-23, 08:52

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
Quote:
Originally Posted by Stam112 View Post
How can i create a multiline textbox the same as the textbox thats when writing new sms? and now can i put a limitation of characters to the textbox?
Thenks.
hi stam112
as far as i know we cant create textbox in Python for S60. Instead you can open a new text file and save it.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#3 Old Re: Multiline textbox? - 2008-08-23, 10:41

Join Date: Nov 2006
Posts: 186
Location: Pune, india
sagars's Avatar
sagars
Offline
Regular Contributor
Quote:
Originally Posted by Stam112 View Post
How can i create a multiline textbox the same as the textbox thats when writing new sms? and now can i put a limitation of characters to the textbox?
Thenks.
Code:
import appuifw

def query_text():
    # create a single-field dialog (text input field):  
    appuifw.query(label, type)
    data = appuifw.query(u"Type a word:", "text")
    print data

query_text()
you can use above code,text input field for getting input afterwards u can do anything with received input such as, writting it to a file,sending this file to another pc or mobile with bluetooth etc.

there is limitation for this input (about 82 letters approximately.)
Reply With Quote

#4 Old Re: Multiline textbox? - 2008-08-23, 12:16

Join Date: May 2008
Posts: 20
Stam112
Offline
Registered User
Quote:
Originally Posted by sagars View Post
Code:
import appuifw

def query_text():
    # create a single-field dialog (text input field):  
    appuifw.query(label, type)
    data = appuifw.query(u"Type a word:", "text")
    print data

query_text()
you can use above code,text input field for getting input afterwards u can do anything with received input such as, writting it to a file,sending this file to another pc or mobile with bluetooth etc.

there is limitation for this input (about 82 letters approximately.)
thanks but its not what i need.
I want to create a form that looks like the sms sending form, for this i need a muliline text field as i said.
Im writing application that sends sms thru the web so i need to create a form that looks similar to the built in sms sending form.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
how to display log on TextBox...? smart_aju2007 Mobile Java General 1 2007-01-31 06:41
Multiline Query in 3rd edition sdk parag_purkar Symbian User Interface 1 2006-09-26 04:54
Left Sofkey during textbox entry wrlannen Mobile Java General 0 2006-06-08 21:55
Command Button on TextBox Issue in 6230i/3510i manasmchex Other Programming Discussion 关于其他编程技术的讨论 3 2006-02-03 18:13
6600 - line break in TextBox wiertek Mobile Java General 0 2004-12-23 10:39

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ