Olivier
Wed Sep 26 01:23:07 PDT 2007
Hello Linda,
Thanks for your reply but in fact the problem is that is way of tilling is
really not the same than the excel one (when you tileVertical there are
nether 2 workbooks that are side by side) and that i m porting my major
application from VB6 to VB.NET and i have a hundred of users that use
tilling a lot (horizontal and vertical) to compare datas from differents
windows.
Is there a way to mimics the excel tilling (an obscure parameter, an
undocumented function, api call ???) from a .NET MDI application ?
Reagrds,
Olivier
"Linda Liu [MSFT]" <v-lliu@online.microsoft.com> a écrit dans le message de
news: SlGSt%23%23$HHA.5604@TK2MSFTNGHUB02.phx.gbl...
> Hi Olivier,
>
> I performed a test based on your sample code and saw the same result as
> you
> did.
>
> If I change the sample code as follows, i.e. show 6 child forms in the MDI
> parent form, these child forms are displayed differently:
>
> For i As Integer = 1 To 6
> Dim f As Form = New Form
> ' show the value of the variable i in the child form's
> title bar
> f.Text = i.ToString()
> f.MdiParent = Me
> f.Show()
> Next i
>
> If I use LayoutMdi with TileHorizontal, these child forms are arranged
> into
> 3 rows and 2 columns, something like:
>
> 6 3
> 5 2
> 4 1
>
> If I use LayoutMdi with TileVertical, these child forms are arranged into
> 2
> rows and 3 columns, something like:
>
> 6 4 2
> 5 3 1
>
> As you can see, when using LayoutMdi with TileHorizontal, the child forms
> are arranged horizontally by the greatest extent, and on the contrary,
> when
> using LayoutMdi with Vertical, the child forms are arranged verically by
> the greatest extent.
>
> This makes sense, doesn't it?
>
> I hope I make some clarifications.
>
> If you have any question, please feel free to let me know.
>
> Sincerely,
> Linda Liu
> Microsoft Online Community Support
>
> ==================================================
> Get notification to my posts through email? Please refer to
>
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
>
http://msdn.microsoft.com/subscriptions/support/default.aspx.
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>