Re: XForms: fl_remove_idle_callback ?

Claes Andersson (claesand@fy.chalmers.se)
Fri, 30 May 1997 16:42:25 +0200

To subscribers of the xforms list from Claes Andersson <claesand@fy.chalmers.se> :

> and accidentally renamed the .fd file to the same as an existing, non-xforms
> code file. However, to have an "are you sure" prompt come up whenever you went
> to save from fdesign would be mildy to extremely annoying after a while. So how
> about a compromise ?
>
> It would be very easy for fdesign to put a "standard" comment at the top of its
> generated .c and .h files (eg /* Generated with fdesign */). When fdesign then
> went to save it could check for the existence of this comment in the .c and .h
> files. If the comment is NOT there fdesign would ask the user if he / she is
> sure to overwrite the files. If the comment IS there it can assume that the
> files may be overwritten without prompting (as they are definitely fdesign
> files).
>
> Comment ??
>
> TicH

This sounds like a terrific idea! Perhaps even better than having a "Save" and
"Save as.." option. With the latter, a new form could get the name "defaultXX"
or something. An attempt to save such a file would generate a question for a
genuine name. But, your idea sounds better...

/Claes Andersson
_________________________________________________
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/