• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp4382
r3wp44224
total:48606

results window for this page: [start: 25501 end: 25600]

world-name: r3wp

Group: View ... discuss view related issues [web-public]
Henrik:
9-Jan-2006
if you don't want any auto resizability, then MAIN-COL should be 
set to NONE, but this isn't tested thoroughly yet. The point is that 
in my lists, I mostly have some data columns that need to be short 
and then one long description column. It fits very well to have only 
that column to be resizable, plus the rows always neatly fits horizontally 
to the list view size.


Later I'll implement your much wanted system for horizontal scrolling 
and in that mode, MAIN-COL won't be needed as the list will take 
up the amount of width that it needs. Then it'll work more like a 
standard list.
Henrik:
10-Jan-2006
0.0.19 uploaded.

Changes:


      Fix: Rewrote docs to be much clearer, with more images and better 
      flow
      Fix: APPEND-ROW properly works during filtering
      Fix: MAIN-COL calculation was accidentally broken
      Fix: EDITABLE? is now default FALSE by popular request
      New: Easy column reordering with IN-COLS and OUT-COLS

    Main file is available at:
    http://www.hmkdesign.dk/rebol/list-view/list-view.r
    Demo and testcases available at:
    http://www.hmkdesign.dk/rebol/list-view/list-demo.r
    Docs are available in makedoc2 format at:
    http://www.hmkdesign.dk/rebol/list-view/list-view.txtand
    http://www.hmkdesign.dk/rebol/list-view/list-view.html
Graham:
10-Jan-2006
and the print statements as well.
Henrik:
11-Jan-2006
aligning column headers with list data doesn't work yet when using 
a custom row face. there are apparently still issues with MAIN-COL 
and it really wants to autoadjust the column width. otherwise the 
solution would be to just provide a set of pixel widths. I'll see 
what I can do about this.
Henrik:
11-Jan-2006
0.0.20 uploaded.

Changes:
      Fix: Documentation errors and updated images

      New: Visual indication of when the combined width of all columns 
      is smaller than the list width
      New: Fixed width columns finally work!
      New: FIT flag to enable/disable width fitting with MAIN-COL
Terry:
12-Jan-2006
AGG, and no ASYNC?
Pekr:
12-Jan-2006
I would forget MS IE version and concentrate on NS plug-in plus wrapper 
for IE ...
Terry:
12-Jan-2006
Yeah, forget 90% of all browsers, and go for  <10%.
Pekr:
12-Jan-2006
just go and read plug-in chat from yesterday, you will understand 
:-)
Pekr:
12-Jan-2006
why? Opera is rather popular here, it conforms to standards good 
enough, it is now adds free also. and don't forget - it is used on 
many mobile devices ....
Terry:
12-Jan-2006
Either way, I think the plugin is Rebol's only chance.. as the world 
moves more and more towards Web 2.0, Rebol's only hope, and opportunity, 
is to build widgets.
Pekr:
12-Jan-2006
yes, but we first need to get NS plug-in working, then trash IE's 
plug-in functionality, and think how to integrate ....
Pekr:
12-Jan-2006
current version has many problems and lots of things are undecided 
...
BrianH:
12-Jan-2006
MS had to disable the NS-compatible plugins by court order - some 
jerk (EOLAS) patented the idea of a plugin in a browser, and the 
overloaded US patent office didn't notice the prior art, much of 
which predated the Internet. Still pending, but MS preemptively dropped 
the patented method (the EMBED tag). EOLAS is waiting to see how 
this turns out before suing the rest of the world.
Pekr:
12-Jan-2006
noone other did it, and EOLaS lost, no?
Pekr:
12-Jan-2006
If I would met Eolas CEO, I would kick his ass :-) Their aproach 
is just not normal, but insane .... those patent things are just 
becoming really weird. I just wait when someone will be allowed to 
patent 1 and 0 :-)
Henrik:
12-Jan-2006
what's the best/most "friendly" and brief way to get a basic font 
object?
Henrik:
13-Jan-2006
0.0.21 of LIST-VIEW uploaded.

