ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ListView and checkbox (Refresh problem) (https://www.excelbanter.com/excel-programming/376186-listview-checkbox-refresh-problem.html)

Alex St-Pierre

ListView and checkbox (Refresh problem)
 
Hi,
I have a listview inside a multipage. At the opening, the listview display
is ok. If I change to page 2 and return to page 1, the checkboxs of the
ListView are hidden. I tried SetFocus but doesn't work. Is there an other way
to say Refresh the ListView?
Thanks a lot!
Private Sub MultiPage1_Change()
If Me.MultiPage1.Pages = 1 Then
Me.Create_ListView.SetFocus 'This line doesn't work
End If
End Sub


--
Alex St-Pierre

Alex St-Pierre

ListView and checkbox (Refresh problem)
 
I tried:
Me.Create_ListView.Refresh and doesn't work too.
--
Alex St-Pierre


"Alex St-Pierre" wrote:

Hi,
I have a listview inside a multipage. At the opening, the listview display
is ok. If I change to page 2 and return to page 1, the checkboxs of the
ListView are hidden. I tried SetFocus but doesn't work. Is there an other way
to say Refresh the ListView?
Thanks a lot!
Private Sub MultiPage1_Change()
If Me.MultiPage1.Pages = 1 Then
Me.Create_ListView.SetFocus 'This line doesn't work
End If
End Sub


--
Alex St-Pierre



All times are GMT +1. The time now is 01:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com