Re: XForms: getting integers from input field

Steve Lamont (spl@szechuan.ucsd.edu)
Sat, 8 Nov 97 14:33:56 PST

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

> I also have some comments aout form design since Ive seen some
> recent posts on it. I was thinking about some type of call back
> editor would be kind of neat. I suppose you'd have to keep all your
> callbacks in the file that fdesign creates, but it would come in
> handy instead of having to switch to an editor. ...

I disagree with this. Although it might be nice to have something
which allows you to build callbacks I think having a special callback
editor would be the wrong approach. Personally I like editing my code
with emacs -- it has a number of handy features for editing and laying
out C code the way I like it and I'd not be particularly happy about
having to learn yet another editor which wold more than likely not
have anywhere near the complement of features that emacs affords. I'm
sure there are others who feel similarly about vi (though, I confess I
have no idea why :-)) or TECO.

I'm also leery of using such a feature since I often end up adding
special includes, macros, and other supporting code to the callback
file since it belongs there. Supporting all of this would seem to me
to add a large amount of complication to the editor.

Personally, I never use the "create callbacks" feature after my
initial GUI design session in fdesign. It's easy enough to add the
callback boilerplate. Heck, if I really wanted to, I could probably
hack an elisp macro to do it and bind it to a key
(Ctrl-Alt-left-elbow-wiggle-ears-X, maybe?).

> ... Also, (ive seen
> this one mentioned) that when i open a file i have to create a
> button and delete it. This is a rather annoying "feature". ...

This has been fixed in 0.87.5 (perhaps in 0.87.4 but I'm not sure).
Now fdesign comes up with nothing preselected.

There was nothing to preclude you from selecting another object even
with the old fdesign.

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/