Re: XForms: text objects

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 28 May 98 14:23:03 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> When a user enters an input field.. its corresponding callback is
> defaulted to be executed when the user LEAVES the field (ie: the user
> press's TAB or whatever).
>
> What I want is to display, in a text box, instructions for the user
> telling him what to type in. I want this to happen when he ENTERS the
> field..

This is different than what you originally asked.

Use a preemptive handler (prehandler). Select on FL_ENTER and
FL_LEAVE and post the appropriate thing to the label given the event
and/or the object.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/