Request-file in Rebol/View 1.2.1.3.1 uses a rebol window whereas betas since then are using the windows native file requester. On WinXP this window is modal and blocks events to the main window, including, it seems, time events.
That's an interesting issue. (meaning, I don't have an answer) I will bring it up in rebol-view world, where we are working on rebol/view 1.3 Actually, it might be worth looking how request-file is implemented in View 1.2.1. You most likely can just copy the source to the request-file function into your code and use that in the newer beta I assume you are using. At least it will work. Anton. > On 21-Jan-04, Matt MacDonald wrote: > > > I'm having a problem with the Request File Function. I have a timer > > as an event in the feel of a form. One of the buttons on the form > > launches the request file dialog box. The problem is that while that > > dialog box is up, my timer event is paused. I'm using the timer to > > check for inactive users, so the timer needs to be going at all > > times. Anybody have any suggestions? Here is the code for the timer: > > > ; Probe time hold the timer interval, in my case it is usually 30 > > seconds main-form/rate: probe-int main-form/feel: make > > main-form/feel [ > > engage: func [face action event] > > [ > > if (event/type = 'time) > > [probe-messages probe-type] > > ] > > ] > > I'm not quite sure how your program works, but the timer in the > following keeps going while the file-requester is open... > > view layout [ > button "Request" [x: request-file] > time: field to-string now/time > rate 1 feel [ > engage: func [face action event][ > if event/type = 'time [ > time/text: to-string now/time > show time > ] > ] > ] > ] > > -- > Carl Read -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
