0

I want to handle my checkbox list with powershell. I want to let user only can select 1 checkbox. I try $checkedlistbox.SelectionMode = "One" but it does not work.

Anyone can give idea please. Thank you

0

1 Answer 1

2

Radiobox control is designed precisely for this purpose so that it allows only option to be selected from a list.

$radioBox = New-Object System.Windows.Forms.RadioButton
$radioBox.Checked = $true //Checked 
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.