AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 4382 |
r3wp | 44224 |
total: | 48606 |
results window for this page: [start: 33601 end: 33700]
world-name: r3wp
Group: !RebGUI ... A lightweight alternative to VID [web-public] | ||
Graham: 7-Jul-2008 | and then I use tab-panel/replace-tab [ new layout ] | |
BrettH: 17-Jul-2008 | Anybody out there using RebGUI ? I'm just starting to use REBOL and have delivered a small app using VID to a volunteer group who are collecting local history articles. And I'd like feedback on any gotchas with RebGUI vrs VID. Thanks | |
BrettH: 18-Jul-2008 | I'm trying to do some 'field navigation' within a rebgui form and cannot figure out how to get teh filed cursor to 'goto field' | |
BrettH: 19-Jul-2008 | I've tried that, all i get is a stack error: as soon as I press TAB to enter the on-focus , and the program aborts thus ** Internal Error: Stack overflow ** Where: unfocus ** Near: if all [face/type <> 'face get in face/action 'on-unfocus] [ unless face/action/on-unfocus face [return false] ] | |
Graham: 19-Jul-2008 | well, until Ashley tells us how to do it, you could hide a dummy field behind the date field to take the focus from the tab, and then make the decision from that. | |
Graham: 19-Jul-2008 | I'm guessing it's a bug ... set-focus is triggering an on-focus event and so your code keeps triggering causing a stack overflow. | |
Graham: 20-Jul-2008 | well, I have had a similar problem. I have a drop-list with title in it followed by a radio-group with gender, followed by occupation. I want the user to skip the radio-group which is set based upon the droplist value. Eg. drop-list is "Mr." and so set the radio-group to "M" and then skip to occupation. | |
BrettH: 20-Jul-2008 | While tab ordering is a useful feature, in this case I'm trying to tab order by testing field content, I'm surprised that its considered a bit unusual :-) In my data entry program I want the user to be able to set the work flow somewhat. , ie: on mass data entry they should not have to tab over the row of function buttons I have arranged along the bottom of the form, but when they tab 'out' of the last data entry field, the program saves the data, clears the form, replaces some common data and then return to the first entry field -- all without using the mouse. Not true key board navigation but very pleasent for the user. The user uses teh mouse to get to the buttons. This I am currently doing using VID. Graham's usage is a very typical form interaction senario, one I was soon to try ! | |
Graham: 20-Jul-2008 | click on anything BUT "Mrs." and the focus is gone somewhere .... dunno where! | |
Graham: 21-Jul-2008 | and of course this is a major impediment to using the keyboard. So, for an edit/drop list you have to click twice - once to choose, and then once to regain the focus. | |
Pekr: 28-Aug-2008 | yeah ... I mean - I run - do %rebgui.r, and then? do I have to construct 'display, or does it contain runnable example? | |
shadwolf: 28-Aug-2008 | it was designed to be a rebgui widget that was the prototype for table widget long time ago and a play for me on an amazing and very VID Topic " widget auto compositing subwidgets" widgetwriting widgets that's so neat ^^ | |
shadwolf: 28-Aug-2008 | it works the folowing way you build a data list and then you pass it in arg into your display block | |
shadwolf: 28-Aug-2008 | ok sorry too much change well a fast solution would be i think to copy the liste-view code after rebface[ and paste it to the regui.r file where belongs table: make rebface ] | |
shadwolf: 28-Aug-2008 | and that's a pic of the pre alpha version the 5.2 version was more accurate | |
Graham: 29-Aug-2008 | Cyphre sent me this code and has also placed it into SVN | |
shadwolf: 29-Aug-2008 | ana button call for anamonitor wich helps me to debugging and no my list-view don't works anymore with recent rebgi version (it was done with rebgui 0.36 ... ) | |
Graham: 2-Sep-2008 | What's going on here? If you use the button, the field f focuses okay. Use the text-list, and the focus does not appear. | |
sqlab: 2-Sep-2008 | What is the last stable version? I thought it is a problem with the latest widgets and not with the tour. | |
Graham: 2-Sep-2008 | colour scheme and things changed with the last version. Try the one before. | |
sqlab: 2-Sep-2008 | Ok, I tried version 111 and there the buttons keep their color. | |
Ashley: 3-Sep-2008 | can this be fixed easily? ... I'll try and grab some time to look at it later tonight. | |
Graham: 4-Sep-2008 | I looked at that too .. and it didn't make any difference. | |
Louis: 5-Sep-2008 | roam.r is Carl's object browser. Specifically, what I want is to enter a record and see it listed in a window. If I click on a record in that window, I want to see it back in the entry fields so I can edit it. Has anyone done this using RebGUI? | |
Graham: 7-Sep-2008 | I presume it's the same issue trying to prefill some fields from a table selection and then set the focus to one of those fields. | |
Ashley: 7-Sep-2008 | Found it, and fixed in build #114. Basic rule in RebGUI is to fire actions on 'up and 'alt-up (to ensure they occur after unfocus) ... face-iterator was firing actions on 'down and 'alt-down. A nasty bug that's been there for a long time (and explains why I had trouble getting some requestors working in the past!). | |
Ashley: 7-Sep-2008 | Yes and yes ;) | |
Graham: 7-Sep-2008 | I wondered why you were using the down keys and not the up. | |
btiffin: 8-Sep-2008 | Louis; Glad and Yep ... Go Ashley Go! and now joins in RebDB? What more can ya ask for. Woohoo. | |
Louis: 8-Sep-2008 | Why is this line: current-projects: table (tab-size + 80x35) #HW options ["Priority" right .03 "ProjectName" left .2 "ExchangeRate" left .2 "Objectives" left .3 "Deliverables" left .0] data (SQL "select * from projects") causing this error message: User Error: Table has an invalid data block ** Near: make error! error >> There is data in the database. The SQLite Database Browser can read and display the data. | |
Louis: 8-Sep-2008 | This works: >> SQL "select * from projects" == ["1" "Critical Links" "9000" "Better project management." "Critical Links, Critical Time" "2" "Funda" "" "To get control of our ... >> and this works: current-projects: table (tab-size + 80x35) #HW options ["Priority" right .03 "ProjectName" left .2 "ExchangeRate" left .2 "Objectives" left .3 "Deliverables" left .0] data (1 2 3 4 5) But the line in my post above doesn't work. | |
Graham: 8-Sep-2008 | try data [ ( ... ) ] and I presume you have compose/deep | |
Louis: 9-Sep-2008 | Robert and Graham, thanks, but I'm still not able to get this to work. Here is the data in the database (2 records): >> probe (SQL "select * from projects") ["1" "Critical Links" "9000" "Better project management." {Critical Links project management software, Critical Time time management software.} "2" "RebDar" "9000" {Automatic full-metal backup to multiple hard drives.} "One REBOL script."] Why am I getting: ** User Error: Table has an invalid data block ** Near: make error! error >> What is wrong with the data block? | |
shadwolf: 11-Sep-2008 | ofcourse the demo isoft is demo-listview feel free to use it as it and feel free to adapt it to your needs ( at least for the part writen by myself) | |
Ashley: 24-Sep-2008 | Yes, as soon as the current dev build is stabilized I'll bump the release build and update the supporting doc. | |
Claude: 6-Oct-2008 | for this code working you need REBDB-203 & REBGUI build 116 in the same folder of this code and a folder "images" with an image like this %./images/setup.png | |
Claude: 6-Oct-2008 | could you and would you explain to me wath append ? .............. i think the probleme is when a do a update on table and selected an another row with the function table_joueur 'rtv | |
Claude: 6-Oct-2008 | if you try to do an update of one row and after selected another row , the table willl not work any more correctly !!!! | |
Claude: 6-Oct-2008 | it's the same thing with "Ajouter" - add !!! i try to remove the action for widget table [table_joueur 'rtv] and no more problem !!!! | |
Claude: 7-Oct-2008 | i comment all set-text line. and i keep only set-text to id, nom ,prenom, date_naissance. i still have the same problem | |
Claude: 7-Oct-2008 | and now it work well | |
Claude: 7-Oct-2008 | and a another one it seem that in linux system the widget calendar do not have a good arrow for select year and month look this print screen => http://users.skynet.be/fc078613/images/screen.png | |
Graham: 7-Oct-2008 | As I mentioned above, set-text only takes a string .. so you need to form dates, and numbers before using it. | |
Claude: 7-Oct-2008 | or perharps it will by better to give all of us a example of best praticies to use reb-db table and rebgui ????? :-) | |
Ashley: 10-Oct-2008 | Also, the use of get-values and set-values can make getting db data into and out of forms (a display with lots of basic input widgets) significantly easier [than individual widget addressing]. | |
Claude: 10-Oct-2008 | when i ask for a CRUD example i think about a optimize way of => 1 - select data from a table-widget 2 - show values of each data of a row 3 - accept insert & update & remove 4 - check values before insert or update table-db and table-widget. | |
Claude: 10-Oct-2008 | i think it is working but i am asking to optimize my code and with your help code better ;-) | |
Ashley: 18-Oct-2008 | Yes, if you're coming from build#116. But there's still a number of bug fixes in there ... and 117 is the first stable build since 111. | |
sqlab: 20-Oct-2008 | Ashley, there is still a problem with Click/Button and over. The colour is irreversibly changing to the default in your demo | |
Claude: 25-Oct-2008 | i explain a little => i create a KEEP-COLOR and i init the good value in the init function . this value is reuse in FEEL/OVER and FEEL/ENGAGE/AWAY | |
Graham: 4-Nov-2008 | and again :( either any [find options 'multi all [ value? 'parent-face object? parent-face in parent-face 'type parent-face/type = 'table ]] [ | |
Graham: 5-Nov-2008 | And see if you can take over the account if Jaime has stopped paying for them. | |
Graham: 5-Nov-2008 | It's very odd .. the same data works sometimes, and other times it craps out. | |
Ashley: 5-Nov-2008 | I've seen something similar before ... solution was to ensure all values were strings ... and to copy/deep the data block prior to passing it to the table widget. I think it has something to do with either a non-string value (e.g. a block) confusing things, or a shared series [value] being modified by soemthing other than the table widget. | |
Ashley: 6-Dec-2008 | Shouldn't be ... both display and layout just generate a bunch of view faces at the end of the day. If it's really an issue you can always call system/words/layout from within RebGUI for those layouts that must be VID generated. | |
Graham: 6-Dec-2008 | A tablet user asks ... how to enable multiselect without using the control key ... he's using tablet in slate mode so no keyboard, and the virtual keyboard takes up too much real estate. | |
Graham: 22-Dec-2008 | I've got three vertically left aligned group-box's and I'm sizing them the same by using absolute sizes to also right align them. But this means I can't use different gui sizes because then the contents of the boxes can exceed the group-box. But if I use automatic sizing using -1x-1, then I can't get both left and right sides of the group-boxes to align ... or can I?? | |
Graham: 22-Dec-2008 | Unless I enclose all of the group-boxes inside another grouping widget and use the #L directive on all the group boxes? | |
Henrik: 22-Jan-2009 | Graham, how long does your app take to load and how are the screens initially set up? | |
Graham: 22-Jan-2009 | the parameters that are available are face and event | |
Graham: 22-Jan-2009 | I ditched the Windows installer and my app now does the installation of all the accessory programs viz. ghostscript, gsview, imagemagick, jarnal etc | |
Reichart: 22-Jan-2009 | which is a bit of a cognitive load on the users :( Yes, Qtask has the same problem... Having looked at many applications that have LOTS of tabs, medical, legal, etc. I don't know yet what way around it there is. One idea I have is that you come in to a mostly blank set of screens, with a few tabs, and a button that brings up a dialog. It is a giant menu of things you can ask to be on the screen. You pick from this, and at LEAST then everything that is there you put there. Also, you can turn everything on quickly as a feature. And you will always know if you don't see it, it is probably on that menu of things. | |
Graham: 22-Jan-2009 | I guess I can use the text content of the face to work out where I am .. and hope I have unique text strings. | |
Graham: 22-Jan-2009 | the occipital cortex sits above the brain stem and cerebellum | |
Henrik: 22-Jan-2009 | It seemed to install fine and Cheyenne is running. But I was not allowed to connect to it. | |
Pekr: 22-Jan-2009 | With one of my apps, I used win32 wrapper to get-window-text function, and I set window's text title. Not sure you can change title when you select different tab? What about setting one global variable for such purpose, which you would set each time when entering new screen? Maybe lot's of work to do it now, as you have 300 screens already, but :-) | |
Graham: 22-Jan-2009 | Pekr, you can create empty tabs, and then replace the tab contents dynamically. | |
Graham: 22-Jan-2009 | Of course, if a window always had an "OK" button function, a "Cancel" function and a "Save" function, this would make things somewhat easier. | |
Pekr: 23-Jan-2009 | Graham - there are some aproaches out there. Some apps choose some pre-app-run dialog box, which let's you select, where you want to go. I am not much comfort with it, e.g. Open Office 3.0 starts that way. Othere do use different aproch, e.g. - on the left side, you have icon-list element, which can be even tabbed. That defines your right pane content http://www.megaleecher.net/uploads/spybot_search_and_destroy.jpg You can have many icons, on many tabs, so many options of how to organise your content pane .... | |
Pekr: 29-Jan-2009 | button is blue. But with over effect, going to green (default?), and with press, going pink :-) | |
Ashley: 29-Mar-2009 | Pekr/Graham (re group-box resize overlap convo from 13-Jan) ... it's a limitation not a bug. The #H and #W directives assume they are by themselves in a given row/column. Instead of ... unview/only face/parent-face/parent-face ... why not unview/ony find-window face ... performance over coding efficiency. Ashley hasn't been on line here since xmas eve ... is he on a rather extended holiday ... the GFC has forced me to allocate considerable resources elsewhere, but I'm back for the time being. button is blue. But with over effect, going to green (default?), and with press, going pink ... the over (theme light) and press (state light) colors are global. 118 fixes the problem whereby these states lost your original color override. We have arrow key navigation of tables. How can we get the enter key to do the action? ... add 'table to behaviors/action-on-enter | |
Graham: 29-Mar-2009 | that could be a 30 char long uuid and it won't show | |
Graham: 30-Mar-2009 | This is an odd one display/dialog "test" [ edit-list "1" data [1 2 3] return text "some space"] do-events click on the edit-list, and tab out .. the window disappears | |
Graham: 30-Mar-2009 | Doesn't happen with drop-list, and doesn't happen with display/parent | |
Graham: 30-Mar-2009 | There's another thing with edit-list. Unlike a drop-list, you can tab into it, and use the down arrow to cause the list to drop, but you can't use the keyboard to select a value. You have to switch to using the mouse. | |
Graham: 4-Apr-2009 | And selecting a particular leaf programmatically? | |
shadwolf: 6-Apr-2009 | hum logically because R3 is not official and completed so stabilised etc... | |
shadwolf: 8-Apr-2009 | REBGUI 117 whaoooo version the looks really really pro and mature project congratulation Ashley | |
Graham: 11-Apr-2009 | I'd like a text variant .. eg. a-text for active text which highlites on over and returns to its color on away. I can get the over working okay, but the on-away doesn't restore the color. | |
Ashley: 13-Apr-2009 | Hi Giuseppe, I'll respond in full to your questions here as I've had quite a few emails recently asking similar questions about the future of R3 and RebGUI. As you have created the best GUI solution for REBOL2 ... Thanks, remember that "best" is in the eye of the beholder though ;) ... RebGUI was created only because VID wasn't up to the task. I ask to myself why your still not involved in REBOL3 GUI. ... Apart from the fact that I cannot give the project the time it requires, the R3 GUI is in far more capable hands than mine. I'm looking forward to it making RebGUI obsolete! ;) Are you waiting the final VID version to port your great experience in this area ? ... When the R3 GUI is stable I'll look at how best to port apps from RebGUI to it. I'm thinking either a compatibility layer or an outright script conversion utility. But while we wait for that glorious future (stable R3/GUI SDKs on Windows, Mac and Linux) RebGUI is still the only R2/GUI game in town (IMHO). | |
shadwolf: 13-Apr-2009 | RebGUI was created only because VID wasn't up to the task. damn right ashley but nothing guaranty us the VID next set of widget will be hum more reliable (to not say more usefull ...) but still VID remain a powerfull things so with our without cool widget set from base since VID stay a powerfull base and draw still remains too it's still possible to make a set of widgets more hum .. more to feet our taste and needs ? | |
shadwolf: 13-Apr-2009 | R3 is not for tomorow ( or maybe Carl done some crazy amount of work in the night and gets all ready for tomorow morning ???) so rebGUI still has a couple of years to go on ^^ and as a matter of fact i prefer i good VID /DRAW system with no widget than lot of widgets with a not extendable dialect what makes all the interrest of VID is therefor the high flexibility of it and it's relative simplisicity and that aspect have to remain and even been enhanced | |
shadwolf: 13-Apr-2009 | REbgui has in a background to show to that VID has many lacks (because no one really focus his attention only to design it. at least on teh VID2 version) widget and event system could be simplier and provide more efficiency (less memory use more widget set ). REbgui was done in waste that's my own opinion | |
Graham: 14-Apr-2009 | This isn't strictly a Rebgui question ... but here goes. I want to double click on a word and perform an action. That action involves interacting with some gui elements on the current screen. Now, there is a function 'hilight-text inside the rebgui 'edit object which is inside the rebgui-ctx context. So, I can hook in there with my dbl-click function. But how to make it call my function which is defined for each window? | |
Ashley: 22-Apr-2009 | You could make it a special field so if someone enters a literal ("12") it doesn't do anything, otherwise ("10+2") it parses and evaluates it (perhaps putting "ERR!" in the field if the expression couldn't be evaluated). | |
Graham: 23-Apr-2009 | Puzzle time .... I have this add2script: has [ t1 ] [ display/parent "test" [ t1: table 40x40 options [ "item" left .99 ] data [ "one" ] on-click [ either value? 't1 [ alert first t1/selected ][ alert "t1 has no value!" ] ] ] ] Now if this is invoked by single-click on an element in a table, it's fine. If I invoke by double-click on the table to invoke, it gives the error. If I remove the single click action, and allow it to be invoked on double click, then it is also fine. | |
Graham: 23-Apr-2009 | Ok, I seem to have fixed the issue. Changed my add2script to a closure from a function and no more errors. | |
Graham: 23-Apr-2009 | Anyway, this looks very promising at solving a lot of Rebgui issues I've had over the last few years... where I've clicked on a table row and the on-click function has collapsed because the face/selected path is not present. | |
Ashley: 23-Apr-2009 | I'd still like to understand and fix the base problem ... what do you mean by changing a function to a closure? | |
Graham: 23-Apr-2009 | Just did some checking on other functions that are invoked normally with a single click on a table row ... and so far they all have the same problem. double click corrupts their local context. | |
Graham: 24-Apr-2009 | If you use the left hand table, and do a double click, then the "show" button will produce the same output in both windows. Change it to a closure on the right hand table, and the "show" button now works correctly. | |
Graham: 24-Apr-2009 | ie the local variable assumes the value from the second window, and loses it's own original value. | |
Graham: 25-Apr-2009 | Hmm. Maybe the first window is not created before the second one is as the window creation is async. So, it does not find the window title in the pane, and so the layout function is called again. | |
Graham: 27-Apr-2009 | That seems to me to suggest that the single click action is firing twice and not just once. | |
Graham: 27-Apr-2009 | I'll try the wait thing and see if that works. | |
Pekr: 10-May-2009 | Cyphre's grid. After Henrik's grid it is simply the most advanced REBOL grid and it is really stupid it was not adopted to new standard, waste of functionality and money ... | |
Pekr: 10-May-2009 | I downloaded 118 and there is no grid. Grid was not adopted to new API IIRC. | |
Pekr: 10-May-2009 | Graham - it is not true. IIRc I prepared package which I sent to you, with primitive initial doc, with included rebgui version, and it was working. The bad thing is, that it is some early version I paid for, but at that time there were some API changes to RebGUI, and I was not able to further contract Cyphre to adapt it ... | |
Ashley: 10-May-2009 | The problem with the grid widget was that it relied on custom changes in rebgui-edit.r (i.e. it wasn't self-contained) and it was just too big to easily "grok" (and hence port). A good grid widget should have as few features/options as possible IMHO (i.e. get something that handles the text-only 80% case before worrying about more complex sub-widget support). | |
Pekr: 10-May-2009 | ok, so here we are, with such argument and final result - no proper grid with basic functionality like horizontal scrolling. |
33601 / 48606 | 1 | 2 | 3 | 4 | 5 | ... | 335 | 336 | [337] | 338 | 339 | ... | 483 | 484 | 485 | 486 | 487 |