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

World: r3wp

[View] discuss view related issues

Pekr
11-Jun-2005
[1228]
Just an usability question - when I have radio button in my design, 
I can "turn it on", but can't turn it off. I know I should use check-line 
instead probably, but is it correct that single radio button can't 
be deselected, if it allows to be selected? :-)
Anton
11-Jun-2005
[1229]
yep :)
Pekr
11-Jun-2005
[1230]
yep
 means yes, or no? :-))
ChristianE
11-Jun-2005
[1231]
Yep

 means yes: since there is only one single "Yep" in Anton's answer, 
 you can't turn it off by selected a "No" there!
Pekr
11-Jun-2005
[1232x2]
Is that OK though? I have to find some windows app and try it :-)
Mostly you use radio buttons in a group, so ....
Anton
11-Jun-2005
[1234]
That's right. Radio buttons make no sense unless they are in a group. 
If you want a single on and off option then you must use a checkbox.
Henrik
11-Jun-2005
[1235]
how do the pane buttons in the Rebol/View User Setup get the pressed 
state look when they are active?
Pekr
11-Jun-2005
[1236]
maybe they are not buttons, but toggles? Ehm ... not btns, but togs 
:-)
Henrik
11-Jun-2005
[1237x3]
I seem to have found a solution, but it's ridiculously complex...
pekr: ah thanks. I didn't know there were new versions of toggle
now it works. way simpler. thank you very much, pekr
Pekr
11-Jun-2005
[1240]
well, thank to others. I just asked few days ago if there is new 
version of toggle, and someone (Ashle?) gave me an advice :-)
MichaelAppelmans
11-Jun-2005
[1241]
how do I keep the view window open if I run rebol.exe  myscript.r 
so I can see the results? thanks.
ChristianE
11-Jun-2005
[1242]
Put a HALT at the end of the script. If you want to see the console, 
simply print something like PRINT "finished"
MichaelAppelmans
11-Jun-2005
[1243]
thanks!
Ammon
12-Jun-2005
[1244x2]
Ok, that was weird!  I just started View and it told me there was 
a new version to be downloaded and when I clicked download it popped 
up a file requester asking me where I want to download view.exe to. 
 The weird part is the default path it popped up was C:/Program Files/Common 
Files/System/Mapi/1033/NT  Where the hell did that come from?
Hm...  Somehow VIEW is triggering my Virus Scan Software...  Not 
sure just what is going on but when I run View 1.2.125 it is telling 
me that there is a new version of View available and immediately 
thereafter my Virus Scan is popping up a requester claiming files 
that I KNOW aren't viruses are viruses.
Graham
12-Jun-2005
[1246x5]
I just ran the View desktop, and was advised of a newer version.. 
which I duly downloaded.
REBOL/View 1.3.0.3.1 10-Jun-2005 Core 2.6.0
Copyright 2000-2005 REBOL Technologies.  All rights reserved.
REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM
So, looks like 1.3 has actually now been released.
And the familiar rebol icon is back again.
http://www.rebol.com/download.htmlshows the new download versions
Sunanda
12-Jun-2005
[1251x2]
Officially released 10-jun according to the download page:
http://www.rebol.com/view-platforms.html
[oops we typed at the same moment]
Graham
12-Jun-2005
[1253x3]
I guess it might be worthwhile waiting for LNS to do a library interface.
Kill two birds with one stone as it were.
Now, where is Viewcmd 1.3 ?
Pekr
12-Jun-2005
[1256x4]
rebol 1.3.0.3.1 final - upgrade command, and the result? "You are 
running an unknown version of REBOL." :-)
what do you mean by "library interface" Gregg?
Can someone try 'call and 'sound interface? At least 'call seems 
to work, while when you start Desktop, those components are listed 
as "(View/Pro). If those are unlocked, then Desktop text should be 
enabled ...
enabled=corrected
Graham
12-Jun-2005
[1260]
well, my gomoku script which uses sound dies under 1.3 :(
Pekr
12-Jun-2005
[1261]
that is bad, and probably mistake by RT, not intention - they claimed 
sound will be free for 1.3. 'call seems to work here, but I have 
license key, so I wonder if I don't run /Pro.
Graham
12-Jun-2005
[1262x2]
I have /pro license .. just saying that my script dies
because of other problems with new View 1.3
Pekr
12-Jun-2005
[1264]
hmm, anyway - why console does not report anymore you are using license? 
That way I can't be sure if I run /Pro or not ...
Graham
12-Jun-2005
[1265]
sound works for me
Henrik
12-Jun-2005
[1266]
Is there a "proper" way to set font properties for a single element, 
such as 'text after the layout is created?

I'm trying:
view layout [a: text "12345" b: text "12345"]


and set the font size for a: a/font/size: 14 (b is 12 at this point)

then I unview it and:
view layout [a: text "12345" b: text "12345"]
once more. Now b has font size 14 as well.

They seem to share the same font object....
Ashley
12-Jun-2005
[1267]
Does %user.r work with View 1.3. I add the following line to %/c/rebol/view/user.r

	print "User.r called"


then double-click the %rebol.exe file in the same directory ... but 
no message.
ChristianE
12-Jun-2005
[1268]
Henrik, in these cases you need a local font object.
Henrik
12-Jun-2005
[1269]
and set the font size for a: a/font/size: 14 (b is 12 at this point)

 <--- I don't set a to a/font/size there although it looks that way, 
 sorry.

should be "and set the font size for the variable a to: a/font/size: 
14"
Ammon
12-Jun-2005
[1270]
I'm not sure just how that changed, Ashley, but I did hear some talk 
somewhere here about execution of user.r being removed because its 
a security issue...
ChristianE
12-Jun-2005
[1271]
A and B share the same, so what you need to do is
Ashley
12-Jun-2005
[1272]
view layout [a: text "12345" font-size 14 b: text "12345"]  ?
ChristianE
12-Jun-2005
[1273]
a/font: make a/font [size: 12]
Henrik
12-Jun-2005
[1274x3]
ashley: I can't determine font size at layout time
christianE: interesting, I'll try it. thanks
christianE: it seems to work, thanks :-) now to integrate it into 
my program...
ChristianE
12-Jun-2005
[1277]
You're welcome.