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

World: r3wp

[View] discuss view related issues

Maxim
4-Nov-2010
[10466]
chanes = increases
Gabriele
4-Nov-2010
[10467x2]
the real question (which I posted on FB as well, but in italian as 
I was commenting a friend's link), is whether there is any proof 
that this is "better" than swype
it's a bit like dvorak - as much as i like it, use it, and prefer 
it to qwerty, there is no actual independent study that proves that 
it is "better"
Maxim
4-Nov-2010
[10469]
well, swype does require you to "aim" the letters... 8pen could be 
used by a blind person within a short time.
Gabriele
4-Nov-2010
[10470x2]
you're now making it special purpose.


don't forget that a lot of people already know the qwerty layout 
so "aiming" the letters is pretty natural. then there was also that 
other input method where it could figure out what you type even without 
a keyboard on screen (forgot the name)
here it is: http://www.youtube.com/watch?v=M9b8NlMd79w
GrahamC
4-Nov-2010
[10472x2]
sounds like you could combine the two .. but the reason I posted 
the link is because I thought it could be easily programmed in R
Whether some is better than something else appears to matter little 
when determining popularity
Cyphre
4-Nov-2010
[10474]
Maxim, re SCALE that is a known issue in R2 DRAW. Not sure when(if) 
will be fixed...use R3 ;)
Gabriele
4-Nov-2010
[10475]
Graham, I never talked about popularity, indeed. :)
GrahamC
4-Nov-2010
[10476]
Gab, fact is .. I don't read Italian :)
Gabriele
5-Nov-2010
[10477]
lol... i meant, in the discussion here. :-)
amacleod
20-Nov-2010
[10478x2]
I'm getting some strange giberish characters when I clear a drop-down 
by filing it with "". Is there a better way to do it?
Found the prob...
I was using "Clear myropdowndata" 
Changed it the "Mydropdowndata: [ ]

Seemed to affect other fields as well
GrahamC
20-Nov-2010
[10480]
try 

clear head mydropdowndata/data

if using rebgui
Gregg
22-Nov-2010
[10481]
Sometimes, not sure with dropdown data, you need to update the line-list 
facet as well. A few styles force you to work with their internals 
this way, when doing more than simple UIs.
Endo
1-Dec-2010
[10482]
In View 2.7.7.3.1, get-net-info function gives the following error:
** Script Error: get-reg has no value
** Where: get-net-info
** Near: def-mailer: get-reg/hkcr "mailto\shell\open\command" ""
Oldes
1-Dec-2010
[10483]
I guess GET-NET-INFO is some left over from REBOL's boot and should 
be unset when it finish. It's same as in 2.7.6
Endo
1-Dec-2010
[10484]
I see, thanks.
ddharing
7-Dec-2010
[10485]
I'm having trouble changing the scroller size (i.e. width) for the 
text-list style. Changing the font size was easy enough. I'm trying 
to make it bigger to accommdate fat fingers on a touch screen display. 
Has anyone done this before? Thanks.
Anton
7-Dec-2010
[10486x3]
print mold svv/vid-styles/text-list/init
Note the hardcoded size 16x0.
You just need to patch that.
ddharing
7-Dec-2010
[10489]
Anton, that worked great. Thanks.
Anton
7-Dec-2010
[10490x2]
stylize/master [
	fat-list: text-list with [
		use [blk][
			init: copy init
			blk: copy select init [pane: layout/size]
			replace/all blk 16x0 32x0
			change/only find/tail init [pane: layout/size] blk
		]
	]
]


view center-face layout [fat-list "Is the scroller" "fat enough?"]
Oh, you already did it.
ddharing
7-Dec-2010
[10492]
Yes, but yours is more elegant than the crude patch job I just did 
to the actual text-list style. :)
Anton
7-Dec-2010
[10493]
It depends on if you need the original text-list style unmodified 
alongside your patched version. If you intend merging in other code, 
then it's better to derive a new style. If not, then it doesn't matter.
ddharing
7-Dec-2010
[10494]
I decided to leave the original style alone and use your fat-list 
definition for the reasons you stated. Thanks.
GrahamC
25-Dec-2010
[10495]
When writing a spreadsheet/grid, is it better to give each cell a 
name, or work out the location based on  a grid reference?
Steeve
25-Dec-2010
[10496]
I would say both of them, but are you talking about the user interface 
of the style or something else ?
GrahamC
25-Dec-2010
[10497]
accessing cells programmatically .. ie. populating them with data
Robert
26-Dec-2010
[10498]
Both make sense. We use a name generator on our RebGUI grid implementation, 
the nice thing about this is, that it's position independent. If 
the column order etc. changes, the names stay the same.
Gregg
27-Dec-2010
[10499]
If you expect to support large, dense, spreadsheets, you may want 
to minimize storage by having a name mapping interface. If the target 
is small/medium/sparse sheets, having the name explicit for each 
cell may be practical. In any case, having a alias system would be 
nice, for named cells and ranges.
DideC
28-Dec-2010
[10500x3]
>> view layout [
[     box white 327x327 draw [
[          pen logo.gif fill-pen off box 100x100 300x300
[         ]
[    ]
** Script Error: draw expected image argument of type: image pair
** Where: do-facets
** Near: draw [
    pen logo.gif fill-pen off box 100x100 300x300
]
...but this is an example from the Wiki docs : http://www.rebol.net/wiki/Pen
It error out with 2.7.7,  1.3.1, 1.2.8 so whats-up ? Is this just 
R3 Draw capability ?
Cyphre
28-Dec-2010
[10503]
you are missing the EFFECT facet in your code (the DRAW block is 
inside EFFECT block in R2) so the correct way is:

 view layout [
     box white 327x327 effect [draw [
          pen logo.gif fill-pen off box 100x100 300x300
         ]]
    ]
DideC
10-Jan-2011
[10504]
Oh my god. sorry for the mistake. Jumping from R2 to R3 syntax make 
me dumb.
GrahamC
18-Jan-2011
[10505x2]
Is there a way to set focus on a field and then send some characters 
into the keyboard buffer or something to simulate key strokes?
Or, should I be looking at some windows macro programs?
Maxim
18-Jan-2011
[10507]
you can in glass ;-)
GrahamC
18-Jan-2011
[10508]
unfortunately I can't rewrite 1000s of lines to just solve one issue
Maxim
18-Jan-2011
[10509]
the standard view doesn't have programmable events.  but you can 
set the field's data after focus...
GrahamC
18-Jan-2011
[10510]
that doesn't work .. so I'm thinking some key recorder or something
Maxim
18-Jan-2011
[10511]
what do you mean it doesnt work?
GrahamC
18-Jan-2011
[10512x4]
it's a RebGUi issue
there's a bug in my widget and i have to stuff one character in it, 
delete it and then insert the characters I want
I don't think you can insert a del
or backspace ...