comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Widget problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Widget problem [message #4700 is a reply to message #365] Thu, 06 July 1995 00:00 Go to previous message
patterso is currently offline  patterso
Messages: 36
Registered: February 1995
Member
Jyothi Kirani (jvk) wrote:
: Can any one help ?
:
: I have written a small widget interface in which I have a bunch of text fields.
: I wanted to know whether I can move the cursor to the next text field as soon
: as a return key is hit in the previous text field, without using the mouse.

: If anyone has any ideas as to how to implement this, please let me know.

: Thanks,
: jyothi.

I tried mailing you an answer but jvk as a mailing address doesn't
get very far :)

Anyway, here's my stab at it...

Could you put some sort of checking mechanism in the UVALUE associated
with each text field. Perhaps a UVALUE.NEXT flag. Check the UVALUE when
an event activates the callback, and if it is set, move to the next
field. If it is not set, don't move. I guess you would also need a
method of storing the widget ID of the next field, but again
you could use UVALUE.NEXT_ID. The only tricky bit would be to
fill this structure field correctly when you construct the
Widgets.

Hope this is some help. Sorry if I have totally misunderstood what you
were trying to do :)

Tim
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Widget problem
Next Topic: multi-surface plot

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 20:42:45 PST 2025

Total time taken to generate the page: 1.20189 seconds