Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User shilpav's Avatar
    Join Date
    Oct 2004
    Posts
    8
    hi
    plz help me ...
    i have designed a form which contains control = EDWIN

    RESOURCE DIALOG r_search_dialog
    {
    flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
    EEikDialogFlagNoTitleBar | EEikDialogFlagNoBorder |
    EEikDialogFlagCbaButtons | EEikDialogFlagNotifyEsc;
    buttons = r_search_ok_back;
    form = r_search_form;
    }
    RESOURCE FORM r_search_form
    {
    items =
    {
    // NAME
    DLG_LINE
    {
    type = EEikCtEdwin;
    prompt = qtn_record_name_label_edwin;
    id = EAknFormDlgCtrlIdEdwin_Name;
    itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
    control = EDWIN
    {
    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    width = AKNEXFORM_EDWIN_WIDTH;
    lines = AKNEXFORM_EDWIN_LINES;
    maxlength = EAknExFormEdwinMaxLength;
    //max_view_height_in_lines = 5;
    max_view_height_in_lines = 10;
    //base_line_delta = 21;
    base_line_delta = 42;

    };

    but when the form is displayed the control i not in editable mode + caption is not coming properly...
    plz help me its urgent...

    regards
    shilpa

  2. #2
    Registered User heuven's Avatar
    Join Date
    Mar 2003
    Location
    Luttenberg (Netherlands)
    Posts
    577
    Hi,

    use flags = EEikFormEditModeOnly | EEikFormUseDoubleSpacedFormat; in the FORM resource. 1st flag sets the form in edit mode, 2nd flag puts the caption of the control above the edit area for the control. Properly in your case the caption doesn't show properly because there is insufficient space ?

    Regards,

    Rene
    symbian.pcamobile.com
    Rene Heuven
    Inmote - Creative Smartphone Solutions
    Web: www.inmote.com
    E-mail: rene@inmote.com

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