×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    There is no SetTextL(...) in CAknTextQueryDialog

    Hi everyone,
    I wonder that there is no SetTextL(...) in CAknTextQueryDialog. Then how can I set a predefined text in the dialog's input box?? Any alternative?

    Thank you.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,697

    Re: There is no SetTextL(...) in CAknTextQueryDialog

    Have you tried putting that predefined text into the descriptor you are passing to CAknTextQueryDialog?

  3. #3
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    Re: There is no SetTextL(...) in CAknTextQueryDialog

    Quote Originally Posted by wizard_hu_ View Post
    Have you tried putting that predefined text into the descriptor you are passing to CAknTextQueryDialog?
    Yes I have tried. I don't know if I have missed something, but I tried. I got setTitleL(...) but there was no setTextL(....). I have to do it from code, not from resource.
    Thank you.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,697

    Re: There is no SetTextL(...) in CAknTextQueryDialog

    I can not interpret your post, if it works or not.
    For me it works, simply copied the resource from http://www.developer.nokia.com/Commu...erying_Strings, and put
    Code:
    		TBuf<30> buf=_L("Hello");
    		CAknTextQueryDialog::NewL(buf)->ExecuteLD(R_ASK_NAME_DIALOG);
    in HandleCommandL. 'Hello' appears properly, at least in the S60 3rd FP1 emulator.
    Last edited by wizard_hu_; 2011-07-20 at 11:16. Reason: [/QUOTE]->[/CODE]...

  5. #5
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    Re: There is no SetTextL(...) in CAknTextQueryDialog

    Great !!!
    Thank you.
    And I am such a fool..

Similar Threads

  1. Replies: 2
    Last Post: 2010-09-06, 15:00
  2. There is no value in buffer during Debugging
    By kush_192 in forum Symbian
    Replies: 5
    Last Post: 2009-04-01, 07:42
  3. There is no property with the name ExtendedKey in [CS3,FL2]
    By viswa08 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2008-09-19, 12:44
  4. Carbide C++ 1.2 - there is no “Symbian MMP file” in the Import dialog
    By iontihi in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2007-05-11, 12:28

Posting Permissions

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