TableLayoutPanel (Possible Bug)
Posted: Sun Aug 15, 2021 9:22 am
To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product: PowerShell Studio 2021 (64 Bit)
Build: v5.8.192
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18363.0
*** Please add details and screenshots as needed below. ***
I am using a TableLayoutPanel to organize some text boxes. After moving/adding some textboxes in the TableLayoutPanel with a Copy/Paste, CTRL-Z, and CTRL-Y, errors are produced. The error(s) can prevent closure of PowerShell Studio (except with end task) which may end up causing data loss. I think it might just a problem with 'Undo' and 'Redo' overall. I reverted to 191 and had error messages when dealing with other controls and undo/redo.
Reproduce:
New Form
Add TableLayoutPanel
Add a Textbox
Copy/paste Textbox several times in the TableLayoutPanel
CTRL-Z a couple times
CTRL-Y a couple of times
May have to repeat the undo/redo to produce the errors
Errors:
Unhandeled Exception: Cannot access a disposed object.
Cannot remove the specified item because it was not found in the specified Collection.
Non-negative number required.
Parameter name: count
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product: PowerShell Studio 2021 (64 Bit)
Build: v5.8.192
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18363.0
*** Please add details and screenshots as needed below. ***
I am using a TableLayoutPanel to organize some text boxes. After moving/adding some textboxes in the TableLayoutPanel with a Copy/Paste, CTRL-Z, and CTRL-Y, errors are produced. The error(s) can prevent closure of PowerShell Studio (except with end task) which may end up causing data loss. I think it might just a problem with 'Undo' and 'Redo' overall. I reverted to 191 and had error messages when dealing with other controls and undo/redo.
Reproduce:
New Form
Add TableLayoutPanel
Add a Textbox
Copy/paste Textbox several times in the TableLayoutPanel
CTRL-Z a couple times
CTRL-Y a couple of times
May have to repeat the undo/redo to produce the errors
Errors:
Unhandeled Exception: Cannot access a disposed object.
Cannot remove the specified item because it was not found in the specified Collection.
Non-negative number required.
Parameter name: count
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM