[futurebasic] Edit field typing and updating...

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2002 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Thu, 17 Jan 2002 04:44:19 -0500
How does one , as an edit field is being typed into, know that the field is
being typed into, so one can update that or other fields based on the
current value typed?

I have a scale dialog, where there is a field for Horz and Vert, and if the
setting is to keep things proportional, then the other field value needs to
be figured as the primary one is being typed into, with each key press.

My app uses a DoDialog loop.

Is this a situation where you have to see if your dialog is in front, then
do anything based on any _evKey event?

Anything more elegant?  I know you get the _efClick the first time you
click into a field. But you don't get an _editTypedInto event. :)

Or is this a case where I will just have to have a Watchdog FN to nab the
fields on a timely basis via the HandleEvents loop?

Would prefer one based on a key being pressed or whatever is the proper route.

Thanks for any info.

rc