Remember past entries

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
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.
This topic is 5 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
mqh77777
Posts: 252
Last visit: Mon Feb 26, 2024 10:07 am
Has voted: 1 time

Remember past entries

Post by mqh77777 »

PowerShell Studio 2018 v5.5.150
Windows 10 x64

We have a PowerShell Studio tool, it has a text box that you can enter a computer name into. Is there a way for this text box to remember the past 5 entries? We have cryptic computer names so our support techs wanted the tool to remember the last 5 (or more) computer names they've entered.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Remember past entries

Post by Alexander Riedel »

[Topic moved by moderator]
Alexander Riedel
SAPIEN Technologies, Inc.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Remember past entries

Post by jvierra »

Use a combobox with a memory.

See example:
Attachments
Test-CBAppend.psf
(20.24 KiB) Downloaded 114 times
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Remember past entries

Post by jvierra »

Here is an update with a textbox with a memory.
Attachments
Test-CBAppend.psf
(32.34 KiB) Downloaded 117 times
This topic is 5 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked