Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tabpagecontrol, binding, from refresh misery
Message
From
22/10/2011 13:09:06
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Miscellaneous
Thread ID:
01527103
Message ID:
01527105
Views:
51
>I have a form with a tabpagecontol on it. In order to have all the fields on the different pages refreshed I found out I have to do something like
>
>       For i As Integer = 1 To Me.TpgBase1.TabPages.Count
>            Me.TpgBase1.SelectTab(i - 1)
>        Next
>        Me.TpgBase1.SelectTab(0)
>
>
>Now that gets me some ugly mickey mousing on my form, so I'm looking for a way to "freeze" the screen while I do that, but suspendlayout, resumelayout do not have any effect. Here's the full code.
>
>
>       Me.BestelHCRUD.Fill(Me.BestelDS.BestH, Me.obzBestel.pk)
>        Me.SuspendLayout()
>        For i As Integer = 1 To Me.TpgBase1.TabPages.Count
>            Me.TpgBase1.SelectTab(i - 1)
>        Next
>        Me.TpgBase1.SelectTab(0)
>        Me.ResumeLayout()
>
>
>Thanks and kind regards,
>
>Marc


Marc,

Have a look at this old message Re: UI questions Thread #766067 Message #766090
It uses api
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform