×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    3

    Unhappy List and Label in a dialog

    hello all,

    i m a newbie starting with the symbian..

    Is there any way i can put a label and a selection list in a dialog.

    thanks
    keyuri

  2. #2
    Nokia Developer Expert
    Join Date
    Apr 2003
    Location
    Finland
    Posts
    425
    Hi,

    In the resource which define the dialog, one is able to define what ever control is needed. There is lot of samples available here and there (give 'DLG_LINE' for google and it will give lot of samples).

    Code:
    {
    RESOURCE DIALOG r_myfirst_dialog
    <....>
        items =
        {
            DLG_LINE
            {
    <...Define label here ...>
            },
            DLG_LINE
            {
    <...Define list control here ...>
            },
            DLG_LINE
            {
    <...Define anything here ...>
            }
        };
    }
    Br V

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    3
    Thanks. It solved the problem.

    Now i have another problem, which i tried to find info about. But i cant find the code to address this problem.

    The problem is:

    I have defined a dialog with listbox with singleheading style in the resource file.

    I have the items defined in the list array in the .rss file.

    I want to change the font style of each individual item. Its like following

    AHD - 2130 // to be made bold
    MBM - 1130 // to be of smaller font size than the earlier
    AHM - 1230 // to be of smaller font size than the earlier

    Please if anybody has code to do this dynamically, please reply soon.

    Thanks
    Keyuri

Posting Permissions

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