×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    69

    Forms as a dialog and option menu

    Hi
    I want to create a Form as a dialog in s60 3-rd edition .for this I write a code like below
    RESOURCE DIALOG r_aknexform_text_field_dialog
    {
    flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
    EEikDialogFlagNoTitleBar | EEikDialogFlagNoBorder |
    EEikDialogFlagCbaButtons;
    buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    form = r_aknexform_text_field_form;
    }
    RESOURCE FORM r_aknexform_text_field_form
    {
    items =
    {
    DLG_LINE
    {
    type = EEikCtEdwin;
    prompt = "number1";
    id = EAknExFormDlgCtrlIdEdwin01;
    itemflags = EEikDlgItemTakesEnterKey |
    EEikDlgItemOfferAllHotKeys;
    control = EDWIN
    {
    flags = EEikEdwinNoHorizScrolling |
    EEikEdwinResizable;
    width =20;
    lines =3;
    maxlength =50;
    max_view_height_in_lines = 5;
    base_line_delta = 21;
    };
    },
    DLG_LINE
    {
    type = EEikCtEdwin;
    prompt = "number2";
    id = EAknExFormDlgCtrlIdEdwin02;
    itemflags = EEikDlgItemTakesEnterKey |
    EEikDlgItemOfferAllHotKeys;
    control = EDWIN
    {
    flags = EEikEdwinNoHorizScrolling |
    EEikEdwinResizable;
    width = 20;
    lines = 1;
    maxlength = 50;
    max_view_height_in_lines = 5;
    base_line_delta = 21;
    };
    }
    };
    }
    here I could display the form.The problem is that the form have 2 softkeys OPTION and BACK , but when I click on OPTION nothing happens.
    please help me
    By
    Remya

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Forms as a dialog and option menu

    You can test your resource via directly ExecuteLD-ing it with CAknForm. Check if the menu appears this way, I think there is nothing wrong with your resource.

Similar Threads

  1. Confirmation dialog for menu option
    By fargo143 in forum Mobile Java General
    Replies: 1
    Last Post: 2007-08-19, 16:30
  2. How to simulate pressing option key in dialog?
    By JohnsonZ in forum Symbian
    Replies: 0
    Last Post: 2007-06-06, 04:54
  3. destroy dialog after choosing a menu option...
    By GeKI in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-08-21, 13:56
  4. Option menu in dialog!!
    By symbee in forum Symbian User Interface
    Replies: 4
    Last Post: 2006-08-18, 05:35
  5. Hot to edit a system option dialog
    By ggomeze in forum Symbian
    Replies: 4
    Last Post: 2005-07-01, 12:13

Posting Permissions

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