DataGridView bug?

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

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 6 years and 3 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.
User avatar
IanUoY
Posts: 91
Last visit: Wed Sep 20, 2023 2:44 am

DataGridView bug?

Post by IanUoY »

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. ***

PowerShell Studio 2017 v5.4.145
Windows 10 64-bit

*** Please add details and screenshots as needed below. ***

If you copy and paste a datagridview it gives two Edit and Add Columns options - see attachments dgvcopy.png

Regards

Ian
Attachments
dgvcopy.PNG
dgvcopy.PNG (16.71 KiB) Viewed 3405 times
User avatar
IanUoY
Posts: 91
Last visit: Wed Sep 20, 2023 2:44 am

Re: DataGridView bug?

Post by IanUoY »

In fact, checking it out further, it is not just when copying and pasting. Even when adding a new dgv component. In fact when I do that, I now have 3 edit and adds.

Ian
User avatar
mxtrinidad
Posts: 399
Last visit: Tue May 16, 2023 6:52 am

Re: DataGridView bug?

Post by mxtrinidad »

ImageHum! I wasn't able to replicate the issue on my machine: Windows 10 64bit with PowerShell Studio 2017 v5.4.145.
I'm not getting the duplicate Add/Edit. I even copy/paste the datagridview1.

Is it possible you can tell us the correct steps?
SP_Dg_02_2017-11-21_8-40-56.png
SP_Dg_02_2017-11-21_8-40-56.png (65.89 KiB) Viewed 3385 times
SP_Dg_01_2017-11-21_8-40-56.png
SP_Dg_01_2017-11-21_8-40-56.png (67.7 KiB) Viewed 3385 times
User avatar
IanUoY
Posts: 91
Last visit: Wed Sep 20, 2023 2:44 am

Re: DataGridView bug?

Post by IanUoY »

Could it be because my form already has dgv's on it that are configured with columns, formatting etc?

Certainly now I have 3 dgv's and 4 Add/Edit columns.

Not sure what to suggest as I can't really say what I could have done to cause the issue.

Ian
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: DataGridView bug?

Post by davidc »

I was not able to reproduce this either. Can you upload your psf file, so that we can attempt to reproduce this issue on our end?

https://www.sapien.com/support/upload
David
SAPIEN Technologies, Inc.
User avatar
IanUoY
Posts: 91
Last visit: Wed Sep 20, 2023 2:44 am

Re: DataGridView bug?

Post by IanUoY »

Hi David
The situation seems to have resolved itself.
Just gone in to check, and no longer do I see the multiple Add/Edits.
If the situation recurs I will post the psf.
How bizarre.
Thanks for checking though.
Cheers
Ian
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: DataGridView bug?

Post by davidc »

Thank you for the update and I'm happy that it is no longer an issue. It is possible that an obscure combinations of events triggered it.
David
SAPIEN Technologies, Inc.
This topic is 6 years and 3 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.