World: r3wp
[View] discuss view related issues
older newer | first last |
Pekr 30-Dec-2005 [3595] | :-) Jaime was faster :-) |
Henrik 30-Dec-2005 [3596x2] | I'll take a look at that |
pekr, which kinds of rows can't be sorted? | |
Pekr 30-Dec-2005 [3598] | well, not in our case. But with some older db systems, like xbase in DOS, we just had this facility. Not all columns were indexed. Sorting non indexed columns was not allowed ... |
Henrik 30-Dec-2005 [3599x3] | ok |
tristate sorting now available. can be turned off with the TRI-STATE-SORT variable. | |
I will continue tomorrow... bedtime for me | |
Graham 30-Dec-2005 [3602] | Is there some gotcha with resizing a scroller ? Scroller/size: newsize show scroller doesn't work. |
Volker 30-Dec-2005 [3603] | in vid scrolller/resize new-size ? |
Graham 30-Dec-2005 [3604x2] | oh :) |
which reminds me .. is there an updated reference to all the functions associated with Vid gadgets, or is it .. read the source time ? | |
Volker 30-Dec-2005 [3606] | I am to used to the source to look for new documentation.. dont know. |
Graham 31-Dec-2005 [3607] | Anyone done a colour wheel/picker ? |
Rebolek 31-Dec-2005 [3608] | IIRC Oldes did something, but don't know. if it's available. |
Henrik 31-Dec-2005 [3609x3] | back again.... fixed a bug where resize didn't work during filtering and incorrect amount of results when filtering and turning off sorting |
graham: it seems the convention is so that when you have a group of faces that need to be resized (such as the scroller), you use a RESIZE function rather than just a variable. | |
the filter works on multiple strings and is case insensitive. the purpose is to let you very quickly search for things without resorting to regular expressions or wildcards, with as few keypunches as possible. try entering "shoe" first. then "shoe very". "shoevery" won't produce a result | |
Graham 31-Dec-2005 [3612x3] | Henrik, that makes sense. |
Now, how to change the font size of the font used in an area widget ? | |
area/font/size: newsize .. doesn't do it. | |
Henrik 31-Dec-2005 [3615] | view layout [area font-size 20] works here. |
Graham 31-Dec-2005 [3616x3] | yeah .. wasn't working for me. |
set-font area '?? 20 | |
no matter .. got it going. | |
Henrik 31-Dec-2005 [3619x3] | new version 0.0.5 uploaded. single selecting works now. standard font made a bit smaller. selecting requires the use of a new face called LIST-TEXT with a FEEL that allows for mouse over and single/double clicking in the list. single-click action is stored as a block in LST-ACT double-click action is stored as a block in DBL-LST-ACT Demo can be found at http://hmkdesign.dk/rebol/list-view3.r |
0.0.6 uploaded... minor bugfix to keep the selected persistent even when sorting and filtered. | |
0.0.7 uploaded... This one is released under the BSD license. Changes: New: Added /force refinement to UPDATE Fix: Fields are rendered now, when filtering with fewer results than the size of the list view. New: List now can have an edge of any size. New: ALT-LST-ACT action for right click actions. New: If HDR-COLS is empty, the header is now not drawn. | |
Graham 31-Dec-2005 [3622x2] | is keyboard navigation coming? |
viz. moving up/down the list. | |
Henrik 31-Dec-2005 [3624] | I tried it, but there are problems with focusing. Keyboard nav, requires focusing on the right face, and when I try that, selecting goes haywire. It's the same with mousewheel. Suggestions are welcome. |
Robert 31-Dec-2005 [3625x2] | unsort: please put this on the right-click. Cycling through unsorted isn't standard and doens't make sense. |
filtering: how about doing it in real-time, while typing. | |
Pekr 31-Dec-2005 [3627x2] | real-time filtering - in old days I remember it was Allen, who introduced such field style ... |
Henrik - as for the focus - do you try to focus/hilite particular cell, or just a row? | |
Henrik 31-Dec-2005 [3629x7] | Robert: I will look at right click unsorting. Realtime filtering is really up to the field that provides the string and updates the list, not the list itself (more flexible that way). I've done it before, where realtime performance could be achieved with more than 30000 entries in the list, so it's not a problem to do. |
pekr: I've tried focusing a single cell, and I can get key and mousewheel feedback, but selecting is ruined by it. | |
robert, BTW tri-state sorting can be turned off with the TRI-STATE-SORT variable. then it only switches between ascending and descending. | |
(but it's broken in 0.0.7!) | |
sorry for the wait... Version 0.0.8 uploaded Changes: New: Functions to select next, previous, next page, previous page, first and last. Uses FOLLOW. New: FOLLOW. Automatically follows the selected entry so it's always in view. Requires FOLLOW? set to TRUE New: SCROLL-HERE. Scrolls automatically to the selected entry. Fix: Filter result was lost after resize. Fix: Sorting was lost after resize. Fix: Sorting indication is now persistent after resize. Fix: Dual state sorting was accidentally broken. New: Initial sorting can now be set before first view New: Right-click on header unsorts the list Demo can be found at http://hmkdesign.dk/rebol/list-view3.r | |
forgot an entry: New: can return a row as a block or an object from the selected row, using GET-ROW-HERE. | |
Version 0.0.9 uploaded Changes: New: GET-BLOCK retrieved the selected data as a block. Only works with shift for now under multi and multi-row. New: Using the shift key, you can select multiple cells in multi and multi-row mode. New: Five different select modes now: Single, multi, row, multi-row and column. Fix: SCROLL-HERE only works with select modes 'single and 'row Fix: FOLLOW didn't work when selecting a row and then sorting The different select modes might be interesting for a future spreadsheet face. | |
Graham 1-Jan-2006 [3636] | Are the header names hard coded into the list-view ? |
Henrik 1-Jan-2006 [3637] | they can be changed with the HDR-COLS variable |
Graham 1-Jan-2006 [3638] | how does your list cope with an empty list ? |
Henrik 1-Jan-2006 [3639] | I don't know yet, but I plan to just let it draw empty cells. It should do the same if you filter for something not in the list |
Graham 1-Jan-2006 [3640] | what's the syntax for creating a two column empty list ? |
Henrik 1-Jan-2006 [3641x3] | you'd use (for now): view layout [list-view with [in-cols: [a b]]] |
The list uses some standard values that are not correct right now, but I'll move those values into the correct place soon. If you for example set HDR-COLS to [], the header won't be shown. The idea is that you have IN-COLS, which is based on the data you have in DATA. It's just a block of any words to tell each column apart. Then you will have OUT-COLS, which are the columns shown in the list view. The ordering of OUT-COLS determines the order that the columns are displayed in. HDR-COLS is for now a separate block, but it will be combined with OUT-COLS later. This ordering mechanism doesn't work yet, but it'll come in very soon. Example of intended functionality: in-cols: [person-id age sex height weight name address city country phone] out-cols: [name age city] Then you could reorder: out-cols: [age city name] And after using UPDATE, the list would update on the fly. DATA is not manipulated at all. | |
0.0.10 uploaded. Changes: Fix: Optimized updating when moving from filtered to unfiltered view Fix: Accidentally didn't filter on the original DATA, when doing multiple filterings Fix: Better detection of when FLT-STRING has been changed Fix: SCROLL-HERE can handle empty lists now Fix: Crashed if DATA was empty Fix: Selecting rows that are empty, no longer causes a script crash Removed: Ctrl-key functionality, because it's too complex to handle with the different modes right now Fix: GET-BLOCK caused error if Ctrl-key was used to select cells. New: Data manipulation functions: INSERT-ROW, INSERT-ROW-HERE, CHANGE-ROW, CHANGE-ROW-HERE, REMOVE-ROW, REMOVE-ROW-HERE, APPEND-ROW These only work in select-mode 'row | |
Graham 1-Jan-2006 [3644] | I tried this list-view with [in-cols: [user time] data: []] which doesn't work. |
older newer | first last |