Hi,
If I create a numberbox and set its width to 1, then it behaves somewhat like a toggle when clicked: if you click on it and its current value is non-zero it changes to zero, and if it is 0 it changes to 1. So you cannot click on it and write a number, which is nonsense, since you could write any one-digit number (0-9). Is there a way to override this behaviour?
ypatios escribió:
numbox2?
Well, the reason why I'm setting the width to 1 is to waste as little space as possible (knowing that the numbers to be used in this case never exceed 9). A one-digit-wide numbox2 is wider than a 2-digit wide numbox, so it doesn't help.
Anyway, is there some reason for the bizarre behaviour of numbox with width=1, or is it just a bug? For toggling between 0 and 1 one can already use a tgl, and also, ctrl+click on a numbox already does that, with any width........
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Matteo Sisti Sette wrote:
it's a feature. this feature is older than the toggle within Pd.
msdr IOhannes
IOhannes m zmölnig escribió:
Ah I see, it's there for historical reasons.
I guess it could be removed now...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Miller Puckette wrote:
It's a stupid feature in my opinion -- I should make it an option :)
i have to admit, that i agree on the first half of the sentence as for the second part, i would get rid of it all together. you can always use tgl if you need one.
mfgfsw IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list