r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Geomol
21-Sep-2005
[2680x2]
Just a hint, if you can use it.
It was a bit wrong saying: "no matter what other style is in focus". 
Most styles are not in focus like that. They get events. Putting 
a style in focus mean, it's ready for some text input. Using VID's 
key style puts an event filter high up in the event system, so keyboard 
shortcut events can be filtered, before the styles further down the 
event-system get the events.
Gabriele
21-Sep-2005
[2682]
Geomol: actually, there is a reason to focus a face without having 
a caret in it; for example, if you have two styles that can be controlled 
by the arrow keys in the same layout. VID's keycodes are global and 
detected at the window level, which isn't always a good idea.
Geomol
21-Sep-2005
[2683x2]
Aha! I've never used focus this way, but I see the point.
(Then I learned something today too.) :-)
view layout [b: box red feel [engage: func [face action event] [print 
["box" action event/key]]] key #"k" [print ["Key 'k' pressed!"]] 
do [focus b]]
james_nak
21-Sep-2005
[2685]
A couple of questions: Is there a switch to start view in the console 
mode (CLI)? I know I can do something in the user.r but I'd like 
to do it from a prompt on demand. And also, anyone have any idea 
why my emails sent via a rebol program take so long to arrive. Any 
special settings in the header or hints. I 've created a program 
that sends emails to a list but I notice that it takes a long time 
(30 minutes or more) to receive the email. I checked by sending from 
Outlook and through the command line in rebol and it  was instantaneous. 
There's something happening and I wonder if any on you  have seen 
this.
MikeL
21-Sep-2005
[2686]
james ... on the view desktop see menu User. The dialogue User Settings 
opens. On it there is a line "open desktop on startup"
james_nak
21-Sep-2005
[2687]
Thanks Mike. Can this be done programatically? I mean when I start 
rebol, I use I call it from the command line. What I'd like is to 
be able do something like "view.exe -console" for example.
Volker
21-Sep-2005
[2688]
How about a script for that? only containing halt. then "rebol con.r".
james_nak
21-Sep-2005
[2689]
Hmm. That's an idea. Thanks.
Pekr
22-Sep-2005
[2690]
does View 1.3 allow modal windows? I mean - you want user to confirm 
something and you want him/her to block from access to backrgound 
windows of your app ....
Graham
22-Sep-2005
[2691]
view layout [ title "Modal Test" button "Alert" [ alert "Modal test" 
]]
Pekr
22-Sep-2005
[2692]
main window can get focus, but at least it does seem to not being 
active event-wise ...
Graham
22-Sep-2005
[2693]
that's a bug .. that appeared in the betas.  Before that, the main 
window did not get focus.
Pekr
22-Sep-2005
[2694x2]
ah, now I see - it is based upon 'inform and show-popup ...
so did anyone anything to focus/event system in betas?
Graham
22-Sep-2005
[2696x2]
huh?
You really are trying to make us read twice!
Pekr
22-Sep-2005
[2698]
why? what did I say?
Graham
22-Sep-2005
[2699]
exactly. who knows?
Pekr
22-Sep-2005
[2700]
I don't understand your logic then ... you said there is a bug, probably 
somewhere around focusing ... I asked, if someone did any changes 
in View for beta release?
Graham
22-Sep-2005
[2701x2]
well, that wasn't what you wrote.
However, I did file a RAMBO report on this issue.
Pekr
22-Sep-2005
[2703]
second - you provided me with example .... using 'alert .... so I 
looked into alert (as I don't want just alert window, but my own 
window with some other elements, which will deny leaving focus to 
any of background windows), to see what is it based upon and so I 
just remarked that "the trick" is based upon 'inform function, which 
is based upon show-popup ....
Graham
22-Sep-2005
[2704]
http://www.rebol.net/cgi-bin/rambo.r?id=3801&
Pekr
22-Sep-2005
[2705]
OK, then my english is twisted or I do post too many thoughts in 
parallel .... if there would be some ability to attach particular 
message as an reaction to another one, it would be clearer, but I 
am not sure there is any kind of "thread based" IM client around 
:-)
Graham
22-Sep-2005
[2706]
view a: layout [btn 200x200 [view/new/options layout [btn 100x100] 
reduce ['parent a]]]
Pekr
22-Sep-2005
[2707]
you sure show-popup really blocked background windows in the past?
Graham
22-Sep-2005
[2708x3]
This is what you wrote "so did anyone anything to focus/event system 
in betas?"

I don't understand the question.
and yes, it used to stay infront of parent windows.
From memory, it changed behaviour around about March betas.
Pekr
22-Sep-2005
[2711x2]
ok, I thought so, once you told me that it is not what I wrote. It 
is because of wrong translation into english, it should probably 
be - "so did anyone any changes in (for?, into?) focus system for 
(in) recent betas?" How should I write it correctly in english?
btw my friend Bobik informs me, that he tried with 1.2.48 and it 
does not work too ... maybe you meant some 1.3 View branch, when 
1.3 project was started ....
Bobik
22-Sep-2005
[2713]
Yes it is true
Graham
22-Sep-2005
[2714]
Well, since RT is the only agency that can make changes, I would 
have asked .. "Did RT make any changes in the focus system for 1.3" 
and I would have said, yes :)
Pekr
22-Sep-2005
[2715x2]
Graham - is it? :-) I thought they have their "co-operators" from 
community now, no? Gabriele taking care of some bits of networking/LNS, 
Cyphre AGG stuff, Gregg something else and IIRC it was Romano who 
did some changes to VID focusing, no? So that is why I asked "anyone" 
instead of RT ... :-)
... and I don't expect Carl (RT) to check every bit of changes, as 
he imo expects us to do testing and post reports :-) Anyway - bug 
is submitted, let's hope it will get corrected ...
Graham
22-Sep-2005
[2717x2]
View1240031.exe prevents the parent window from coming to the front.
I can test it on others ... but I did this all before.
Pekr
22-Sep-2005
[2719]
ok, thanks ... that is a good info ...
Graham
22-Sep-2005
[2720]
In the old code, you can see things like, "Jeff, why did you do this 
for?" but I suspect that everything is now checked by Carl very closely.
Pekr
22-Sep-2005
[2721]
yes? heh, I wonder if Rebol does have some easter eggs :-)
Geomol
22-Sep-2005
[2722]
As a side-note, requesters in Canvas are using INFORM, thus are modal.
Graham
22-Sep-2005
[2723]
Anyone have an idea of how hard it would be to mockup similar dashboards 
to these ones ?

http://www.ve.com/kavachart/prod_va_demos.html
Henrik
23-Sep-2005
[2724]
not particularly hard, I think...
Graham
23-Sep-2005
[2725]
You're on Henrik.  Then we can post them to the wikibook as view 
examples :)
Henrik
23-Sep-2005
[2726]
woah, did I say that? :-) meanwhile I do have a different example 
that could be useful: http://hmkdesign.dk/rebol/clock.zip
Graham
23-Sep-2005
[2727x3]
So retro!
I have to step back across the room to read the clock :)
I wonder what the implementation approach to the patient management 
dashboard would be.