You Are Here:

Community: Developer Discussion Boards

#1 Old Getting values for logical (True/False) variables - 2006-02-21, 20:52

Join Date: Jan 2006
Posts: 67
slitchfield
Offline
Regular Contributor
In my app, I've got several logical variables, which the user need to choose values for (e.g. Sound on/off). There's a kludgy way of asking for these, one at a time, using appuifw.query, but it's not ideal because the user has to go through several consecutive questions and also because the answers are always 'OK' or 'Cancel' rather than 'Yes'/'No', 'On'/'Off', etc.

Jurgen's got a simple form-based solution (http://www.mobilenin.com/pys60/resources/form.py), but this is structured such that there's only a few characters in a small font for each field's title.

There must be a better, more official way to simply ask for one of these variables - what am I missing?

Thanks
Steve Litchfield
Reply With Quote

#2 Old Re: Getting values for logical (True/False) variables - 2006-02-21, 21:09

Join Date: Dec 2004
Posts: 646
jplauril's Avatar
jplauril
Offline
Forum Nokia Expert
You could use a Form with 'combo' type fields. Using the flag FFormDoubleSpaced will give you more space for the field titles. See pages 18-19 in PyS60 Library Reference 1.3.1.
Reply With Quote

#3 Old Re: Getting values for logical (True/False) variables - 2006-02-21, 23:31

Join Date: Jan 2006
Posts: 67
slitchfield
Offline
Regular Contributor
Thanks, that worked fine! I'm working on a major update to Musician, with user definable settings and extra functions. Should have something by the end of the week, hacking away at this in odd moments 8-)

Steve
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
N6630, corrupt method local variables. henqvist Mobile Java General 0 2005-03-07 15:57
Problem with environment variables? aroon04 Symbian Tools & SDKs 1 2004-12-10 13:39
Retrieval of handset specific variables yoalat General Symbian C++ 0 2004-08-02 23:40
Adding An Array Of Values To RMS maaberge Mobile Java General 2 2004-02-25 19:27
Set variables on first visit Nokia_Archive Browsing and Mark-ups 2 2002-05-14 21:50

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