×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    52

    [moved] S60 3rd edition EEikCtNumberEditor

    I want to build number editor using "EEikCtNumberEditor"

    We have its resource as NUMBER_EDITOR
    which parameters should we pass to this resource


    Reply asap

  2. #2
    Super Contributor
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: S60 3rd edition EEikCtNumberEditor

    see sdk "Editor" Example
    "\S60_2nd_FP3\Series60Ex\editor"
    Regards
    $-Nitesh-$

  3. #3
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    52

    Re: [moved] S60 3rd edition EEikCtNumberEditor

    We have checked all the examples in S60Ex directory but we couldn't find the solution.
    Plz tell me the parameters that should be pass to the NUMBER_EDITOR resource

    plz asap

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: [moved] S60 3rd edition EEikCtNumberEditor

    From eikon.rh

    Code:
    ...
    //
    // STRUCTs for the different types of mfne
    //
    
    STRUCT NUMBER_EDITOR
    	{
    	LONG min;
    	LONG max;
    	}
    ...
    So, you need only two parameters and considering the type of the editor I do not think that those two parameters need to much explanation. They are the minimum and maximum values accepted by the editor.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  5. #5
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    52

    Re: [moved] S60 3rd edition EEikCtNumberEditor

    I am using following code in .rss file to get single line text box in my S60 3rd Edition.

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

    RESOURCE AVKON_SETTING_PAGE r_MinuteBeep_sec_to_min_setting_page
    {
    label = rls_sec_to_min_item_title;
    type = EEikCtEdwin;


    editor_resource_id = r_MinuteBeep_sec_to_min_edwin;

    }

    RESOURCE EDWIN r_MinuteBeep_sec_to_min_edwin
    {
    width = TEXT_SETTING_PAGE_WIDTH;
    lines = TEXT_SETTING_PAGE_LINES;
    maxlength = TEXT_SETTING_PAGE_MAXLENGTH30;
    allowed_input_modes = EAknEditorNumericInputMode;
    default_input_mode = EAknEditorNumericInputMode;
    }

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

    Above code is not displaying single line text box instead it is displaying multiline textbox.I have taken the screen shot of actual output and expected output and uploaded it on the link
    http://getallvideos.blogspot.com/

    Plz. help me what changes i should make to get single line text box.

    Dont tell me to Follow sample examples in S60Ex Directory.I have already gone through that directory.

    Reply asap

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: [moved] S60 3rd edition EEikCtNumberEditor

    Quote Originally Posted by lalitjadiya View Post
    Dont tell me to Follow sample examples in S60Ex Directory.I have already gone through that directory.

    Reply asap
    But if I'll tell you that his later topic is already discussed here?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    52

    Re: [moved] S60 3rd edition EEikCtNumberEditor

    I am not getting anything from that link.Can you help to solve the problem

Similar Threads

  1. S60 3rd Edition & OMA DRM
    By bfamler in forum Digital Rights Management & Content Downloading
    Replies: 13
    Last Post: 2009-04-13, 14:05
  2. Replies: 7
    Last Post: 2007-11-30, 14:49
  3. S60 3rd edition signing process
    By fightersoft in forum Symbian
    Replies: 11
    Last Post: 2007-05-03, 08:18
  4. Carbide c++ and S60 3rd Edition Feature Pack 1 Working
    By jimgilmour1 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-10-18, 20:39
  5. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29

Posting Permissions

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