<?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 - Multiple Choice Question - Comments</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question</link>
 <description>Comments for &quot;Multiple Choice Question&quot;</description>
 <language>en</language>
<item>
 <title>Re: Multiple Choice Question</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question#comment-41589</link>
 <description>&lt;p&gt;You can also use a text editor to display your question since editors can be scrolled. Try out, me not sure!!&lt;/p&gt;</description>
 <pubDate>Tue, 18 Sep 2007 14:42:46 +0200</pubDate>
 <dc:creator>jp4symbian</dc:creator>
 <guid isPermaLink="false">comment 41589 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Multiple Choice Question</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question#comment-41581</link>
 <description>&lt;p&gt;hi&lt;/p&gt;

&lt;p&gt;problem resolved.&lt;/p&gt;

&lt;p&gt;I set the size of listbox in &lt;br /&gt;
iListBox-&gt;SetExtent() function as &lt;/p&gt;

&lt;p&gt;iListBox-&gt;SetExtent( TPoint(0,iTextHeight), TSize(ClientRect().Size().iWidth,ClientRect().Size().iHeight-iTextHeight));&lt;/p&gt;

&lt;p&gt;now i am able to view the elements of Listbox but what if my label takes the whole screen to display the text?&lt;/p&gt;

&lt;p&gt;regards&lt;br /&gt;
Himanshu&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Tue, 18 Sep 2007 12:24:44 +0200</pubDate>
 <dc:creator>hag_01cs25</dc:creator>
 <guid isPermaLink="false">comment 41581 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Multiple Choice Question</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question#comment-41536</link>
 <description>&lt;p&gt;&lt;br /&gt;
Why have you written this way:&lt;br /&gt;
iListBox-&gt;SetExtent( TPoint(0,100), iListBox-&gt;MinimumSize());&lt;/p&gt;

&lt;p&gt;On what basis are you taking &quot;100&quot; y-co-ordinate? Are you leaving that much space for the label above it?&lt;/p&gt;

&lt;p&gt;Does your list box have any items/elements when above code gets executed? I think if there are no ListBox items present, then the MinimumSize() will be 0.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Mon, 17 Sep 2007 11:37:46 +0200</pubDate>
 <dc:creator>jp4symbian</dc:creator>
 <guid isPermaLink="false">comment 41536 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Multiple Choice Question</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question#comment-41532</link>
 <description>&lt;p&gt;hi&lt;/p&gt;

&lt;p&gt;thanks for reply.&lt;/p&gt;

&lt;p&gt;Link provided by you is useful but now i am facing another problem suppose if i set the listbox extent as written below&lt;/p&gt;

&lt;p&gt;iListBox-&gt;SetExtent( TPoint(0,100),  iListBox-&gt;MinimumSize());&lt;/p&gt;

&lt;p&gt;then i am not able to view the listbox contents.&lt;/p&gt;

&lt;p&gt;regards&lt;br /&gt;
Himanshu&lt;/p&gt;</description>
 <pubDate>Mon, 17 Sep 2007 11:02:16 +0200</pubDate>
 <dc:creator>hag_01cs25</dc:creator>
 <guid isPermaLink="false">comment 41532 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Multiple Choice Question</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question#comment-41482</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I think you can increase the size of the label to fit your question in it. You can keep its width same as that of your mobile screen&#039;s width. And keep the height such that it fits 2 or 3 lines as per ur requirement.&lt;/p&gt;

&lt;p&gt;Check out more APIs of CEikLabel . I am sure you will find the above functionality in it.&lt;br /&gt;
Do refer:&lt;br /&gt;
&lt;a href=&quot;http://www.symbian.com/developer/techlib/v70docs/SDL_v7.0/doc_source/reference/cpp/UikonCoreControls/class_CEikLabel.html&quot;&gt;http://www.symbian.com/developer/techlib/v70docs/SDL_v7.0/doc_source/reference/cpp/UikonCoreControls/class_CEikLabel.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am not sure how this works, but you can also check out this link:&lt;br /&gt;
&lt;a href=&quot;http://wiki.forum.nokia.com/index.php/Multiline_CEikLabel&quot;&gt;http://wiki.forum.nokia.com/index.php/Multiline_CEikLabel&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 14 Sep 2007 14:46:26 +0200</pubDate>
 <dc:creator>jp4symbian</dc:creator>
 <guid isPermaLink="false">comment 41482 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Multiple Choice Question</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question#comment-41480</link>
 <description>&lt;p&gt;hi&lt;/p&gt;

&lt;p&gt;thanks for reply.&lt;/p&gt;

&lt;p&gt;One think i want to make it clear that i have to display only one question at a time.&lt;br /&gt;
the other thing is that suppose if my question width is greater than that of Screen width than CEikLabel will not help me. In this case i am not able to display complete question.&lt;/p&gt;

&lt;p&gt;regards&lt;br /&gt;
Himanshu&lt;/p&gt;</description>
 <pubDate>Fri, 14 Sep 2007 13:54:10 +0200</pubDate>
 <dc:creator>hag_01cs25</dc:creator>
 <guid isPermaLink="false">comment 41480 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Multiple Choice Question</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question#comment-41475</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I think you you will have to use more than one control.&lt;/p&gt;

&lt;p&gt;For the question, can use a label to display your question.Below that you can use a multi-selection List Box for the options.&lt;/p&gt;

&lt;p&gt;According to me, each question will occupy one view, so you have to make as many screens as your questions so as to give a good visual appeal to your application. More than one question in one view will not appear so well.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 14 Sep 2007 11:38:00 +0200</pubDate>
 <dc:creator>jp4symbian</dc:creator>
 <guid isPermaLink="false">comment 41475 at http://www.newlc.com</guid>
</item>
<item>
 <title>Multiple Choice Question</title>
 <link>http://www.newlc.com/en/forum/multiple-choice-question</link>
 <description>&lt;p&gt;Hi &lt;/p&gt;

&lt;p&gt;I want to display a multiple choice on screen provided that the length of the question can vary and the no of choices for particular question can vary from 2 to any number.&lt;/p&gt;

&lt;p&gt;for ex:&lt;/p&gt;

&lt;p&gt;1) what is the capital of India?&lt;/p&gt;

&lt;p&gt;a)Delhi&lt;br /&gt;
b)Calcutta&lt;br /&gt;
c)Mumbai&lt;/p&gt;

&lt;p&gt;2) who is the first prime minister of free India?&lt;/p&gt;

&lt;p&gt;a)Manmohan singh&lt;br /&gt;
b)Pt. Jawahar Lal Nehru&lt;br /&gt;
c)Lal bahadur shastri&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/multiple-choice-question&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/multiple-choice-question#comments</comments>
 <category domain="http://www.newlc.com/en/forums/nokia-series-60">Nokia S60</category>
 <pubDate>Fri, 14 Sep 2007 07:31:09 +0200</pubDate>
 <dc:creator>hag_01cs25</dc:creator>
 <guid isPermaLink="false">18967 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
