×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    51°11'4.78"N -|- 2°48'27.05"E (Belgium)
    Posts
    730

    Toolbar in Symbian^3 like in 5th edition

    Hi,

    is there a way to get the same look for the toolbar in Symbian^3 that we had in the 5th edition ?

    I refer to this example in the wiki :

    http://www.developer.nokia.com/Commu...-_S60_Touch_UI

    I would have the same look as that ...

    thanks in advance,
    Domi.
    ----------------------------------------------------------------------------------
    FExplorer is my baby !

    you can get the FREE version from www.gosymbian.com
    you can get the PRO version from http://store.ovi.com/content/339454

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

    Re: Toolbar in Symbian^3 like in 5th edition

    AFAIK if you use standard components, the look & feel comes from the platform. So if you want to differ , you should do custom control for the task.

    Anyway, the point in general is that, users would prefer to have all things similarly implemented, since that makes it easier to learn and use applications. There are plenty of users who are using S^3 devices, and would have never used 5th edition, so they would probably be puzzled to see different design that what they are expecting.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Location
    51°11'4.78"N -|- 2°48'27.05"E (Belgium)
    Posts
    730

    Re: Toolbar in Symbian^3 like in 5th edition

    Hi symbianyucca,

    that's true, I agree with you; at the developer point of view, it's another question : it's harder to maintain but ... our goal is the end-users :-)
    BTW: it would have been interesting to have the example in wiki updated for S^3.

    Domi.
    ----------------------------------------------------------------------------------
    FExplorer is my baby !

    you can get the FREE version from www.gosymbian.com
    you can get the PRO version from http://store.ovi.com/content/339454

  4. #4
    Registered User
    Join Date
    Mar 2003
    Location
    51°11'4.78"N -|- 2°48'27.05"E (Belgium)
    Posts
    730

    Re: Toolbar in Symbian^3 like in 5th edition

    back to my first post :

    when using toolbar extension (EAknCtToolbarExtension), the system displays 3 parallel lines, but is it possible to use a personal icon instead of the one used by the system ? I have tried to put bmpfile, bmpid & bmpmask but these give me an error ....

    Tkx,
    Domi.
    ----------------------------------------------------------------------------------
    FExplorer is my baby !

    you can get the FREE version from www.gosymbian.com
    you can get the PRO version from http://store.ovi.com/content/339454

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: Toolbar in Symbian^3 like in 5th edition

    Someone will probably ask what error you have got, and when (build? runtime?).

  6. #6
    Registered User
    Join Date
    Mar 2003
    Location
    51°11'4.78"N -|- 2°48'27.05"E (Belgium)
    Posts
    730

    Re: Toolbar in Symbian^3 like in 5th edition

    oops ! that's right wizard_hu_ !! sorry.

    the compiler fails to compile the resource, I have tried several stuff of code but I get always the same error : 'Label not found'

    TBAR_CTRL
    {
    type = EAknCtToolbarExtension;
    bmpfile = FEP_BMPFILE_TOOLBAR; << label not found although it exists.
    bmpid = EMbmFexplorertbCheck;
    bmpmask = EMbmFexplorertbCheck_mask;
    control = AVKON_TOOLBAR_EXTENSION
    {
    flags = KAknTbExtensionTransparent;
    items =
    {
    ...
    TBAR_CTRL
    {
    type = EAknCtToolbarExtension;
    control = AVKON_TOOLBAR_EXTENSION
    {
    flags = KAknTbExtensionTransparent;
    bmpfile = FEP_BMPFILE_TOOLBAR; << label not found although it exists.
    bmpid = EMbmFexplorertbCheck;
    bmpmask = EMbmFexplorertbCheck_mask;
    items =
    {
    ...
    Domi.
    ----------------------------------------------------------------------------------
    FExplorer is my baby !

    you can get the FREE version from www.gosymbian.com
    you can get the PRO version from http://store.ovi.com/content/339454

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

    Re: Toolbar in Symbian^3 like in 5th edition

    How is it defined ? and where ?

    Basically you would need to define it in s way that its seen form the place it is used at.

  8. #8
    Registered User
    Join Date
    Mar 2003
    Location
    51°11'4.78"N -|- 2°48'27.05"E (Belgium)
    Posts
    730

    Re: Toolbar in Symbian^3 like in 5th edition

    I use it previously without problem.

    this code works fine in the following, the labels are ok, I get the error only when I try to put the icon in the extension maybe I need another keyword, label,??? I don't know.

    RESOURCE AVKON_TOOLBAR r_fexplorer_toolbar
    {
    flags = KAknToolbarFixed;
    items =
    {
    TBAR_CTRL
    {
    type = EAknCtButton;
    id = EEditMarkCmdId;
    control = AVKON_BUTTON
    {
    states =
    {
    AVKON_BUTTON_STATE
    {
    helptxt = "Mark(un-)";
    bmpfile = FEP_BMPFILE_TOOLBAR;
    bmpid = EMbmFexplorertbCheck;
    bmpmask = EMbmFexplorertbCheck_mask;
    }
    };
    };
    },
    TBAR_CTRL
    {
    type = EAknCtToolbarExtension;
    control = AVKON_TOOLBAR_EXTENSION
    {
    flags = KAknTbExtensionTransparent;
    items =
    {
    ...
    "Basically you would need to define it in s way that its seen form the place it is used at." >> sorry but I don't understand what you mean.

    btw: thanks in advance.
    Domi.
    ----------------------------------------------------------------------------------
    FExplorer is my baby !

    you can get the FREE version from www.gosymbian.com
    you can get the PRO version from http://store.ovi.com/content/339454

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

    Re: Toolbar in Symbian^3 like in 5th edition

    Quote Originally Posted by Jeepy View Post
    "Basically you would need to define it in s way that its seen form the place it is used at." >> sorry but I don't understand what you mean.
    .
    Where is FEP_BMPFILE_TOOLBAR defined and how ?
    and did you include the file in which the FEP_BMPFILE_TOOLBAR is defined in a way that the place where you use FEP_BMPFILE_TOOLBAR can see teh definition.

  10. #10
    Registered User
    Join Date
    Mar 2003
    Location
    51°11'4.78"N -|- 2°48'27.05"E (Belgium)
    Posts
    730

    Re: Toolbar in Symbian^3 like in 5th edition

    FEP_BMPFILE_TOOLBAR, EMbmFexplorertbCheck, EMbmFexplorertbCheck_mask are correctly defined because, as said in the previous post, if I remove them in extension, all compile fine; I mean it compiles with these symbols used in the other part of the .rss therefore these symbols are ok.
    ----------------------------------------------------------------------------------
    FExplorer is my baby !

    you can get the FREE version from www.gosymbian.com
    you can get the PRO version from http://store.ovi.com/content/339454

  11. #11
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,988

    Re: Toolbar in Symbian^3 like in 5th edition

    bmpfile ,bmpid etc 'labels' are not available for that resource tag(TBAR_CTRL) directly, though you can use these inside its sub-tag(i.e AVKON_BUTTON_STATE), you can define these labels for the use with extension in the following way:

    http://koti.mbnet.fi/flex/softa/S60_...obilePaint.rss (search for EAknCtToolbarExtension & notice how it is used)

Similar Threads

  1. Dynamic toolbar layouts using PageStackWindow on Symbian
    By hamishwillee in forum [Archived] Qt Quick
    Replies: 5
    Last Post: 2012-02-15, 12:21
  2. Replies: 2
    Last Post: 2012-01-12, 13:33
  3. 3rd Edition: Additional toolbar
    By pixsta in forum Symbian User Interface
    Replies: 4
    Last Post: 2010-02-23, 08:39
  4. [moved] icons for touch toolbar 5th edition
    By smanikandan14 in forum Symbian User Interface
    Replies: 3
    Last Post: 2009-06-08, 12:49
  5. Replies: 1
    Last Post: 2007-09-21, 07:58

Posting Permissions

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