×

Discussion Board

Results 1 to 6 of 6

Thread: tab page?

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    24

    tab page?

    Hi, I need assistance to create project under SymbianOS Series 80.
    Application can consist of tab controls(tab page).
    What's classes should I to use to create this application?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: tab page?

    Tab pages with Series 80, would propably be easiest to implement by using multi-page-dialogs. See SDK example applications & documentation for more information of the topic.

    yucca

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    24

    Re: tab page?

    Quote Originally Posted by symbianyucca
    Tab pages with Series 80, would propably be easiest to implement by using multi-page-dialogs. See SDK example applications & documentation for more information of the topic.

    yucca
    Sorry, but I can't found any examples.
    Could you give me a links?

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: tab page?

    seems to be that they are only included in old 9200 SDK, under Epoc32Ex/CrystalUI folder.

    yucca

  5. #5
    Registered User
    Join Date
    Jan 2006
    Posts
    24

    Re: tab page?

    I tried include into .rss files next code
    //*************
    RESOURCE DIALOG r_tabdialog1_dialog
    {
    title = "Tab's dialog";
    pages = r_pages;
    // buttons = R_EIK_BUTTONS_CANCEL_OK;
    flags = EEikDialogFlagWait;
    }

    //***************************
    RESOURCE ARRAY r_pages
    {
    items=
    {
    PAGE{text="page1";id=0;lines=0;}
    };
    }
    //*******************

    but it didn't work and my emulator was crashed.

    Could I create multi pages dialog for Serias 80
    using predefinition in .rss file or not?

  6. #6
    Registered User
    Join Date
    Jan 2006
    Posts
    24

    Re: tab page?

    I think this thread may have already closed
    it's working!!!

    //********
    RESOURCE DIALOG r_tabdialog1_dialog
    {
    title = "Tab's dialog";
    pages = r_pages;
    // buttons = R_EIK_BUTTONS_CANCEL_OK;
    flags = EEikDialogFlagWait;
    }

    //***************************

    RESOURCE ARRAY r_pages
    {
    items=
    {
    PAGE{text="General";id=EPageGeneral;lines=r_page_general;},
    PAGE{text="Name";id=EPageName;lines=r_page_name;},
    PAGE{text="Status";id=EPageStatus;lines=r_page_status;}
    };
    }

    ///*
    RESOURCE ARRAY r_page_general
    {
    items=
    {
    DLG_LINE
    {

    //***
    type = EEikCtLabel;
    id = ELineStaticGeneral;
    control = LABEL
    {
    txt = "General data";
    standard_font = EEikLabelFontAnnotation;
    horiz_align = EEikLabelAlignHLeft;
    };
    }
    };
    }
    //***

    RESOURCE ARRAY r_page_name
    {
    items=
    {
    DLG_LINE
    {

    //***
    type = EEikCtLabel;
    id = ELineStaticName;
    control = LABEL
    {
    txt = " About customer";
    standard_font = EEikLabelFontAnnotation;
    horiz_align = EEikLabelAlignHLeft;
    };
    }
    };
    }

    RESOURCE ARRAY r_page_status
    {
    items=
    {
    DLG_LINE
    {

    //***
    type = EEikCtLabel;
    id = ELineStaticStatus;
    control = LABEL
    {
    txt = "Status info";
    standard_font = EEikLabelFontAnnotation;
    horiz_align = EEikLabelAlignHLeft;
    };
    }
    };
    }

    //********

Similar Threads

  1. Display TabPage dynamically on Tab.
    By rave_symbian in forum Symbian
    Replies: 1
    Last Post: 2005-07-14, 06:09
  2. Replies: 0
    Last Post: 2005-02-17, 06:15
  3. How to display Tab Page control?
    By bittony in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-02-15, 07:48
  4. Set Page dynamically in Tabview
    By rave_symbian in forum Symbian
    Replies: 0
    Last Post: 2004-02-18, 11:57

Posting Permissions

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