<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - multiselection listbox - Comments</title>
 <link>http://www.newlc.com/en/topic-15697</link>
 <description>Comments for &quot;multiselection listbox&quot;</description>
 <language>en</language>
<item>
 <title>Re: multiselection listbox</title>
 <link>http://www.newlc.com/en/topic-15697#comment-44359</link>
 <description>&lt;p&gt;PLEASE  Can Any body help  me to write a code for for simple selection list and also multi selction list.&lt;/p&gt;

&lt;p&gt;I have already created  pop up menu list ( selction and multiselection list) using list query dialogs and resources.  I want a simple menu list. Iam very much canfused.&lt;/p&gt;

&lt;p&gt;                  1) RSS for selection list&lt;/p&gt;

&lt;p&gt;   RESOURCE DIALOG r_demo_list_query&lt;br /&gt;
{&lt;br /&gt;
flags = EGeneralQueryFlags;&lt;br /&gt;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;&lt;br /&gt;
items =&lt;br /&gt;
{&lt;br /&gt;
DLG_LINE&lt;br /&gt;
{&lt;br /&gt;
type = EAknCtListQueryControl;&lt;br /&gt;
id = EListQueryControl;&lt;br /&gt;
control = AVKON_LIST_QUERY_CONTROL&lt;br /&gt;
{&lt;br /&gt;
listtype = EAknCtSinglePopupMenuListBox;&lt;br /&gt;
listbox = LISTBOX&lt;br /&gt;
{&lt;br /&gt;
flags = EAknListBoxMenuList;&lt;br /&gt;
height = 3;&lt;br /&gt;
width = 10;&lt;br /&gt;
array_id = r_demo_list_query_item;&lt;br /&gt;
};&lt;br /&gt;
heading = &quot;Select one item:&quot;;&lt;br /&gt;
};&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
} &lt;/p&gt;

&lt;p&gt;RESOURCE ARRAY r_demo_list_query_item&lt;br /&gt;
{&lt;br /&gt;
items =&lt;br /&gt;
{&lt;br /&gt;
LBUF {txt = &quot;First item&quot;; },&lt;br /&gt;
LBUF {txt = &quot;Second item&quot;; },&lt;br /&gt;
LBUF {txt = &quot;Third item&quot;; }&lt;br /&gt;
};&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;    &lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
2)     RSS for multiselection list&lt;/p&gt;

&lt;p&gt;RESOURCE DIALOG r_demo_multiselection_query&lt;br /&gt;
{&lt;br /&gt;
flags = EGeneralQueryFlags;&lt;br /&gt;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;&lt;br /&gt;
items =&lt;br /&gt;
{&lt;br /&gt;
DLG_LINE&lt;br /&gt;
{&lt;br /&gt;
type = EAknCtListQueryControl;&lt;br /&gt;
id = EListQueryControl;&lt;br /&gt;
control = AVKON_LIST_QUERY_CONTROL&lt;br /&gt;
{&lt;br /&gt;
listtype = EAknCtSingleGraphicPopupMenuListBox;&lt;br /&gt;
listbox = LISTBOX&lt;br /&gt;
{&lt;br /&gt;
flags = EAknListBoxMultiselectionList;&lt;br /&gt;
height = 3;&lt;br /&gt;
width = 3;&lt;br /&gt;
array_id = r_demo_multiselection_query_list_item;&lt;br /&gt;
};&lt;br /&gt;
heading = &quot;Select items:&quot;;&lt;br /&gt;
};&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;RESOURCE ARRAY r_demo_multiselection_query_list_item&lt;br /&gt;
{&lt;br /&gt;
items =&lt;br /&gt;
{&lt;br /&gt;
LBUF { txt = &quot;1\tItem1&quot;; },&lt;br /&gt;
LBUF { txt = &quot;1\tItem2&quot;; },&lt;br /&gt;
LBUF { txt = &quot;1\tItem3&quot;; },&lt;br /&gt;
LBUF { txt = &quot;1\tItem4&quot;; },&lt;br /&gt;
LBUF { txt = &quot;1\tItem5&quot;; }&lt;br /&gt;
};&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;         Now I bneed to write a code for dynamic list also HOw will it be?            Please tell me the diff between pop up menu and menu list.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 05 Feb 2008 14:18:57 +0100</pubDate>
 <dc:creator>shravan_vip</dc:creator>
 <guid isPermaLink="false">comment 44359 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: multiselection listbox</title>
 <link>http://www.newlc.com/en/topic-15697#comment-44358</link>
 <description>&lt;p&gt;PLEASE CAN U POST ME hOW TO CREATE A SIMPLE   LSIT BOX, i DONT WANT THE POP UP MENU LIST.&lt;/p&gt;

&lt;p&gt;   &lt;/p&gt;</description>
 <pubDate>Tue, 05 Feb 2008 14:13:17 +0100</pubDate>
 <dc:creator>shravan_vip</dc:creator>
 <guid isPermaLink="false">comment 44358 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: multiselection listbox</title>
 <link>http://www.newlc.com/en/topic-15697#comment-34065</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;make changes in the rss file by including the listbox flag as EAknListBoxMultiselectionList and try.&lt;br /&gt;&lt;br /&gt;Example is shown:&lt;br /&gt;&lt;br /&gt;RESOURCE DIALOG r_multi_selection&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; flags = EGeneralQueryFlags;&lt;br /&gt;&amp;nbsp; &amp;nbsp; buttons = R_AVKON_SOFTKEYS_OK_CANCEL;&lt;br /&gt;&amp;nbsp; &amp;nbsp; items =&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DLG_LINE&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type = EAknCtListQueryControl;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id = EListQueryControl;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; control = AVKON_LIST_QUERY_CONTROL&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;listtype = EAknCtSinglePopupMenuListBox;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;listbox = LISTBOX&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; flags = EAknListBoxMultiselectionList;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; height =5;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width =4;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; heading = qtn_aptv_multi_program_selection_title;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;/div&gt;</description>
 <pubDate>Mon, 30 Oct 2006 05:08:04 +0100</pubDate>
 <dc:creator>sirisha</dc:creator>
 <guid isPermaLink="false">comment 34065 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: multiselection listbox</title>
 <link>http://www.newlc.com/en/topic-15697#comment-34064</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi,&lt;br /&gt;&lt;br /&gt;Set the flag in ConstructL function for listbox as EMultiSelection. &lt;br /&gt;&lt;br /&gt;Check Listbox example in sdk. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;eswar&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 29 Aug 2006 09:18:07 +0200</pubDate>
 <dc:creator>eswar_illuri</dc:creator>
 <guid isPermaLink="false">comment 34064 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: multiselection listbox</title>
 <link>http://www.newlc.com/en/topic-15697#comment-34063</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi Sanjay&lt;br /&gt;&lt;br /&gt; Try going through this tutorial. Hope this will clear your concept and the way to solve ur problem.&lt;br /&gt;&lt;br /&gt;Cheers!!!&lt;/div&gt;</description>
 <pubDate>Tue, 29 Aug 2006 07:42:34 +0200</pubDate>
 <dc:creator>sahdev_nitin</dc:creator>
 <guid isPermaLink="false">comment 34063 at http://www.newlc.com</guid>
</item>
<item>
 <title>multiselection listbox</title>
 <link>http://www.newlc.com/en/topic-15697</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/topic-15697&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/topic-15697#comments</comments>
 <category domain="http://www.newlc.com/en/forums/nokia-series-60-phones">S60 Phones</category>
 <pubDate>Mon, 21 Aug 2006 07:36:13 +0200</pubDate>
 <dc:creator>sanjay</dc:creator>
 <guid isPermaLink="false">15464 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
