×

Discussion Board

Results 1 to 3 of 3

Thread: Question

  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    55

    Question

    Hi

    I have the following code. What is returned if I press the Cancel key?

    Code:
    data = appuifw.query"(u"Number", "number")
    Regards

    Patrick

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Question

    data will be of type None if you press Cancel.

  3. #3
    Super Contributor
    Join Date
    Feb 2008
    Location
    Belo Horizonte, Brazil
    Posts
    744

    Re: Question

    Quote Originally Posted by patlucas View Post
    Hi

    I have the following code. What is returned if I press the Cancel key?

    Code:
    data = appuifw.query"(u"Number", "number")
    Regards

    Patrick
    Hi Patrick,

    As Bogdan said, it will return None. For example:

    Code:
    data = appuifw.query"(u"Number", "number")
    
    if data is None:
        # user pressed Cancel key
    Next time, please try to be more specific with the thread title




    BR,

    Rafael.

Similar Threads

  1. Annoying question when dialing by bluetooth
    By tejohf in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-09-04, 19:56
  2. Newbie question: What is the call stack?
    By advocatee in forum Symbian
    Replies: 2
    Last Post: 2003-06-22, 05:27
  3. Replies: 1
    Last Post: 2003-04-14, 03:14
  4. Replies: 0
    Last Post: 2003-04-07, 09:52
  5. question deleted
    By kiokups in forum General Messaging
    Replies: 1
    Last Post: 2002-09-25, 20:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •