Thank you man. All problems are solved now.
So just two questions so i can understand it a bit better, since im a beginner. The controlspec.specs is like a global dictionary in which specs are stored by key? And with ControlSpec.specs[\someKey] you can get and set that spec? And in the envir of a pdef you create the names(and some initial value) of keys for which behind the scenes controlspecs are made for the gui and are stored in that global dictionary.
And maybe not the most important thing to know, but why does the Pkey(\dr) not repeat in a Pwhite but it does in a Pseq.
To be honest I’m not very familiar with PdefGui internals. Basically I did a lot of trial and error until I had something that worked Your description sounds plausible, but the only way to know for sure is to dive into the code I’m afraid.
For the Pwhite, what makes you think the Pkey are not repeating? Did you try adding .trace to them?
I’d suggest to try setting their repetition value to 1 in the Pwhite and try out what difference it makes.