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

World: r3wp

[I'm new] Ask any question, and a helpful person will try to answer.

Bobik
5-Oct-2005
[195x2]
I can not understand behaviour of my example:
If i have a script1.r:
view layout [ ...
  btn "script2" [
    do %script2.r      
    print 123
  ]
]
... and sript2.r has: view layout [.....]
I expected that <print 123> will not execute because 
script2 has view layout... (no view/new layout [...])
but <print 123> will execute ...
Gabriele
5-Oct-2005
[197]
view does not wait if there's another view waiting already.
Bobik
5-Oct-2005
[198]
thanks..
Anton
6-Oct-2005
[199]
Bobik, looks like you want to make a script launcher. See if you 
can use LAUNCH to run your script. (limited to one level though.)
Bobik
6-Oct-2005
[200x3]
uuoop, i don't know this command :-)
thanks..
so i'm testing this now :-)
Pekr
6-Oct-2005
[203x3]
Gabriele - in Bobik's example - has it anything in common with waiting 
actually?
rebol has not tasking. So I wonder how is that once you execute %script2.r, 
print 123 is printed
ah, maybe now I understand .... :-)
Gabriele
6-Oct-2005
[206]
source view :-)
Pekr
6-Oct-2005
[207x3]
one almost starts to think, that there might be some multitasking 
involved :-)
btw - Gabriele - you are the author of modal system update for 1.3? 
Not sure it ever worked, but Graham said so, it is in RAMBO already 
- but - using show-popup, should we be able to get modal window?
.... as with 1.3, when you use dialog boxes (alerts for eg), you 
can click background window ...
Gabriele
6-Oct-2005
[210]
modal, yes. always-on-top, no (that needs native support)
Pekr
6-Oct-2005
[211]
modal? How - it was one of bobik's earlier questions, we tried a 
lot, but nothing worked for us ...
Gabriele
6-Oct-2005
[212]
use inform instead of view
Pekr
6-Oct-2005
[213x3]
as for always-on-top or other modes of Windows, it is a pity we don't 
have them. It is just one single function call, which even C lamer 
as me was able to wrap ;-) ShowWindow or ShowWindowPos
it does not seem to work:

view layout [btn "So what?" [inform layout [text "So what?"]]]
I can get to underlying window ...
Gabriele
6-Oct-2005
[216]
you can get to it, but it ignores events. again, always-on-top needs 
native support, there's nothing we can do about it.
Pekr
6-Oct-2005
[217]
aha .... it is a bit tricky, because you can get-to-it, exactly as 
you said - so it does not receive events, but it can get focus, so 
your dialog-box may go under the initial window and user might think 
app is blocked ...
Gabriele
6-Oct-2005
[218x3]
hopefully the parent option will be made to work again.
one trick might be to check regularly if the modal window is on top, 
and if not, bring it on top.
altme does something like this (try to open a subwindow, like a group 
window and so on)
Pekr
6-Oct-2005
[221x2]
I am not sure Rebol low level windowing system is not weak a bit 
... Rebol should imo detect two or more monitors and put them in 
system/view/screen-face .... as a several blocks .... or even it 
should probably get to multiple desktops ....
ah, changing it in pane? Cute ..... :-) Bobik came up with other 
trick - he simply made bitmap of underlying window and he does his 
dialog on that bitmap. So user thinks he still sees his bacground 
window, while it is only a bitmap .... or something like that. Not 
sure I understood him correctly ...
Gabriele
6-Oct-2005
[223]
well, why not putting the requester in the main window's pane then.
Bobik
6-Oct-2005
[224]
so how can i get layout of requester(f.e. request-text) to do it 
?> insert tail system/view/sreen-face/pane/1/pane   <what?>
Bobik
7-Oct-2005
[225]
ehhm - Pekr  has explained this idea, so thanks a lot...
OneTom
22-Oct-2005
[226x2]
is there any standary way to specify a search path for library kind 
of rebol source files what are tipically imported to end-user programs?
i have seen #include in rebgui.r but as help #include says as well, 
its an issue, not a function.. :/ (i read about it somewhere that 
its a kind of "directive" for the rebol/sdk or what?)
Graham
22-Oct-2005
[228]
#include is an encap ( well, a pre-rebol ) directive.
Volker
22-Oct-2005
[229]
prebol is a preprocessor. it puts all files in one script. if you 
want, a dialect for merging scripts. and #include is one of its commands.
OneTom
22-Oct-2005
[230]
good to know, but what is the solution to my problem if there is 
any at all? or plz change me mind about it so i wont need it in the 
future
Graham
22-Oct-2005
[231]
Maxim has a library manager which is in the library.
OneTom
22-Oct-2005
[232]
thx! will have a look at it later
Ladislav
23-Oct-2005
[233]
see http://www.fm.vslib.cz/~ladislav/rebol/include.rhttp://www.fm.vslib.cz/~ladislav/rebol/include.html
Bobik
29-Oct-2005
[234x3]
hello, could you anybody help me, how to use "multi" if i am making 
own style...
i see in examples, that i can use word text, file... so can i use 
f.e. logic?
Or where can i find documentation about it?
Anton
29-Oct-2005
[237]
LAYOUT calls GROW-FACETS which handles some types and collects others 
in blocks to let NEW/MULTI handle them (where NEW is the face which 
is being created.) See the code here:
print mold get in svv 'grow-facets
Volker
29-Oct-2005
[238]
It collects lonely values and puts them in facets. a string is put 
in /text, a tuple in /color etc. multiple values are put in /texts, 
/colors etc.
Bobik
29-Oct-2005
[239]
so  thank you , i will try to understand it :-)
btiffin
16-Jan-2006
[240]
Not seeing messages.  Sorry for the traffic.
Graham
16-Jan-2006
[241x2]
not many being posted.
but you can try and force a synchronisation by posting a "." in each 
channel :(
[unknown: 9]
16-Jan-2006
[243]
Hey Brian, there is something else you can try, it is a theory I 
have.  Uninstall AltME. Reinstall, and sync back up.  When you think 
it is finished, close out, and start again, let it sync again.
If you are willing....



I never see this "." problem, but many do.  Most people in our office 
don't, and it just might have something to do with the way it was 
originally synced.
Henrik
16-Jan-2006
[244]
it sometimes help for me to logout and in a few times...