Changes:

      Fix: Fixed an instance where LIST-VIEW would crash with empty OUT-COLS
      New: FONTS block to set font objects for each column

      Fix: Got rid of the grey color bar at the bottom of the list view,

        when the list height didn't add up to the rows. Thereby, you no longer
        need to set COLORS/4 manually.
      Fix: Background color in COLORS was not used

      Fix: When using ROW-FACE, FIT = FALSE and the columns weren't filling
        out the header, the last text field would be darkened.

      Fix: Sometimes when HDR-COLS was not defined, LIST-VIEW would crash

      New: SHOW-EDIT now allows to select which column to focus on

    Main file is available at:
    http://www.hmkdesign.dk/rebol/list-view/list-view.r
    Demo and testcases available at:
    http://www.hmkdesign.dk/rebol/list-view/list-demo.r
    Docs are available in makedoc2 format at:
    http://www.hmkdesign.dk/rebol/list-view/list-view.txtand
    http://www.hmkdesign.dk/rebol/list-view/list-view.html
[unknown: 9]:
13-Jan-2006
So, Henrik, seemns to me you need a news section on your website, 
and then you can simply post one line of updates : )
This is looking really good.
Graham:
13-Jan-2006
For some reason, I can't get the scroller width to stay at 15 on 
resizing, and the edge button is still wider than the scroller width.
Henrik:
13-Jan-2006
and hdr-cols shouldn't be needed... the images in the docs show that
DideC:
16-Jan-2006
You need X, or use Rebol/Core if you use only CGI (and don't need 
View features like creating image on the fly)
Gregg:
17-Jan-2006
It should be possible. It's a parameter to the ShellExecute and SetWindowPos 
API functions.
Gregg:
17-Jan-2006
Oh, and ShowWindow.
Gregg:
17-Jan-2006
For which function? I think I have ShellExec and SetWindowPos mapped, 
but not sure about ShowWindow.
Henrik:
17-Jan-2006
brock, it's been corrected now and will be available in 0.0.23
Brock:
17-Jan-2006
Henrik.  What you are doing is really amazing.  I really enjoy watching 
projects advance.  Graham, Ashley,  John Niclasen and now you have 
let us watch an immature app/style/control grow into a more mature 
being.  I thank you all for this.
Brock:
17-Jan-2006
I was hoping Cyphre's style creation talk would be much on this exact 
topic of the steps needed to create a new style and walking through 
the creation of one.  Mainly to see if this was something that was 
rudimentary (even newbies could do) or very involved (only for the 
seasoned programmer).
Brock:
17-Jan-2006
It would be great if your project was broken down into the early 
stages of design considerations and implementing the design.  Allowing 
everyone to learn from the basic style creation to the addition of 
basic and advanced features.
Brock:
17-Jan-2006
I use Cyphres list style and asked him at one point what was involved 
in making the familiar style/control that allows selection of items 
in one list and moving them over to a second list either by double 
clicking on it or pressing buttons between the two lists.  I have 
no idea what this style is called, but it sure would be interesting 
seeing how you would implement this with your list style.
Henrik:
18-Jan-2006
brock, it's been a long and tough ride to get this far on my list 
view. This is actually somewhere around my 11th or 12th attempt at 
a list view where 3 of them were almost as functional as this one! 
So it has been because of this knowledge that it was possible to 
build LIST-VIEW this fast.
DideC:
18-Jan-2006
Have a look to the current list style. Use Anamonitor and look at 
the 'words facet. It's pretty easy to do.
Henrik:
18-Jan-2006
didec, I'm thinking about it, but it'll break a whole lot of stuff, 
and I hate long variable names :-)
Graham:
18-Jan-2006
Henrik, the main cost is in maintenance, and if you use abbrevs it's 
much harder for everyone to maintain later on.
Graham:
18-Jan-2006
it's just a search and replace.
DideC:
18-Jan-2006
Yes, but it's the interface of the style.

And an important thing I learn from Carl is "choose the right and 
shorter name that precicely describe what is it and avoid shortcuts". 
It come back in it's blog regularly.
Henrik:
18-Jan-2006
the way it works is that you have some basic retrieval functions, 
such as GET-ROW, GET-COL and such. They use fixed positions to get 
the row you want from DATA, such as if you want row number 6, you 
type in:

get-row 6


Then there are all the -HERE functions, which simply retrieve data 
from the selected rows and columns. If the name was to change, I'd 
probably go for GET-SELECTED-ROW and such.
Henrik:
18-Jan-2006
there is a problem with GET-SELECTED-COL, because it could be misinterpreted 
as you want to return the entire column, and not the single value 
at a specific position in a row. I've not adopted the term "cell", 
but would that be appropriate? I normally only associate it with 
spreadsheets.
Henrik:
18-Jan-2006
yeah, however there might be a slight confusion: Currently the -HERE 
functions take in account filtering and sorting, so that you always 
edit or retrieve the right row regardless of these settings. the 
other functions get and put directly in DATA. The behaviour would 
either need to change or I'd have to add another refinement
Henrik:
18-Jan-2006
suggestion:

insert-row - would add a row at the selected position


insert-row/at - would add a row at the position that can be seen 
in the list after filtering and sorting


insert-row/at/direct - would add a row directly in DATA at the position

insert-row/direct - would be ignored? (I don't like that)
Volker:
18-Jan-2006
you must be carefull in that function. and use system/words/at for 
the real one.
Volker:
18-Jan-2006
first infunction::
  at-ref: at at: get in system/words 'at
and the rest can stay the same. not elegant, but..
Henrik:
18-Jan-2006
or INSERT-ROW, INSERT-ROW/RAW and INSERT-ROW-AT
Henrik:
18-Jan-2006
/raw and /at wouldn't be used simultaneously anyway
Henrik:
18-Jan-2006
maybe INSERT-ROW, INSERT-ROW-AT and INSERT-ROW-AT/RAW would fit better...
Ryan:
18-Jan-2006
I you want it to be real slick, I would graph them out, pro and cons, 
etc. If you want it finished, keep up the good work.
Ryan:
18-Jan-2006
Anybody got a rebol routine for saving gifs? Perhaps the one I wrote 
years ago and happen to lose?
Henrik:
20-Jan-2006
and if I have a large set of faces in a pane?
Henrik:
20-Jan-2006
and more grouped faces inside those faces :-)
Anton:
20-Jan-2006
It does get complex, and possibly too slow, but you may be able to 
patch show usefully for your application.

Check out a patched SHOW near the bottom of http://www.lexicon.net/antonr/rebol/gui/mimic-do-event.r
Graham:
21-Jan-2006
Is this the latest anamonitor ?  http://www.rebol.it/~romano/#sect1.1.
It has header problems when I try and run it.
Janeks:
23-Jan-2006
I have a view that works like simple Mapserver client with zoom box, 
etc. I made new version that supports panning, by dragging with mouse.

All worked fine (zooming, panning) until I changed simple loading 
map image from load to read-thru/to.

Zoom box worked, but while mapfile loads it slowly follows cursor 
instead that by script logic (that I did not change) it should stop. 
And my map pane no more returning to zero offset after map image 
loading.
How those view faces are connected with read-thru  ?
 
loadMapImg: func [
	mapUrl
	/local rezImg
][
	if exists? %mapImg.gif [ delete %mapImg.gif ]
	either attempt [
		rezImg: read-thru/to mapUrl %mapImg.gif
;		rezImg: load mapUrl	
	][
		return load %mapImg.gif
;		return rezImg
	][
		return none
	]
]]
Robert:
23-Jan-2006
When using a text-list, how do I reset the slider to the top if the 
data changes? For example: The slider is at a lower position, now 
I change the content to some smaler list and want to redrag the slider 
to the top and have the text-list show the first entry at the top.
Robert:
23-Jan-2006
And is there a simple way to add mouse-wheel support to a text-list?
DideC:
23-Jan-2006
For mouse-wheel it still tricky as the event is only send to the 
window feel/detect function, and not at the face level.
Anton:
24-Jan-2006
Mmm.. WAIT always starts the View event system and handles events. 
Perhaps this automatic feature of WAIT is not so desirable . Anybody 
else agree with me ? What's your opinion, Gabriele ?
Volker:
25-Jan-2006
to clear the wait-list

 - This works AFAIK because event-port is a normal port and thus in 
 the wait-list. Everything there is processed on wait. 


So you could remove only this port temporary. Other tricks with that 
behavior: with read-thru rebservices/beer would still be active while 
downloading. maybe a bit less responsive, because a /no-wait introduces 
little delays?   

And you can caugh events before everything else, like this:
Janeks:
25-Jan-2006
It works for me! Thanks!
Is it correct?

I looked into system/ports/wait-list - there is a lot variables and 
awake function.
For what else wait-list is good?
Volker:
25-Jan-2006
Hmm, both anamonitor and roam can not dump that port.
Volker:
25-Jan-2006
thats true. but its big. in an editor you have find, matching parens 
and such. thats why i use echo.
Janeks:
25-Jan-2006
Yep.

