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

World: r3wp

[View] discuss view related issues

Anton
9-Mar-2005
[594x2]
(not just strings - all series! types actually)
Here is another small optimization:
s: join rsd/year either delim [
	["/" two-digits rsd/month "/" two-digits rsd/day]
][
	[two-digits rsd/month two-digits rsd/day]
]
Pekr
9-Mar-2005
[596]
http://www.opentv.com/onair/shopping/- kind of apps which View could 
excell at. Do you remember Gateway catalog demo?
Chris
9-Mar-2005
[597]
Brock: where I am tempted to use 'copy, I'm often try and think of 
any potential benefits of using series modifiers instead.  Depends 
on the situation I suppose...
Guest
13-Mar-2005
[598]
howto: append a block to list (view) during runtime from a function. 
how can I address the data from the listobject ?
Chris
13-Mar-2005
[599x2]
Is there a way to constrain the size of a Draw text object?  eg. 
[pen black text 10x10 200x200 "My Text Here"]
Guest: that depends on how you are using the List style as it is 
fairly open-ended.
Volker
14-Mar-2005
[601x3]
list or text-list? with list you keep your own data. with text-list 
 append tl/data [lines]  show tl/update
IIRC
size of draw-text: you want wrapping? afaik not. there is a complicated 
handmade way, you make a face of that size with 'wrap and use that 
to calculate the lines.
Max has a function to calculate the wrapping: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-message.r?m=rmlMYRC
Robert
14-Mar-2005
[604x3]
I have a text-list in a layout and I have a simple log-function:
log: func [message [string! block!]][
	append log-list/data rejoin [now/date "/" now/time " " message]
	show log-list
]
If MESSAGE is longer than the width of the text-list MESSAGE isn't 
shown. Why this? The first two parts NOW/DATE and NOW/TIME are shown.
I expected that MESSAGE gets clipped
Graham
14-Mar-2005
[607x2]
yeah, but it doesn't. .it just gets dropped from the display
That has been annoying me for some years.
Robert
14-Mar-2005
[609]
Hmm... is there a simple fix, patch available?
Ammon
14-Mar-2005
[610]
I don't recall ever running into that specific problem before but 
I know that I've always done more than just SHOWing the text-list 
after updating its data...
Robert
14-Mar-2005
[611]
Ok, that's a hint. So Ammon, what have you done? :-)) Shoot it?
Ammon
14-Mar-2005
[612]
What version of REBOL are you using?
Robert
14-Mar-2005
[613x2]
Link
REBOL/Link 1.0.6.3.1 3-Aug-2002
Ammon
14-Mar-2005
[615]
text-list/update
Chris
14-Mar-2005
[616]
Sounds like a wrapping issue in the iterated faces...
Ammon
14-Mar-2005
[617]
Yes it does.
Graham
14-Mar-2005
[618]
yeah, wraps to another line that you can't see
Robert
14-Mar-2005
[619]
I try it... just a moment.
Chris
14-Mar-2005
[620x2]
Add this to your text-list:
with [append init [iter/para/wrap?: false]]
Robert
14-Mar-2005
[622x2]
Ammon, nice effect: It doesn't update at all :-)) I have to click 
into the text-list than it updates. But the long line is still missing.
But I don't want to wrap it. I just want to see as much as possible 
with the rest being clipped.
Ammon
14-Mar-2005
[624x2]
Did you show it after you updated it?
Try the code Chris gave...
Robert
14-Mar-2005
[626]
Now it updates but no long line. I try Chris' code. Need to go, sorry. 
Bye.
Robert
15-Mar-2005
[627]
Ok, this fixes the problem... Now the text is clipped.
Maxim
20-Mar-2005
[628]
aahhh, no matter how deeply you know something, there is always something 
that gets on your nerve...

changing the button font color seems to be a genuine pain... can 
someone refresh me why its impossible?


this doesn't work... altough I've allocated a stand-alone font and 
have removed all the dynamic code which AFAIK plays around with the 
font or text:



view layout [button "ok" font [color: red] with [feel: make feel 
[redraw: none over: none]]]

yet, this works:


view layout [text "ok" font [color: red] with [feel: make feel [redraw: 
none over: none]]]
Vincent
20-Mar-2005
[629]
you have to set 'colors, not 'color:

view layout [button "ok" font [colors: reduce [red white]] with [feel: 
make feel [redraw: none over: none]]]
for a button with inactive color red and active color white
Maxim
20-Mar-2005
[630x2]
strange I tried it earlier and it didn't work...
so basically, If I try with a font without colors attribute, then 
it should work?
Vincent
20-Mar-2005
[632]
for 'button yes - font/color is a copy of font/colors/1 at  init
Maxim
20-Mar-2005
[633x4]
AHHH that's it... forgot to look in init...
that is evil...
I mean, init swapping the color...
merci Vincent
Allen
21-Mar-2005
[637x2]
Anyone had Norton 2005 worm detection, blocking REBOL/view as a worm 
called "DeepThroat Trojan Horse" ? I've had it twice today whilst 
using rebol for ftp uploads
I'm hoping this a false reading, and my machine hasn't been infected/hijacked
Graham
21-Mar-2005
[639]
I tried to send a rebol archive the other day using my hotmail account 
( testing attachments with my webmail ) and it said it was infected. 
 Scanned it with bitdefender which said it was clean .
[unknown: 10]
22-Mar-2005
[640]
Does any one have a HINT on how i can make a dragg & drop Face to 
DROP within the bouderies of an underlaying face.. I.e. Im dragging 
a Face over a field of faces, when I drop it on the face below and 
then the dropped face should FIT itself inside the face below. Is 
there someting default for this in view/vid ? or do i need to calculate 
it myself? .. Its a kind of a Puzzle-piece drop...
Ammon
22-Mar-2005
[641]
Do you have access to the Developer IOS Server?
[unknown: 10]
22-Mar-2005
[642x2]
Mmmm no... dont have IOS here running...
Only have SDK en View/pro ...