XForms: order of visitation

Dick Middleton (dick@sqf.hp.com)
Tue, 8 Jul 1997 08:41:39 +0100

To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

> To subscribers of the xforms list from Gary Huckabay <gx@bear.sirinet.net> :

> > from Gary Huckabay <gx@bear.sirinet.net> :
> > >
> > > If you have a number of input boxes, is there a simple way to change the
> > > order in which the cursor visits the boxes (via the tab key) other than
> >
> > There is no easy way to do this. One way or another, the order in which
> > the input fields get added to the form has to be re-arranged. Using
> > cut&paste from within fdesign perhaps is the only way to do it without
> > spliting hair.

> I guess I didn't make myself clear. How do you control which object is
> visited first? Is it the newest object? The oldest object? Is it
> determined by physical positioning?

> It seems that I can take a form with many objects, delete a few, add a
> few, and then the visitation order isn't what I expect.

My limited observation indicates that it's the order the fields appear in
xxx.fd i.e. the order they are added to the form in create_form_xxx. xxx.fd
can be edited to rearrange the order.

One way to do this in fdesign would be to have an "order" field which
contained an integer specifying the object tab position. Although preset by
design it could be changed through the GUI. fdesign would have to sort the
objects according to this number when emiting the code.

Dick

--

dick@sqf.hp.com _________________________________________________ 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/