02-10-2022 11:34 AM - edited 02-10-2022 11:34 AM
Using LabVIEW 2021 (32-bit)
When creating a new control using "ctrl+drag" the control should get a number added to it, or incremented if there is already a space followed by a number at the end. However, I found (by accident) that if the control starts with a space, the numbers at the end are tacked on without a space a sometimes, which messes up the incrementing. I'll use underscores for spaces below.
Names of copied controls with starting control named "Numeric":
Numeric_2
Numeric_3
Numeric_4
Names of copied controls with starting control named "_Numeric":
_Numeric_2
_Numeric3
_Numeric3_2
_Numeric33
Maybe this shouldn't be fixed, because it alerted me to the fact that I had accidentally put a space at the beginning of the name, but I think it's still a bug 🙂
02-10-2022 11:48 AM
(I think we can almost guess how the underlying code looks like 😄 )