World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Graham 20-Sep-2005 [2017] | load "739 92" == [739 92] |
Pekr 20-Sep-2005 [2018] | imo some simplified parse dialect could work (we have Gab's parse rules, so we could be able to define parsing rules dynamically, or we implement it other way, dunno), the tricky part could be, if you would like to do validation upon each event (key-press), or only when your field is losing focus ... |
Graham 20-Sep-2005 [2019x4] | in some ways you have to implement a mini editor for the field. prevent scrolling. skip over characters. |
Back again regarding the data format for tables, sometimes I want to include a database key in the data without displaying it. So, it might the 3rd element in a row where there are only two columns displayed. With a flat data spec, I can not do this. | |
Also, I don't know if this is intended, but if you manage to click on the arrow in a table header, nothing happens. to sort, you have to avoid the arrow. | |
show-focus highlights all the text in a field. Wonder if better to just show the cursor at the end. | |
Ashley 20-Sep-2005 [2023] | Note the following user-configurable blocks under ctx-rebgui/edit: tabbed: [area field edit-list password button] hilight-on-focus: [field edit-list] caret-on-focus: [area field edit-list password] action-on-enter: [field edit-list password] But its probably a good idea to agree on the "correct" default behaviour anyway. |
Graham 21-Sep-2005 [2024] | show-text ( I think ) should set the slider back to the top when used with an area widget. |
Graham 22-Sep-2005 [2025x2] | If you do a show-text area {some rather large text},and then do a show-text area with small text, the small text appears at the bottom of the area field. If you then click on the area field, it moves to the top. |
You have to use the slider to move to the bottom of the large text before showing the small text to see this. | |
Ashley 22-Sep-2005 [2027] | Area / scroll / slider reset definitely needs more work. |
[unknown: 5] 22-Sep-2005 [2028] | Thanks for commenting James. |
Graham 22-Sep-2005 [2029] | Should a double click also fire the single click action ? |
Ashley 23-Sep-2005 [2030] | It does by default as a double-click generates two 'down actions with the latter having event/double-click = true. This is usually a good thing anyway as (in the case of lists with a highlight bar) double-clicking a new entry automatically triggers the default single-click action (highlight a new row) plus the double-click action we are interested in trapping. |
Graham 23-Sep-2005 [2031] | Any reason why request-file has lost the /keep refinement ? |
Geomol 23-Sep-2005 [2032] | Version 1.3.1.3.1 has /keep. Is it in a newer version? |
Graham 23-Sep-2005 [2033] | Rebgui redefines 'request-file without the /keep refinement |
Ashley 23-Sep-2005 [2034] | Oversight I think. ;) |
Graham 23-Sep-2005 [2035x3] | Ahh.... |
I'm doing some async io, which works with View, but in Rebgui, I get the following error when I click on my button make object! [ code: 312 type: 'script id: 'cannot-use arg1: 'path arg2: 'none! arg3: none near: [if pf/data <> face/data [ old: pf/data if old [ clear skip pf/pane/:old/effect/draw 7 show pf/pane/:old ] pf/data: face/data insert tail face/effect/draw [pen leaf fill-pen leaf circle 6x10 3] show face face/action face ]] where: 'switch ] | |
nope ... something else going on. | |
Ladislav 24-Sep-2005 [2038] | I think, that Cyphre will be able to give you an advice on that |
Graham 24-Sep-2005 [2039] | it was my fault |
Pekr 24-Sep-2005 [2040] | Ashley - why request-date was redone? It has strange metrics here ... too wide (x axis) and it looks like 80ies jurrasic Win3.1 period with btns :-) - old look was much nicer with chevron kind of buttons ... and it was merely the same size X and Y axis wise ... |
Ashley 24-Sep-2005 [2041] | Had to increase width to account for longer three letter day abbreviations (previous version used two letters), but having each cell being a square yielded too much white space (especially when the last row has no entries in it). "<" and "<<" buttons will eventually be replaced with SVG icons when support for that is added. |
Pekr 24-Sep-2005 [2042] | Thanks for your answers, Ashley. Will SVG support be RebGUI system-wide? |
Graham 24-Sep-2005 [2043x3] | Ashleny, just wondering how complex a GUI you've managed to build with the current version. |
*Ashley* | |
Though I guess tour.r is pretty complex | |
Ashley 24-Sep-2005 [2046x2] | Pekr, yes. The code for svg-toolbar, icon, etc widgets is all there ... just waiting on SVG renderer project (which in turn is waiting on some REBOL/AGG fixes). |
Graham, I've messaged you privately. When I get back from the DevCon (November 1st) I'll put some screen-shots of some of my commercial apps up. Maybe a demo or two as well. | |
Graham 25-Sep-2005 [2048x2] | Any idea on why this error occurs? make object! [ code: 312 type: 'script id: 'cannot-use arg1: 'path arg2: 'none! arg3: none near: [if pf/data <> face/data [ old: pf/data if old [ clear skip pf/pane/:old/effect/draw 7 show pf/pane/:old ] pf/data: face/data insert tail face/effect/draw [pen leaf fill-pen leaf circle 6x10 3] show face face/action face ]] where: 'switch ] |
I'm setting a radio-group using the following code field/pane/2/feel/engage field/pane/:value 'down none The radio group appears in a pane, and if I display that pane first, then there is no problem. But if I try it before I display the pane containing the radio-group, I get this error. | |
Geomol 25-Sep-2005 [2050] | Because data is none? >> layout [r: radio] >> probe r/data none |
Graham 25-Sep-2005 [2051x2] | this is rebgui .. |
I suspect that a value is being initialised only on showing it, when it should be initialised with the display function. | |
Ashley 25-Sep-2005 [2053] | Off to Italy, back in 5 weeks. |
Graham 25-Sep-2005 [2054] | Anyone working on a toggle widget ? |
Bobik 26-Sep-2005 [2055] | Can i ask anybody: is anyone working on a witget GRID (or similar - for example: text-list with more(multi) columns)? |
Graham 26-Sep-2005 [2056] | How is that different from a table widget ? |
Pekr 26-Sep-2005 [2057] | table's functionality is simply insufficient for real database related work ... e.g. ability to have data block, and to configure which columns to display and which not to ... |
Bobik 26-Sep-2005 [2058x2] | So table widget doesn't have a cursor to mark selected row.. |
.. and function "picked" like text-list.. | |
Graham 26-Sep-2005 [2060] | face/picked/1 is the first selected row |
Bobik 27-Sep-2005 [2061x4] | but widget text-list in rebGUI doesn't have multi-columns.. |
widget table has multi-columns but i can not select any row.. is it true? | |
(sorry i am beginner in english..) | |
(multi-columns = i need more then 1 column ) | |
Graham 27-Sep-2005 [2065] | the options word "multi" allows you to select more than one row at a time. |
Pekr 27-Sep-2005 [2066] | maybe he meant simply to have hilighted row, plus ability to navigate by keyboard? |
older newer | first last |