Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor lalitjadiya's Avatar
    Join Date
    Feb 2008
    Posts
    52
    Hi,
    I want to create the single line numeric textbox in S60 3rd edition FP2.I wrote the following code in .RSS file but it is displaying
    multi line text box .Plz suggest me what change i should do i n the code.

    asap

    ///////////////////////////////////////////////////////////////////

    RESOURCE EDWIN r_MinuteMinder1_email_edwin
    {
    width = 0;
    lines = 1;
    maxlength = 2;
    allowed_input_modes = EAknEditorNumericInputMode;
    default_input_mode = EAknEditorNumericInputMode;
    }

    ///////////////////////////////////////////////////////////////

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    I am not sure if "lines" matter in this context (note that if it would matter, "width" would probably also matter, and you would get a 0 pixel wide invisible editor).
    What do you pass to SetSize/SetRect/SetExtent of your editor?

  3. #3
    Regular Contributor lalitjadiya's Avatar
    Join Date
    Feb 2008
    Posts
    52
    Plz give me code for text box that will work for S60 3rd edition...

    Text box with just one line...

    Plz reply ASAP...

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    I do not have one here and now, though you have not really answered how you set the size of the editor. Note that many controls override CCoeControl::MinimumSize, thus you can try getting this from the editor control itself.

Similar Threads

  1. ERROR IN CREATING THEME
    By ssmantri in forum Themes/Carbide.ui
    Replies: 5
    Last Post: 2008-05-29, 20:58
  2. Error while making sis file
    By lalitjadiya in forum Symbian C++
    Replies: 9
    Last Post: 2008-05-20, 17:18
  3. Problem with ensymble_python2.5-0.26.py in linux
    By tansualpcan in forum Python
    Replies: 2
    Last Post: 2008-04-15, 10:12
  4. carbide c++ can't find headers.!!
    By nokia_maniac in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 29
    Last Post: 2007-12-19, 12:54
  5. carbidec++ helloworld project problem
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2007-03-11, 12:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved