World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Louis 30-May-2009 [8098x2] | >> describe "projects" == [0 "Priority" "" 0 none 0 1 "ProjectName" "" 0 none 0 2 "ExchangeRate" "" 0 none 0 3 "Objectives" "" 0 none 0 4 "Deliverables" "... >> |
Graham, which braces were you talking about? | |
Graham 30-May-2009 [8100] | [(SQL "select * from projects")] |
Louis 30-May-2009 [8101x4] | Graham, thanks. That fixed it. Strange. I took those braces off right after you told me to, and it didn't work. Well, I had been up all night working on this. So maybe I just did it in my mind. : >) Thanks again. |
Thanks again to Izkata also. | |
Hummm. After entering one record I'm now getting: ** Script Error: ProjectName has no value | |
The problem I have with GUI programming is that I don't know how to find bugs. How do you guys do it? | |
Brock 30-May-2009 [8105] | Louis, I haven't looked at your code, but it might be as simple as predefining ProjectName, like ProjectName: "" or something. |
Graham 30-May-2009 [8106x2] | You look at the error message .... and fix it. |
They actually mean somet hing. | |
Graham 15-Jun-2009 [8108x3] | Ashley, what's happening here? |
display "" [ text "Enter some text and then enter" return field on-focus [ clear-text face true ] on-click [ print face/text ] ] do-events | |
when you enter text and enter, the text is cleared .... | |
Ashley 15-Jun-2009 [8111] | ctx-rebgui/behaviors/action-on-enter has 'field in it by default ... so pressing enter *does not leave the field* but instead causes the field to regain focus. |
Graham 15-Jun-2009 [8112] | any suggestions on how to obtain the wanted behaviour? |
Ashley 15-Jun-2009 [8113] | Change it so the field *prior* to this one clears it on-unfocus? |
Graham 15-Jun-2009 [8114] | it's to be like the search fields you see on web pages .. click on it .. and the existing text disappears allowing you to enter your search term. |
Ashley 15-Jun-2009 [8115] | Ah, I see. What you need is a new method, on-mouse-focus, which would ignore keyboard focus changes? |
Graham 15-Jun-2009 [8116x6] | Yes that sounds good. |
Also, I have reports of this error ... not sure where it is coming from make object! [ code: 902 type: 'internal id: 'stack-overflow arg1: none arg2: none arg3: none near: [unless find [object! block!] type?/word get] where: 'into-widget ] | |
well, I mean I know it is coming from rebgui-edit.r and the 'into-widget function which has a recursive find .... | |
but not sure of the circumstances of how it is being triggered. | |
The user thinks that they tabbed on something which is consistent with this function's function. | |
Well, in the meantime I have wrapped the into-widget with an error try and return none if there is an error. | |
Graham 16-Jun-2009 [8122x4] | Unfortunately this did not help .. just shifted the error elsewhere. Now getting make object! [ code: 902 type: 'internal id: 'stack-overflow arg1: none arg2: none arg3: none near: [all [ face/show? find behaviors/tabbed face/type not find face/options 'info face ]] where: 'tabbed? ] |
Is it possible to rewrite the tabbing functions so that it doesn't use recursion? | |
I have recreated the stack overflow error on tabbing here http://rebgui.codeplex.com/WorkItem/View.aspx?WorkItemId=23092 | |
Basically a table with focus, and the only widget inside a panel will cause a stack overflow as it tries to tab out looking for the next widget that can accept focus. | |
Ashley 17-Jun-2009 [8126] | Good test case. I'll look at it over the weekend. |
Graham 17-Jun-2009 [8127] | It would also be good to be able to tab into a table ... if that's feasible. |
Graham 18-Jun-2009 [8128] | Since we no longer have access to the geekisp trac and issues database ... would all of those who remember any existing issues please enter them into the new issue tracker. http://rebgui.codeplex.com/WorkItem/List.aspx |
Reichart 19-Jun-2009 [8129] | Why do you no longer have access to it? |
Graham 19-Jun-2009 [8130] | Because I presume Jaime stopped paying for it ... |
Reichart 19-Jun-2009 [8131x2] | If we can get the data, we can suck it into Qtask, then it will be there. |
And Graham, this statement is not TO YOU, but rather to anyone here would like to "help" | |
Pekr 20-Jun-2009 [8133] | it is paid service? how much does it cost? Qtask offer is fair of course, but if guys are used to trac service, and it is not expensive, maybe we could sponsor it ... |
Reichart 20-Jun-2009 [8134] | Pekr, agreed. You are alwys welcome though to upload the data to Qtask's tasks, at least you guys will never lose it. |
Ashley 21-Jun-2009 [8135x2] | I don't mind where the source resides, as long as: a) It doesn't cost me anything b) It's accessable via standard SVN clients c) It's simple Jamie very kindly sponsored the first 3 years of hosting on geekisp, and when that ceased Graham created a project on CodePlex (which I assume offers free hosting?). That seems to be working OK so far, but I'm happy to move across to Qtask if it meets above three source hosting requirements. |
Uploaded build 120 which addresses the stack-overflow issue (and as a by-product drastically cuts the number of calls to next-field/back-field when tabbing) ... please test. I'll also echo Graham's call for issue tracker submissions, as I'm now prioritzing fixes based on what's in there. | |
Graham 21-Jun-2009 [8137x3] | Still get a stack overflow with my test case .. http://rebgui.codeplex.com/WorkItem/View.aspx?WorkItemId=23092 |
Pekr, it cost $5 a month on geekisp. But codeplex is better .. as it is free, and it is much easier for anyone to join, and add comments. However i miss the diff that geekisp had ... unless it is on codeplex as well somewhere. | |
I had a trac also on geekisp, but it was plagued by trac spam, and the site owner wasn't willing at that time to upgrade the trac to block spam. So the only way to stop spam was to block all comments .. so I abandoned it. | |
Janko 22-Jun-2009 [8140x2] | there are also websites that offer free hosting (with issue tracking and other typical stuff ) of OS projects for distributed vcs-s Bazaar, Mecurial and Git ... I stopped using svn and went to bazaar and I like it ... there is comparison of various such sites here http://en.wikipedia.org/wiki/Comparison_of_free_software_hosting_facilities |
for bazaar there is https://launchpad.net/... for svn you also have code.google | |
Ashley 22-Jun-2009 [8142] | Uploaded build 121 with a completely rewritten tabbing system. Tabbing into/out of tables and text-lists is now supported (you need to copy new behavior/tabbed and behavior/cyclic values across into %ui.dat). Will add remaining widgets next build plus ability to exit a cyclic widget (e.g. press a key to exit a group-box). What keystroke/combo do folks want to map the later functionality to? |
Graham 22-Jun-2009 [8143] | Can I use this new tabbing system on earlier builds? |
Ashley 22-Jun-2009 [8144] | Yes, but make sure you use the updated versions of both %ctx-rebgui-edit.r and %set-focus.r. I've also uploaded build 122 to correct a typo in back-field. With regards to the question as to "what key should escape from cyclic", I've come to the conclusion that the best way of handling this is to just "tab through" cyclic widgets, so: f1: field panel data [f2: field f3: field] f4: field would tab as f1, f2, f3, f4, f1, etc. tab-panel would operate as: f1: field tab-panel data ["a" [f2: field f3: field] "b" [f4: field f5: field]] f6: field with a tab sequence of f1, f2, f3, f4, f5, f6, f1, etc This way we don't have to worry about what keystrokes to change tabs or exit grouping widgets. What do you think? |
Graham 22-Jun-2009 [8145x3] | Excellent ... at present I have to trap enter on the last field of a panel to set focus to the next panel. |
stack overflow issue persists :( | |
In build 122, in tour.r and in List/Tree the right hand tree is now missing. | |
older newer | first last |