(unknown charset) Re: [BLACKBOX] limiting integer values in interactor field

From: (unknown charset) [at]} <Rene>
Date: Mon, 11 Jan 2010 22:03:16 +0100

----boundary-LibPST-iamunique-2067028331_-_-
Content-type: text/plain

Hi Gunnar,
I don't know about an onLeave for Notifiers, and I'm not sure if a guard
could be utilized to help. But why not use an up/down field?

Rene
>
> Hello all,
>
> there is an problem which came up recently: I wrote a little character
> sheet checker for a role playing game. The basic attributes are
> integer values, some of them between 3 and 18 (3W6 in short).
>
> What I did: I had the Notifier procedure for this field check, if the
> entered value is in the valid interval and setting it to the upper
> respectively lower boundary value. Safe.
>
> The problem: If you want to enter a value > 10, you first have to type
> the letter <1>. Right now the notifier kicks in and changes it to 6
> which is obviously undesired.
>
> Is there an elegant way to check the content of a field AFTER the
> input has been completed?
>
> I mean another way than putting a button there and having the user
> clock on it after each number he has entered. I could not for instance
> find an event like “onLeave” (moving the focus).
>
> regards
>
> gunnar
>
> ---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-2067028331_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBIaSBHdW5uYXIsXHBh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g0KPiB3aGljaCBpcyBvYnZpb3Vz
bHkgdW5kZXNpcmVkLlxwYXINCj5ccGFyDQo+IElzIHRoZXJlIGFuIGVsZWdhbnQgd2F5IHRvIGNo
ZWNrIHRoZSBjb250ZW50IG9mIGEgZmllbGQgQUZURVIgdGhlIFxwYXINCj4gaW5wdXQgaGFzIGJl
ZW4gY29tcGxldGVkP1xwYXINCj5ccGFyDQo+IEkgbWVhbiBhbm90aGVyIHdheSB0aGFuIHB1dHRp
bmcgYSBidXR0b24gdGhlcmUgYW5kIGhhdmluZyB0aGUgdXNlciBccGFyDQo+IGNsb2NrIG9uIGl0
IGFmdGVyIGVhY2ggbnVtYmVyIGhlIGhhcyBlbnRlcmVkLiBJIGNvdWxkIG5vdCBmb3IgaW5zdGFu
Y2UgXHBhcg0KPiBmaW5kIGFuIGV2ZW50IGxpa2UgXCc5M29uTGVhdmVcJzk0IChtb3ZpbmcgdGhl
IGZvY3VzKS5ccGFyDQo+XHBhcg0KPiByZWdhcmRzXHBhcg0KPlxwYXINCj4gZ3VubmFyXHBhcg0K
PlxwYXINCj4gLS0tLSBUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJT
SUdOT0ZGIEJMQUNLQk9YIiB0byBccGFyDQo+IExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSFxwYXIN
Cj5ccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNz
YWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0J9fQAA
AAAAAAAAEQAAAA==
----boundary-LibPST-iamunique-2067028331_-_---
Received on Mon Jan 11 2010 - 22:03:16 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:37 UTC