Cristian Zerbinati asked 2018-04-18 14:07:06 UTC
Hi,
I have a TabPageControl with two TabPage,
in the second Tab a there is a ListView with controls inside.
If I select the second tab, next the first and next the secondo too... the controls inside TabPage2 disappear.
They return if I refresh the page, or if before change the TabPage selection I select a cell of ListView, or if I change the width of a column
for now I have solved with this:
Private Sub TabControl1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles TabControl1.SelectedIndexChanged
If TabControl1.SelectedTab.TabIndex = 1 Then
ListView1.Items(0).Selected = True
End If
End Sub
See the video: http://www.mediafire.com/file/n25k6c3fq7nk5k7/20180327_222054.mp4
Cristian Zerbinati asked 2018-04-18 14:07:06 UTC
Hi,
I have a TabPageControl with two TabPage,
in the second Tab a there is a ListView with controls inside.
If I select the second tab, next the first and next the secondo too... the controls inside TabPage2 disappear.
They return if I refresh the page, or if before change the TabPage selection I select a cell of ListView, or if I change the width of a column
for now I have solved with this:
Private Sub TabControl1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles TabControl1.SelectedIndexChanged
If TabControl1.SelectedTab.TabIndex = 1 Then
ListView1.Items(0).Selected = True
End If
End Sub
See the video: http://www.mediafire.com/file/n25k6c3fq7nk5k7/20180327_222054.mp4