We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FoxDeploy.com, Stephen Owen's technical blog about PowerShell, Systems Administration, GUI Design and Programming. .
https://www.foxdeploy.com/blog/adding-autocomplete-to-your-textbox-forms-in-powershell.html
The text was updated successfully, but these errors were encountered:
Just because I find the tutorial a little bit confusing for me as a beginner, there somme change you can make:
-transform the ligne :
Get-content 'C:\Any\Path\User Records.txt' | % {$textbox.AutoCompleteCustomSource.AddRange($_) }
into:
$aVariable = Get-content 'C:\Any\Path\User Records.txt' $textbox.AutoCompleteCustomSource.AddRange($aVariable)
and :
$textbox.AutoCompleteSource = 'CustomSource' $textbox.AutoCompleteMode='SuggestAppend' $textbox.AutoCompleteCustomSource=$autocomplete
into (3 differents lines):
$textbox.AutoCompleteSource = 'CustomSource'
$textbox.AutoCompleteMode='SuggestAppend'
$textbox.AutoCompleteCustomSource=$autocomplete
It's less compact but easier to understand (and the first Get Content doesn't work for me anyway)
Have a nice day !
Sorry, something went wrong.
No branches or pull requests
Adding Autocomplete to your Textbox forms in PowerShell
FoxDeploy.com, Stephen Owen's technical blog about
PowerShell, Systems Administration, GUI Design and Programming.
.
https://www.foxdeploy.com/blog/adding-autocomplete-to-your-textbox-forms-in-powershell.html
The text was updated successfully, but these errors were encountered: