PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework FlowLayoutPanel for Compact Framework

Reply

FlowLayoutPanel for Compact Framework

 
Thread Tools Rate Thread
Old 04-10-2005, 01:30 PM   #1
jhoge123@yahoo.com
Guest
 
Posts: n/a
Default FlowLayoutPanel for Compact Framework


I noticed that the FlowLayoutPanel does not exist in the .net compact
framework. I need to take a dataset and use it to add buttons to the
appropriate tab of a TabControl object.

This works great in the full framework: Add a docked FlowLayoutPanel
and then loop through your buttons and add them to the panel. If there
are a lot, it just scrolls nicely.

Does anybody know about a workaround for this in Compact framework? I
suppose I could always keep track of where the last button has been
placed, and then add the new button a few pixels below, but that limits
flexibilty. If I wanted to make the buttons flow to the right and then
down, I would need to recode.

Any help would be greatly appreciated.

John

  Reply With Quote
Old 04-10-2005, 02:35 PM   #2
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
 
Posts: n/a
Default RE: FlowLayoutPanel for Compact Framework

This question was already asked:

http://groups.google.com/group/micr...f02278f1f06c0ec

--
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"jhoge123@yahoo.com" wrote:

> I noticed that the FlowLayoutPanel does not exist in the .net compact
> framework. I need to take a dataset and use it to add buttons to the
> appropriate tab of a TabControl object.
>
> This works great in the full framework: Add a docked FlowLayoutPanel
> and then loop through your buttons and add them to the panel. If there
> are a lot, it just scrolls nicely.
>
> Does anybody know about a workaround for this in Compact framework? I
> suppose I could always keep track of where the last button has been
> placed, and then add the new button a few pixels below, but that limits
> flexibilty. If I wanted to make the buttons flow to the right and then
> down, I would need to recode.
>
> Any help would be greatly appreciated.
>
> John
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off