Now I just trying to better understand, how it all works. I have 
some feelings and now my script works like expected.
I hope my method is correct.
Now I want to make working progess bar by using read-thru.
But now it is quite late - I am gonna to sleep.
Thanks Volker for your advice!
Janeks:
26-Jan-2006
Now the question is about progress face. I dumped my progress face 
and see there also text atribute. But 
code 
		mapDwnlProgr/text: "Test"
		show mapDwnlProgr
does nothing.
So for what is used text atribute in progress face?
Anton:
26-Jan-2006
If we set the font color to white and move the subface a little bit 
we can see the text.
Anton:
26-Jan-2006
I used one face and used the draw dialect to draw the blue progress 
amount. It should be more efficient because it only uses one face.
Anton:
26-Jan-2006
(and face/text is rendered over the top of draw dialect graphics).
Janeks:
27-Jan-2006
Thanks, Anton and DideC!

It seems, that there could be make very interesting progress indicators 
by the Rebol.

In this case I made it in simplest way - just put over progress one 
of text styles.
Anton:
2-Feb-2006
Also check system/options/home and system/options/boot
Pekr:
2-Feb-2006
... because of one reason - I am an admin - I try millions of softwares 
... really my machine is full soon enough with unneded files here 
or there, you would not believe it. And I thought that rebol can 
get it right. It does not. It may mean one thing -maybe MS has it 
implemented incorrectly and they are to blame, but we support this 
model ...
Anton:
2-Feb-2006
This means that the OS should provide standard ways of installing 
and uninstalling. But a good installer/uninstaller hasn't worked 
its way to be the standard yet.
Pekr:
2-Feb-2006
once you install new client into different dir, or you even move 
your current set-up to USB pen (which would be VERY cool feature), 
it screams that you try to start it from different location ... and 
once you ignore it, it syncs to original directory, not the one you 
copied to USB
Anton:
2-Feb-2006
I decided that it wasn't open enough, and here I am, not using it 
very much, and quite happy with my decision.
Pekr:
2-Feb-2006
from the law pov, we should not sell non-localised products. And 
for our IOS system, we planned to plug-in czech, slovak and polish 
users, as we live close to both poland and slovakia. But RT told 
me they can't translate for such small project, so ....
Pekr:
2-Feb-2006
but you develop view apps in view-root too? because once you want 
to move something to some other user on othe machine, you can easily 
forget about some stuff which is in your cache already but other 
user may not have it available and it may not become obvious to you 
imediatelly the app will crash because of missing of some script 
:-)
Volker:
2-Feb-2006
about registry making sense - some people may put it somewhere and 
forget about it, and then, where are the files. with registry, they 
launch ios, it knows.
Volker:
2-Feb-2006
No, run server-provided exe one time. then you have the right entries 
in %accounts.r / %servers.r and can copypaste.
Rebolek:
3-Feb-2006
You may (or may not) be interested with VIDpatch. VIDpatch adds bubble-help 
and drag'n'drop support to classic VID. Now you can write >> button 
"Save" bubble-help "Saves file"
shadwolf:
3-Feb-2006
well i think those codes are good for research of the best and cheaper 
solution but it  would  be better to add them one day to rebGUI  
to get a centralized way for user to get all optimised kind of widgets 
and not to have to endless browse internet to search the needed script 
in the better version
DideC:
6-Feb-2006
Kru: nice!

After looking quickly at the code, I see you patch each face feel, 
and text editing function...

Does using insert-event-feel is not enough to handle the tooltips 
stuff (Also I know that it's hard to know witch is the face that 
is the final destination of the event) ?


Also, there is a 'help facet in VID-face and VID styles that is use 
nowhere. I though it could be used for handling tooltips strings. 
Then just have something in the global event handling that check 
the 'help of the face under the mouse and flash tooltips if any.
Ashley:
6-Feb-2006
I know that it's hard to know witch is the face that is the final 
destination of the event

 ... RAMBO Ticket #3867 is the answer to this, and hopefully it'll 
 make it into 1.3.3. ;)
Maxim:
15-Feb-2006
in windows...  just cause its making me mad... how does REBOL/view 
1.3.2 go about sourcing the damned user.r and rebol.r files... cause 
right now, I once again have some icons which source them and some 
which don't.    :-(


