PLS HELP: Scrollbars for Form in CF 1 for Smartphone

  • Thread starter Thread starter MuZZy
  • Start date Start date
M

MuZZy

Hi,

I'm developing an app in C# for a Smartphone platform (.NET CF 1.0) and
i've hit a problem - Form doesn't have a "AutoScroll" property so if
child controls don't fit the form it doesn't show a scrollbar.

What i'm doing is i'm reading some settings from an XML file and show
them in dynamically generated labels and textboxes, each one under the
previous one. So 5th or 6th textboxes are already below screen level and
i don't see any way to access them.

//////////////
<item>
<label> MyLabel1 </label>
<textbox> MyTextBox1 </textbox>
</item>
<item>
<label> MyLabel2 </label>
<textbox> MyTextBox2 </textbox>
</item>
<item>
<label> MyLabel3 </label>
<textbox> MyTextBox3 </textbox>
</item>

etc...
And i place the on the screen like this:

MyLabel1
MyTextBox1
MyLabel2
MyTextBox2
MyLabel3
MyTextBox3

etc...


I've seen lots of programs which stil somehow take advantage of a
scrollbar in such case but i couldn't find any samples. I suspect that i
should use Win32 API for that but i don't have any clue where to get
some info about it.


Any ideas would be highly appreciated!

Thank you,
MuZZy
 
Back
Top