×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    69

    Label in the List dialog

    Hello,

    I am working on the List Dialog. The list appears correct but I want to display a label before this list. I have defined the label in .rss file. but it does not appear on the phone. The dialog displays only the list.

    I am developing using S60 on Nokia 6680.

    Please refer to the following code:

    Code:
    RESOURCE DIALOG r_list_dlg 
    { 
    	flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
    		EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
    		EEikDialogFlagNoBackup;
    	buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    	items =
    	{
    	    DLG_LINE
                   {
                   id=ElistDlg1Label;
    	  type=EEikCtLabel;
                   control= LABEL 
    	  { 
    	  txt = "List Dialog"; 
                   vert_align=EEikLabelAlignVCenter;
    	  };
    	},
    				
    	DLG_LINE
    	{
    	prompt="";
    	id = EGeneralQuery;
    	type = EAknCtSingleListBox;
    	itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
    	   control = LISTBOX
    	  {
    	  flags = EAknListBoxMarkableList;
    	  };
    	}
    	};
    }

    Thanks!
    Tejaswini

  2. #2
    Regular Contributor
    Join Date
    Feb 2006
    Location
    India,Pune
    Posts
    311

    Re: Label in the List dialog

    I thimk this below link help you to show list items

    http://perso.orange.fr/klisa/3650/ListBox/page05.html

    Regards,
    Parag Purkar

Similar Threads

  1. how to updated the list box on dialog box before it is displaying it.
    By manjunaths in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-03-20, 10:37
  2. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24
  3. List and Label in a dialog
    By knmehta in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-08-10, 14:44
  4. How to - Dynamically update icons in List or Dialog
    By relliott98 in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-06-13, 14:08
  5. Replies: 2
    Last Post: 2004-12-18, 08:50

Posting Permissions

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