AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 204 |
r3wp | 3029 |
total: | 3233 |
results window for this page: [start: 2501 end: 2600]
world-name: r3wp
Group: Core ... Discuss core issues [web-public] | ||
BrianH: 27-May-2009 | I prefer to use PARSE when I can, but recursion can be tricky if you use local variables. Not (always) impossible, but tricky. It's on the list to be fixed with the R3 parse proposals. | |
Henrik: 7-Jun-2009 | I've used ALTER once for user selection in a list, and it was even a special case. I think having the ability to just conditionally append to a block if the value does not exist is more useful. I.e. an ALTER, split in two functions. | |
Henrik: 27-Jun-2009 | has anyone been successful in compressing data in php and decompressing it again in R2? I see I asked such a question 7 years ago on the mailing list, but no solution was found back then. :-) | |
Janko: 1-Jul-2009 | two processes ping ponging to eachother 10 times with actor-net would look something like this now pinger: make actor [ act-match: [ [ 'pong count addr ] [ ~send addr compose [ ping (count) (get-my-addr) ] ] [ ''bye ] [ print "ok, bye" ] ] ponger: make actor [ act-match: [ [ 'ping count addr ] [ ~send addr compose ( either lesser? count 10 [ [ pong (count) (get-my-addr) ] ] [ [ bye ] ] ) ] ] and you would add the third actor that would act only once to "lend them the ball" to start them server: make once-actor [ act-once: [ ~send get-actor 1 compose [ ping 0 (get-actor 2) ] ] ] But the library is still quite messy .. especially with adresses of actors, global vars, I have a big list of things now to improve after I made that thing on the screencast | |
BrianH: 3-Jul-2009 | Your articles have made my to-think-about list, so we'll see how mch cleaner and more efficient we can make your model :) | |
Janko: 3-Jul-2009 | hm.. this would be very good to have .. and it sounds very much like data structures that Clojure has ... I think it calls them persistend data structures , like list, map, etc .. and the same as you described here. You have many versions of a data structure but they share the unchanged parts.. this highly benefits functional programming style .. you get "new" data structure each time, but without the penalty of copying it each time , and is cruicial in concurrency which is in focus in clojure, because then different threads dont's share and "corrupt" one to another the data structure , but each can have it's own revision , etc .. I am not that good in this complex stuff, but it might be very intersting to you becuase you will know much better what's he talking about and how can that be implemented .. they made some of his data structures in Factor , so they ren't impossible to make in other languages.. I don't remember exacty where I read about this | |
Maarten: 20-Jul-2009 | Within an async handler things might get unpredictable. If you have a normal event loop, including async in the wait-list, I think you should be good. | |
james_nak: 7-Aug-2009 | Thanks Graham. User error on my part. I can "read" now. I was wondering though if I have just the computer name and not a folder name I get an error. In other words, list-dir to-rebol-file "\\xyz\myfolder" is OK but not list-dir to-rebol-file "\\xyz\" doesn't. | |
Geomol: 20-Aug-2009 | Is it possible to give a function with a refinement as an argument to another function? If I e.g. would make a MAP function in REBOL, it could be: >> map: func [:function list /local result][result: clear [] foreach value list [append result function value] >> map sine [0 15 100] == [0.0 0.258819045102521 0.984807753012208] MAP apply the function to each member of the list. But I can't give sine/radians to map: >> map sine/radians [0 15 100] == 100 Is there a way around this? | |
Geomol: 20-Aug-2009 | It seems to work, if I put DO before function: map: func [:function list /local result][result: clear [] foreach value list [append result do function value]] | |
Sunanda: 28-Oct-2009 | No really.....There is Puzzles and Puzzle Answers here, but they aren't very web-public. There have been some nice puzzles on the mailing list: http://www.rebol.org/ml-topic-detail.r?l=p&topic=puzzle | |
BrianH: 16-Nov-2009 | Give me a sec, I'll list out the relevant functions... | |
Graham: 11-Dec-2009 | See http://www.mail-archive.com/[list-:-rebol-:-com]/msg07169.html | |
Graham: 12-Dec-2009 | I get this >> set-net [ [sales-:-coolexample-:-com] smtpout.secureserver.net ] >> send [someone-:-gmail-:-com] "testing" Net-log: ["Opening" "tcp" "for" "esmtp"] connecting to: smtpout.secureserver.net Net-log: [none "220"] Net-log: {220 p3plsmtpa01-02.prod.phx3.secureserver.net ESMTP} Net-log: [["EHLO" system/network/host] "250"] Net-log: "250-p3plsmtpa01-02.prod.phx3.secureserver.net" Net-log: "250-AUTH LOGIN PLAIN" Net-log: "250-8BITMIME" Net-log: "250 PIPELINING" Net-log: ["Supported auth methods:" [login plain]] Net-log: ["MAIL FROM: <[sales-:-coolexample-:-com]>" "250"] Net-log: "250 Sender accepted." Net-log: ["RCPT TO: <[someone-:-gmail-:-com]>" "250"] ** User Error: Server error: tcp 553 Sorry, that domain isn't in my list of allowed rcpthosts. | |
Dockimbel: 5-Jan-2010 | Cheyenne has such opened listen port detection capabilities (added recently), you can extract the code from the SVN repo (search for 'list-listen-ports function) : http://code.google.com/p/cheyenne-server/source/browse/trunk/Cheyenne/misc/win32.r Linux and OS X versions are also available in %misc/unix.r and %misc/macosx.r | |
BrianH: 21-Jan-2010 | To know which parameter to pass along you'd need a dialect with a list of supported functions in its code. | |
BrianH: 27-Jan-2010 | The R2/Forward functions that are unlikely to be incorporated in R2 directly are APPEND, REMOLD and LIST-DIR; the first two because they demonstrate the problem with adding too many options to a function, and the latter because it isn't good enough yet, even in the R3 version. | |
BrianH: 28-Jan-2010 | There hasn't yet been a final list, but someone (probably me) should go through CureCode and make a draft list in DocBase. And there's the change list for the releases too, though that is mostly CureCode references. | |
Maxim: 28-Jan-2010 | unless I have a precise list of changes so I can quickly detect side-effects. | |
BrianH: 28-Jan-2010 | In theory, the combined test suite and combined docs should tell you the differences. When I get the time I can compile a list of relevant CureCode tickets. | |
Maxim: 28-Jan-2010 | We really need a simple list of changes compiled in a single file, I have no clue how and when the process of 2.7.7 occured, and really, I've got A LOT of other "cats to whip". FYI, this not a negative comment, just stating that unless someone builds a (similar to prior versions) simple list of all changes, I won't be able to use 2.7.7... as previous versions have bitten me, I can't risk running code in an untrusted environment... I feel others with serious tools and services might feel the same.. a single little change change cause havoc like data destruction which is only apparent, once the process is done. | |
BrianH: 30-Jan-2010 | ; Aliases copied from R3 mezz-file ls: :list-dir pwd: :what-dir rm: :delete mkdir: :make-dir cd: func [ "Change directory (shell shortcut function)." [catch] 'path [file! word! path! unset! string! paren!] "Accepts %file, :variables and just words (as dirs)" ][ ; Workaround for R3 change in lit-word! parameters with paren! arguments if paren? get/any 'path [set/any 'path do path] switch/default type?/word get/any 'path [ unset! [print what-dir] file! [change-dir path] string! [change-dir to-rebol-file path] word! path! [change-dir to-file path] ] [throw-error 'script 'expect-arg reduce ['cd 'path type? get/any 'path]] ] more: func [ "Print file (shell shortcut function)." [catch] 'file [file! word! path! string! paren!] "Accepts %file, :variables and just words (as file names)" ][ ; Workaround for R3 change in lit-word! parameters with paren! arguments if paren? :file [set/any 'file do :file] print read switch/default type?/word get/any 'file [ file! [file] string! [to-rebol-file file] word! path! [to-file file] ] [throw-error 'script 'expect-arg reduce ['more 'file type? get/any 'file]] ] | |
Graham: 23-Feb-2010 | I've just found out from the mailing list that 'exclude creates a block of unique items. so, unique block [block!] is the same as exclude block [block!] [ ] So, what's the best way to remove items from a block without making the first block unique ? | |
BrianH: 23-Feb-2010 | Yeah, I've cleaned up begin and make-module a bit, and rewritten DO completely many times, but make-port is still on my list. | |
BrianH: 23-Feb-2010 | MAKE-SCHEME is earlier on my list though. | |
BrianH: 18-Apr-2010 | If the types aren't the same the datatypes are compared, by the arbitrary ordering they have in the type list (the datatype number). | |
Maxim: 23-Apr-2010 | its a shame cause looping a large list manually and comparing with same? is VERY slow :-( on a 10 million sized series. my fastest FIND-SAME loop is 20 time slower than FIND, which would be much faster, since all it would have to do is compare a pointer. | |
Steeve: 23-Apr-2010 | can't you wrap the items of the list inside objects ? In that case, it will be a find/same | |
Maxim: 23-Apr-2010 | steeve no... its a database like flast list of labels with corresponding data items. | |
Maxim: 23-Apr-2010 | its for the list style... hehe would you rather do fill my-list/aspects/list ["Steeve" 1 "Max" 2 "Lad" 3] or fill my-list/aspects/list reduce [context [label: "Steeve" data: 1] context [label: "Max" data: 2] context [label: "Lad" data: 3]] | |
Maxim: 23-Apr-2010 | note the multi-column list will use the same data interface IMHO it gets even less fun if you are using DB queries to populate the list. it also generates a lot of useless & SLOW binding everytime you change the list | |
amacleod: 11-May-2010 | example" sorting a list of first and last names first on last then on first in case of same last names | |
Graham: 13-May-2010 | or you could modify the ftp protocol for r2 to display all the file modes sent back by the LIST commands | |
Maxim: 13-May-2010 | I've had issues where paths misaligned between list, read and write ops ! | |
amacleod: 28-May-2010 | What about the "to:" in the header? When using /only is here a way to get the email to show the single address of the recipiant and not say a list of all address sent to? | |
Maxim: 28-May-2010 | I was just saying that when a server receives a bulk mail, (from any client) it will (should) definitely restrict the list size. | |
Anton: 29-May-2010 | Use the BCC: (blind carbon copy) field to specify a list of recipients who will not see the other email addresses. I think you need to set bcc in a custom header. | |
Gabriele: 10-Jun-2010 | Graham: on close you can just close the port (so that it is removed from the wait list). apparently not doing that causes an error (not sure if this is new, or i just never catched it before; anyway i think rebol should not be calling the awake after the port has been closed) | |
Vladimir: 5-Jul-2010 | I managed to get list of all drives using read %/. | |
BrianH: 6-Jul-2010 | One caveat to new options: Once APPLY is backported (planned for 2.7.8) then new options will need to be added to the end of the options list of functions, not in the middle. APPLY is positional when it comes to options. | |
Graham: 23-Jul-2010 | I also found the relevant mailing list thread | |
Graham: 18-Aug-2010 | 18,000 strings.... real time.... as each time they type a character I am presenting a list of choices | |
Gregg: 19-Aug-2010 | No, just a list of single-value records. :-) | |
Henrik: 19-Aug-2010 | Graham, look at the filter function in LIST-VIEW. | |
Graham: 19-Aug-2010 | filter-list ? | |
Graham: 20-Aug-2010 | http://www.mail-archive.com/[list-:-rebol-:-com]/msg07839.html | |
shadwolf: 25-Aug-2010 | can't it be easyer to have a delet function that will delet the 4th and 8th entry (but once the 4th entry is deleted then ... the 9th entry become the 7th entry) i was always suprised that in the list management it was easy to add sort locate information in a list but so painfull to be able to simply remove a record... (anyway if each "line" would be stored in a subblock it would be easier to remove them as line) | |
Group: !RebGUI ... A lightweight alternative to VID [web-public] | ||
Pekr: 6-Aug-2009 | RebDoc request-error ends RebDoc - missing argument, ditto request-list, request-value crashes RebDoc (populated after request-speellcheck) | |
Ashley: 7-Aug-2009 | LED design is absolutly terrible ... please provide a link/image of a better design Why horizontal scroller shows different dragger symbol than vertical one? ... vertical uses "=", horizontal wasa "||" but those characters don't center to well what is the active part of the scroller, and what is the background ... you mean the dragger is hard to distinguish from the gutter? Other than that (and pop-up bugs) ... table, text-list and tree still need a lot of work zero-divide error with tour.r ... thanks, added to the list of bugs to fix | |
Ashley: 9-Aug-2009 | Build 207 - Fixed slider bug (zero divide error when ratio = 1) - Added find-key-face to needed funcs when not using view.r - Added undisplay (does what unview/only does, but better) - request-error now accepts string - Removed gui-error (obsoleted by request-error) - Removed find-face func - Cosmetic changes to: - led - led-group - radio-group - chat - Removed tip & over? attributes - Made init, options & old-color attributes optional - Made action & feel objects optional - Replaced rebface, subface, gradface & btnface with baseface & gradface - Added over? function - icon changed to accept file name directly - Added action/on-time event (used in conjunction with rate - see anim) - Added table & text-list alternate row coloring | |
Pekr: 9-Aug-2009 | Looks nicer and polished. The only note to UI from my side - button gradient - makes white text badly readable ... but other than that it looks good. Nice addition with row-coloring for table and text-list - such small detail and it looks much more pleasant ... | |
Pekr: 10-Aug-2009 | Maybe tree widget could benefit from row coloring too? Would look consistent with table and text-list. | |
Ashley: 10-Aug-2009 | nothing pops up when clicking the button, why? ... the display function exits if it hits a duplicate window title (before calling layout) ... this means you don't have to worry about the user hitting a button that calls a display multiple times and getting multiple (near identical) windows popping up! tree widget could benefit from row coloring too? ... it will, once I've rewritten it to use the same face-iterator func that table and text-list use (which means it'll get all the extra goodies like auto-slider support as well! | |
Ashley: 13-Aug-2009 | Build 209 - Fixed #LV span options for - button - group-box - panel - pill - Fixed tab-panel tabbing - Removed redundant scroll-panel from request-dir - Reworked on-resize handling for most widgets - Removed #O span option (made redundant by on-resize) - Renamed span-size to span-init - Improved popup handling (drop-list, menu, etc) Note that this build has [temporarily] broken dialog modality (you can click outside of a dialog) and tab-panel action blocks. | |
Ashley: 20-Aug-2009 | Build 211 - Moved base objects from ctx-rebgui to system/view - Removed all dependencies on View/VID mezz code - Rewrote and added show-popup & hide-popup functions - Removed style widget - Inlined popup logic - Converted internal images from base 16 to base 64 - Cursor keys now work in choose (drop-list, edit-list & menu) - pad option in layout enhanced to accept pair! (pixels) - Added tooltips to tool-bar - Added request-edit - Improved resize logic - Fixed request-dir (resize bug) - Fixed slider (resize bugs) | |
Graham: 24-Aug-2009 | BTW, there is an issue tracker which people can use ... it might be easier to post them there as well as here http://rebgui.codeplex.com/WorkItem/List.aspx | |
Graham: 24-Aug-2009 | I got a crash on using cursor keys on drop list. The error requestor doesn't allow me to copy the text :( wake-event error near i: 1 + last face/picked ( isn't picked a block normally ? ) | |
Ashley: 25-Aug-2009 | Any suggestions for a replacement for the VID toggle? ... isn't the toggle just a drop-list less the drop component? It's a fairly trivial widget to add to RebGUI, but it's not a widget I've seen in any Windows or Mac apps. What do folks think about this widget from a UI POV? | |
Ashley: 26-Aug-2009 | Build 213 - layout moved to global context - renamed request-edit to editor - renamed set-enable to enable - renamed set-disable to disable - added in-widget function - enable/disable now accept block of faces - fixed arrow/list bug - changed popup auto-hide from away to click - fixed menu - added toggle widget - changed hard-coded green/red to use colors/true & false - updated tour.r and RebDOC.r | |
Ashley: 28-Aug-2009 | Sure: drop-list 50 (remembering that 50 is cells not pixels ... http://www.dobeash.com/RebGUI/user-guide.html#section-3.3 ) | |
Ashley: 28-Aug-2009 | display "Sample" [ drop-list data ["Short text"] drop-list 50 data ["Some longer text"] ] | |
marek: 5-Sep-2009 | Before one touches widget list, simply - do %create-distribution.r - fails because of missing 2 files, as I stated before. I hope, I'm not doing anything wrong getting this result. I should eventually overcome this problem temporarily, until it's fixed in next release. | |
marek: 7-Sep-2009 | There are at least 3 problems needing fixing in 214 (and 213) version. When using drop-list or edit-list if one will hit <TAB> button when list line is hilighted stack overflow eventuates. One, of course, doesn't need to do that, but it may happen. Slider button, as presented in RebDOC, bombes out for simple reason. Formula used is [slider] but minimum required seems to be [slider []] - compulsory action needed. In RebDOC editor requestor hitting "Open" or "Save" button triggers feature-na script error. | |
Ashley: 11-Sep-2009 | The "tab out of list" and "rate" bug fixes are still WIP. | |
marek: 15-Sep-2009 | There is strange bug introduced in build 208 and still there. I checked and 207 seems to be OK. When tabbing table and edit-list, edit-list becomes not accessible when first line of table gets selected. Selecting any other table line clears the problem. I'm on linux Mint. Can anybody confirm my findings? >>display "" [edit-list data [] table options ["a" left 1.0] data [1 2 3]] do-events ;-- tab a bit, please | |
Ashley: 16-Sep-2009 | Er, this is weird. I filled in a domain transfer request for Webarama, and because it was a .com they asked for an Authorization code from Webhero ... which I asked for, obtained and provided. My Webarama domain list includes dobeash.com, says its active and due for renewal next year. Webhero then said they were going to autobill me for another year of hosting etc so I cancelled all my services with them figuring that once that occured I'd [eventually] be left with a blank www.dobeash.com site which I'd rebuild from backup. That was several days ago. Any ideas on what I should do? (it's after 5pm here so I can't contact Webarama to confirm ownership). | |
Graham: 16-Sep-2009 | Why do melbourne businesses list their numbers like 1300..... | |
marek: 16-Sep-2009 | >>display/dialog "test" [drop-list data [1 2 3]] ;; no problems, build 215, linux Mint >>display/dialog "test" [edit-list data [1 2 3]] ;; big problem here When trying to enter text into edit-list widget the window magically disappears. Can anybody confirm, please. Am I doing anyting wrong? Will it ever work? Ashley? | |
Ashley: 17-Sep-2009 | Build 216 - resized editor - added /size refinement to editor - fixed edit-list - fixed request-file (returns full path) | |
Ashley: 17-Sep-2009 | UI question. What's the "standard" way to deselect a selected table/text-list row. I've seen: a) click the selected row (i.e. toggle mode) b) click outside the parent widget (i.e. deselect on focus change) c) don't allow it (the current RebGUI behavior) I can see problems with each approach, but c) requires another widget (typically a button) to produce the desired behavior. | |
marek: 17-Sep-2009 | Thanks Graham for confirming. Thanks Ashley for quick fix of the last problem. Problem I tried to explain before still remains. Lets explain it better, if I can. >>display "test" [table options ["a" left 1.0] data [11 22 33] field edit-list data [1 2 3] field] do-events If one selects first line in table and tries to <TAB> around one gets stack on edit-list (drop-list too). If, on the other hand, one selects any other line of table, edit-list gets focus and tabbing continue to work, but only after it reaches table again. I hope it's not too hard to fix. Thanks. | |
marek: 17-Sep-2009 | I will try my luck again with this 2 items. When using edit-list or drop-list, there is a way to crash it. Just click on the widget, hilight any line on the list and press <TAB>. >>display "" [edit-list data [1 2]] do-events ;;-> stack-overflow error message pops up. Table widget has different gap in the last column on the right without and with the scroller. It' only cosmetic thing and maybe it is customary to be like that. >> display "" [table options ["a" right 1.0] data [1] table options ["b" right 1.0] data [2 3 4 5 6]] do-events Can anyone confirm, please. Ashley? | |
marek: 19-Sep-2009 | Another stumble block in my slow attempt to write my little program. Try to select edit-list and hit enter key. >> display "" [table options ["a" left 1.0] data [] edit-list []] do-events ;-- works as it should >> display/dialog [table options ["a" left 1.0] data [] edit-list []] ;-- window disappears It maybe related to the table problem I mentioned before. | |
marek: 19-Sep-2009 | I made a little mistake, but it makes no difference. >>display/dialog "" [table options ["a" left 1.0] data [1 2 3] edit-list data []] ;-- it still disappears, even if first line selected | |
marek: 23-Sep-2009 | It may be last one, I don't know. display "" [table options ["a" left 1.0] data [1 2] [set-text el first face/selected] el: edit-list data []] do-events Select row 1 and row 2. Build 205 works ok. Build 207 doesn't with first row of table - nothing shows on edit-list. Replacing edit-list with field makes it work ok in 207 (and up) again. | |
marek: 28-Sep-2009 | Serious bug introduced in build 218 or even 217. Drop-list and edit-list widgets produce past-end error on list selection. Tested tour.r, RebDOC.r and in terminal. Nothing works. | |
marek: 28-Sep-2009 | This is interesting bug. >>display/dialog "" [edit-list data ["a..." "b..."]] ;; try to enter something starting with "a" or "b" ** Script Error: Invalid path value: lines ** Where: wake-event ** Near: pf/lines: to integer! pf/size/y / Any other start is OK. No modal mode is OK. Happens with 218 (less selection bug) and 216 as tested by me. | |
Pekr: 14-Oct-2009 | As append-widget removal was oversimplification imo, especially for the widget authors, I created short script, which kind of automates the process .... 1) Save the script, e.g. make.r, into the RebGUI root dir 2) create one file, called %my-widget-list.r, containing unnamed block, containing file-names. Your widgets can be placed anywhere 3) create backup of %rebgui-widgets.r, call it %rebgui-widgets.old.r, in order to be able to easily "remove" widgets by commenting them out in file 2) Here's the script: REBOL [] ;--- to enable removal of unwanted own widgets, create ;--- copy of rebgui-widgets.r into rebgui-widgets.old.r ;--- remember to do so, when official distro release contains new widgets! if exists? %rebgui-widgets.old.r [ write %rebgui-widgets.r read %rebgui-widgets.old.r ] ;--- load list of widgets you want to include ;--- file containing un-named block of list of files to include widgets-to-include: load %my-widget-list.r template: "^-#include %widgets/^/" ;--- read RebGUI widget list (%rebgui-widgets.r) tmp: read %rebgui-widgets.r widget-buffer: copy "^/" foreach widget-filepath widgets-to-include [ widget: last split-path widget-filepath ;--- copy widget to the widget-directory write join %widgets/ widget read widget-filepath ;--- build string containing widget names you want to add ... ;--- but only when not already on the list - prevent duplicate entries if not found? find tmp widget [ append widget-buffer (head insert find/tail copy template "/" widget) ] ] ;--- append to RebGUI widget-list (%rebgui-widgets.r) change back back tail tmp (append widget-buffer "]") write %rebgui-widgets.r tmp ;--- rebuild RebGUI distribution ... call "create-distribution.r" | |
Claude: 9-May-2010 | thanks Ashley, do you find a way to correct Build 218 and drop-list, menu etc.... ? | |
Graham: 16-Aug-2010 | The current edit-list shows the matches where you are typing which is a little distracting. How about the drop list appearing with the matches instead? | |
Graham: 16-Aug-2010 | since the drop list uses a modal popup window I guess it would require a lot of modification :( | |
Graham: 22-Aug-2010 | I've posted my lookup-field as per my video here http://rebol.wik.is/RebGUI/Lookup-field It uses a lot of code from the edit-list which I don't quite grok! So, there's a bug which requires you to initialize the field with a backspace first. | |
Graham: 22-Aug-2010 | So, I can feed this widget 18,000 entries which I don't think you can with the edit-list. | |
Awi: 13-Jan-2011 | This trailing hover problem is not visible in build 218, but I need drop- and edit-list for my app, and these two are broken in b218. Thanks for the help! | |
Ashley: 13-Jan-2011 | On a Mac, no problem. On WinXP it appears that the events are being generated faster than they can be processed. Good test case, I've never seen this before! ;) I don't have an immediate fix, but this is one more reason for me to get the 2.x series released. Are drop- and edit-list the only roadblocks for you? | |
Ashley: 13-Jan-2011 | Depends on how big the roadblocks are. It's easier to fix *-list than port the 2.x event handling back to 117! ;) | |
Awi: 15-Jan-2011 | Here I found another bug with the text-list style. When your list is longer than the box (means you have to scroll), deleting the item at the bottom caused some calculation mismatch in redraw. This don't happen when you start deleting from the top. Here is the test case: | |
Awi: 15-Jan-2011 | do %rebgui.r display "test scroll panel" [ tl-rute: text-list data [ "a" "b" "c" "d" "e" "f"] button red "-" [ if tl-rute/selected [ remove find tl-rute/data tl-rute/selected tl-rute/redraw ] ] ] do-events | |
Awi: 15-Jan-2011 | Delete "f", then delete other items, you will start to see "none" displayed in the list. This don't happen if you start by deleting other than "f" items. | |
Awi: 15-Jan-2011 | RebDOC says nothing about deleting rows in text-list. Yes there is add-row and remove-row in table. | |
Awi: 15-Jan-2011 | But the table in 2.x has the habit to prevent drawing text :-), that's why I moved my code to text-list, avoiding tables. | |
Gabriele: 24-Mar-2011 | Timers are not really related to multithreading. If you only need a timer, you can just use WAIT with a time! or integer! value. Also, one way to work around problems that may happen when using WAIT inside a face action is to disable the event port, then WAIT, then enable it again. Eg, in your above code, replace the WAIT 0 with: saved: system/ports/wait-list system/ports/wait-list: [] wait 0 system/ports/wait-list: saved It may be better though to add the serial port to the wait list and handle things differently - I can't say without knowing more about your program. | |
Endo: 15-Nov-2011 | This line give error when you select an item in drop-list, I tested on latest svn version (218): Is it a known bug? (same error for edit-list) do %rebgui.r display "Test" [drop-list "Black" data ["Red" "Green" "Blue"]] do-events | |
GrahamC: 15-Nov-2011 | I normally specify a size for the drop-list | |
Endo: 16-Nov-2011 | Doesn't change the result, still crash. display "Test" [drop-list 30x4 "Black" data ["Red" "Green" "Blue"] box 40x40] do-events Should I report this as a bug on codeplex? | |
Endo: 16-Nov-2011 | display "Test" [d: drop-list 30x4 "Black" data ["Red" "Green" "Blue"] box 40x40] do-events after crash when I type d/picked into console, it gives the error. error happens in on-click, on the line "result: .... first picked" | |
MaxV: 4-Jan-2012 | You can create the following file index.html: <?php function getDirectoryList ($directory) { // create an array to hold directory list $results = array(); // create a handler for the directory $handler = opendir($directory); // open directory and walk through the filenames while ($file = readdir($handler)) { // if file isn't this directory or its parent, add it to the results if ($file != "." && $file != "..") { $results[] = $file; } } // tidy up: close the handler closedir($handler); // done! return $results; } ?> | |
Group: !REBOL3-OLD1 ... [web-public] | ||
Henrik: 29-Apr-2009 | Ladislav, I'd like to make your article on Identity into a cookbook recipe, so it gets an official listing in the cookbooks list, so people can find it. Where do you think it would fit on this page: http://www.rebol.net/cookbooks/ | |
BrianH: 29-Apr-2009 | It's on my todo list, no html though. | |
Pekr: 29-Apr-2009 | I have difficulcy to get Chat files. I do nf, to list new files, then I submit get * but nothing is synced. I try other aproach, going to e.g. R3 mezzanines section, and doing get * does either report, that there was no change to files, or that my local copy is changed, and hence it can't be synced. I am sure I did not do any local changes here ... So - how do you usually work with Chat file facility? |
2501 / 3233 | 1 | 2 | 3 | 4 | 5 | ... | 24 | 25 | [26] | 27 | 28 | 29 | 30 | 31 | 32 | 33 |