×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    364

    Adding Command Buttons to A dialog form

    Hi , Bellow a form dialog at the resource file I want two thhings:

    1.Adding new command buttons to it :(send,replay,new message).

    2-How I Deal with this buttons on my application when user click on this buttons?

    Here is the form Dialog:

    RESOURCE DIALOG r_email_form_dialog
    {
    flags = EEikDialogFlagNoDrag |
    EEikDialogFlagNoTitleBar |
    EEikDialogFlagFillAppClientRect |
    EEikDialogFlagCbaButtons;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    //buttons = R_AVKON_SOFTKEYS_OK;
    //buttons = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    form = r_email_form_detail;
    }


    RESOURCE FORM r_email_form_detail
    {
    flags = EEikFormUseDoubleSpacedFormat;
    items =
    {
    DLG_LINE
    {
    type = EEikCtEdwin;
    prompt = "From:";
    id = ESocketsEmailFromEdwin;
    control = EDWIN
    {//EEikFormEditModeOnly | EEikFormUseDoubleSpacedFormat;
    //EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    width = 200;
    lines = 1;
    maxlength = 1000;
    default_input_mode = EAknEditorTextInputMode;
    };
    },
    //--->CC
    DLG_LINE
    {
    type = EEikCtEdwin;
    prompt = "CC:";
    id = ESocketsEmailCCEdwin;
    control = EDWIN
    {
    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    width = 300;
    lines = 1;
    maxlength = 1000;
    default_input_mode = EAknEditorTextInputMode;
    };
    },
    DLG_LINE
    {
    type = EEikCtEdwin;
    prompt = "Date:";
    id = ESocketsEmailDateEdwin;
    control = EDWIN
    {
    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    width = 127;
    lines = 1;
    maxlength = 100;
    default_input_mode = EAknEditorTextInputMode;
    };
    },
    DLG_LINE
    {
    type = EEikCtEdwin;
    prompt = "Subject:";
    id = ESocketsEmailSubjectEdwin;
    control = EDWIN
    {
    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    width = 1000;
    lines = 1;
    maxlength = 1000;
    default_input_mode = EAknEditorTextInputMode;
    };
    },
    DLG_LINE
    {
    //
    type = EEikCtEdwin;
    prompt = "Message Body:";
    id = ESocketsEmailBodyEdwin;
    control = EDWIN
    {
    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    width = 1000;
    lines = 20;
    maxlength = 10000;
    default_input_mode = EAknEditorTextInputMode;
    };
    }
    };
    }

  2. #2
    Regular Contributor
    Join Date
    Apr 2006
    Location
    India
    Posts
    383

    Re: Adding Command Buttons to A dialog form

    Hi!
    Go through the Series_60_DP_Avkon_UI_Resources_Forms_v1_0_en.pdf
    It contains all the details.

    Link: http://forum.nokia.com/info/sw.nokia..._0_en.pdf.html
    Regards,
    Shilpa Kulkarni

Similar Threads

  1. closing Form dialog without exit_key_handler
    By vipul.mobiance in forum Symbian
    Replies: 1
    Last Post: 2005-12-21, 13:34
  2. Replies: 0
    Last Post: 2005-10-22, 12:34
  3. How to make the query dialog invisible in form
    By shafali gupta in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-01-31, 11:18
  4. Form and Text Editor in Dialog
    By nutter420 in forum Symbian User Interface
    Replies: 5
    Last Post: 2004-08-27, 21:13
  5. Adding a listbox to a form 'pages' resource?
    By advocatee in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-07-08, 15: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
  •  
×