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

From: (unknown charset) [at]} <Robert>
Date: Mon, 11 Jan 2010 20:46:34 +0000

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

Gunnar

I suspect there is not an ideal solution, in any programming language!

What works reasonably well for me is to clip the input in a Services.Action
after about 1 second.

Cheers

Robert



On 11/01/2010 17:52, Bernhardt, Gunnar wrote:
> 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
>
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.725 / Virus Database: 270.14.134/2614 - Release Date: 01/11/10 13:29:00
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-415050550_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFx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o
aXMgaW5jb21pbmcgbWVzc2FnZS5ccGFyDQo+IENoZWNrZWQgYnkgQVZHIC0gd3d3LmF2Zy5jb21c
cGFyDQo+IFZlcnNpb246IDkuMC43MjUgLyBWaXJ1cyBEYXRhYmFzZTogMjcwLjE0LjEzNC8yNjE0
IC0gUmVsZWFzZSBEYXRlOiAwMS8xMS8xMCAxMzoyOTowMFxwYXINCj5ccGFyDQpccGFyDQpccGFy
DQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lH
Tk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT319AHAHAAAaAAAABg4AAA==
----boundary-LibPST-iamunique-415050550_-_---
Received on Mon Jan 11 2010 - 21:46:34 UTC

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