basically if you double click an *.r file it does not work, but if 
you launch rebol.exe or a shortcut to it... it works.

ARRGH ! and I though  v1.3 was about keeping install simple   :-(


I have set both HKEY registry entries to the same dir... but why 
are there different reactions depending on the way you launch rebol?
Maxim:
15-Feb-2006
the issue is that the window's user "home" path is just freakish 
and very innaccessible from a dumb user's point ot vue...
Maxim:
15-Feb-2006
heck even I hate looking for this :  

C:\Documents and Settings\user.machine\Application Data\rebol

its got spaces and all...   :-(
Maxim:
15-Feb-2006
not for me... my prefered home directory for tools is much simpler 
and works across linux much nicer...
[unknown: 9]:
15-Feb-2006
I'm not addressing "you" and M$ does not care about Linux.  But what 
they did do was make a system that allows multiple people to use 
the same computer and keep their date apart.  It is wrong, and badly 
done, but the "correct" way to do it for thier system.



As to Carl allowing other ways to do it, that is the real question 
I assume you are asking.
Pekr:
17-Feb-2006
was anyone noticing, using Cyphre's grid, or even IIRC Henrik's grid, 
that once you have some empty fields in the column, and you sort 
it, you get strange text artefacts inthere?
Pekr:
17-Feb-2006
the cause is imo unbound "", 'copy "" solves it so that it only blinks 
and then is correctly replaced by clear field = no artifacts .... 
those unbound "" shared values are imo a REAL EVIL in rebol, as well 
as shared subobjects etc. I can't seen ANYONE, who would not come 
to problems ....
Pekr:
17-Feb-2006
I now understand why some languages copy values by default, and why 
e.g. Erlang claims that it really reduces untrappable programmers 
errors ...
Volker:
17-Feb-2006
Its true. i copy by default myself and if i forget it, its usually 
an error.
Henrik:
17-Feb-2006
RRDTool is a pretty cool logging and graphing tool. Very flexible, 
but I think it's a bit difficult to use. a REBOL equivalent that 
would be easier would be cool.
Anton:
25-Feb-2006
As far as I know, the new async core was tested and then removed 
before View 1.3 and hasn't come back yet.

(We still have async modes available in the old core.) Check this 
document I made when the issue was hot:

http://www.lexicon.net/antonr/rebol/doc/ASYNC-The-available-implementations.txt
JaimeVargas:
25-Feb-2006
And because there were so many other bugs in the core. The decision 
was to fix to bugs, and have a stable version that have nail as many 
as possible before introducing the async event model.
Anton:
26-Feb-2006
Possible on WinXP (and 2000 I think), yes.
Janeks:
28-Feb-2006
What could cause font script(encoding) change from f.ex. baltics 
to western  when downloading and running scripts on other computer.

In this case I am getting language specific symbols displayed like 
the font encoding scipt is Western while I need Baltics.

At the same time I had no problem, when I called the same layout 
script in office.
Problem appears when I am at home connected to office via VPN.
Rebol view console font encoding script is set to Baltics.
Anton:
2-Mar-2006
(and also not a problem of WAIT)
Ingo:
2-Mar-2006
I just tried adding a wait in there, and it still works. So you are 
right, it's not the wait ...
Ingo:
2-Mar-2006
It only occurs when I use the call to sql. And it occurs even if 
I don't use the data returned, e.g. if I add the static data in the 
second person-info: [] line.
Janeks:
2-Mar-2006
I am trying to understand why my font encodings is diffrent on my 
job laptop and on my home desktop. Both have the same OS - WinXP. 
Rebol script is the same sitting on the webserver. I did not specified 
any specific font in my script.

I did not find yet anything in docs about what is responsible for 
font encoding.
Janeks:
2-Mar-2006
What I found with AnaMonitor is that arial font is used. 

But it seams that problem is not there. I just downloded that script 
localy and it looks like encoding is changed in script by downloading 
but not font encoding paramer !?

But why it changes when I am downloading to my desktop but not -when 
to my laptop?
Janeks:
2-Mar-2006
O'k I found it - and of course it was not a problem in Rebol.

Somehow I had changed setting Language for non-Unicode programs in 
Regional and Language options Advanced tab.
Pekr:
3-Mar-2006
it is not stable release then, but half-implemented ... I got now 
my rebol friend really pissed and I feel for him ;-)
25501 / 4860612345...254255[256] 257258...483484485486487