Hello,
it is possible to leave the boxes checked after closing the interface and then opening it again.
thank you
persitence cheked checklistbox
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: persitence cheked checklistbox
hi
work fine
work fine
Code: Select all
$EmplacementFichier2 = [string]
$EmplacementFichier2 = "d:\test.txt"
$MyArray= get-content $EmplacementFichier2
foreach ($Item in $MyArray)
{
# Check it ...
$CheckedListBox1.SetItemChecked($checkedlistbox1.Items.IndexOf($Item), $true);
}