Re: Rev 4 beta status
Hi Len, Now TWO weeks and not a peep. Any kind of update on the progress? For future reference: I would have been far happier getting a "surprise" email letting me know a beta was available than getting told one would be available and then not seeing it. Sometimes, ignorance IS bliss. please get accustomed to the idea that life proceeds at a different pace in the highlands :-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: dataGrid - set the dgData[TRUE] to tText
Hi Trevor, On Jul 8, 2009, at 8:55 AM, kl...@major.on-rev.com wrote: This does not work, but should, right? on mouseUp put "moo,cow" into tCols put "moo moo" & TAB & "cow cow" & CR & "pig" & TAB & "oink" into tContent set the dgtext[true] of grp "DataGrid" to tCols & CR & tContent end mouseUp Only if you have already defined "moo" and "cow" columns in the data grid. When you include column names in the dgText the data grid will not create them for you automatically. AHA! My fault, I thought one could provide the wanted column LABELS in the first line. Thanks for the info! Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: dataGrid - set the dgData[TRUE] to tText
Hi Treovor, On Jul 8, 2009, at 4:23 AM, Shao Sean wrote: should the following not work? line 1 "moo" and "cow" would be the labels of the columns and line 2 "pig" and "oink" would be the data for each of the columns.. all i get is an empty data grid.. on mouseUp set the dgText[TRUE] of group "DataGrid" to "moo" & TAB & "cow" & LF & \ "pig" & TAB & "oink" end mouseUp In the code above "moo" and "cow" would have to be the name of the columns. The columns would have to already exist if you are passing in the names. Do they? This does not work, but should, right? on mouseUp put "moo,cow" into tCols put "moo moo" & TAB & "cow cow" & CR & "pig" & TAB & "oink" into tContent set the dgtext[true] of grp "DataGrid" to tCols & CR & tContent end mouseUp ??? Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: dataGrid - set the dgData[TRUE] to tText
Hi SEan, Am 08.07.2009 um 10:36 schrieb kl...@major.on-rev.com: Hi Sean, should the following not work? line 1 "moo" and "cow" would be the labels of the columns and line 2 "pig" and "oink" would be the data for each of the columns.. all i get is an empty data grid.. on mouseUp set the dgText[TRUE] of group "DataGrid" to "moo" & TAB & "cow" & LF & \ "pig" & TAB & "oink" end mouseUp works for me if I use CR instead of LF and if there are already at least two (unlabled) columns in the DG :-) Sorry, just did a test, and this does not work here either? Oops, the column names must be a comma separated list, but that does not work, too? TREVOR! :-D Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: dataGrid - set the dgData[TRUE] to tText
Hi Sean, should the following not work? line 1 "moo" and "cow" would be the labels of the columns and line 2 "pig" and "oink" would be the data for each of the columns.. all i get is an empty data grid.. on mouseUp set the dgText[TRUE] of group "DataGrid" to "moo" & TAB & "cow" & LF & \ "pig" & TAB & "oink" end mouseUp works for me if I use CR instead of LF and if there are already at least two (unlabled) columns in the DG :-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: It's a week
Hi Len, Does that include the work week also? :-) Mr. Miller did not mention "end of next WORK week" just "end of next week" ;-) But hey, in other countries saturday is the last days of week, in germany we have to wait one day longer :-D Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: It's a week
Hi Len, Today is the end of "next week" as mentioned in the webinar. There's only 4 or 5 hours left in work day. Has the beta been delayed? over here in germany a week ends on sunday 11:59:59 PM :-) len morgan Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: OT: looking for a good Zip Tool on Mac
Hi Tiemo, I knew, you were jumping in, thats why I added my last words for you :) famous last words? :-D Sorry, its just too hot ;-) Tiemo Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: looking for a good Zip Tool on Mac
Hi Tiemo, Hello, I am looking for a Mac OS (freeware?) Zip-Tool with a GUI, where you can choose Source and Target Dir, as you can do it with all zip tools on Win. As far as I understand the OS build in zip function and most other tools I have found so far, all of them just unzip the zip file directly in the source folder, without asking for a destination. What is a recommended tool on Mac, beside making my own with rev :) ? well, you know what I am going to propose? SHELL and :-D Thanks Tiemo Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Missing Menu Lines?
Bonjour Yves, At your services, Sire! :-) Hi Klaus, I use Rev 3.5 (studio) but I have no file "engine cange log.txt" Where can this file be found ? It got installed into my "3.5.0-gm-2" folder. I can send you the file off list if you do not have it. Thanks. Greetings. Yves COPPE yvesco...@skynet.be Best -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Missing Menu Lines?
Hi Scott, Recently, kl...@major.on-rev.com wrote: ... items from the menu with the mouse, but it doesn't appear to work with command keys, specifically the edit commands (cut/copy/paste). Checking the menuHistory in the script always shows "1". If you are working with Rev >=3.5 you can use the new "item menu tagging", which is "label independant" and pretty useful :-) Hey, this kind of works! Very nice. I saw a reference to "tag" in the docs but wasn't sure where it came from... Danke Klaus. At your services, Sire! :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Missing Menu Lines?
Hi Scott, Recently, Jan Schenkel wrote: Welcome to the wonderful world of cross-platform menubars. OK, is there a way to get a menubar to work with command keys when using the menuHistory instead of menuPick? I can't use a menuPick handler based on the names of the menu options (using localized menus), so I'm using the menuHistory to determine which item is chosen (as explained in the docs). This works as expected when selecting items from the menu with the mouse, but it doesn't appear to work with command keys, specifically the edit commands (cut/copy/paste). Checking the menuHistory in the script always shows "1". If you are working with Rev >=3.5 you can use the new "item menu tagging", which is "label independant" and pretty useful :-) From the "engine cange log.txt": # Menu-item tagging ~ The menu item specification has been extended to allow a tag to be specified. It is now of the form: [ '/' [ ] [ '|' ] ] Note that the is optional as is the however, if you want an item with a tag but without the accelerator you need: '/' '|' The must only be composed of characters from the ASCII character set. If a menu item has a then it is the tag string that is passed to menuPick rather than the . This is useful for localization of menu items as you don't need to change the menuPick handler for each language supported. The following tags should be used to label the standard edit menu items to enable them to be controlled by the system dialogs on Mac OS X (e.g. answer file, ask file etc.): undo, redo, cut, copy, paste, clear, select all, preferences Note: You should not mix the use of tags and no tags in Unicode menus. Doing so will cause empty values for all unicode items without tags. # If you are still on Rev <= 3.0 I have no idea, sorry. Is it possible to make a localized menu that doesn't rely on menuItem names? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: export to text file in UTF8 format?
Hi Mark 1 and Mark 2, thanks a lot guys! @Mark (the dutch one) Sorry, a field is not option for me in this case. Klaus, I have these two functions in my library for this: function utf8encode pString return unidecode(uniencode(pString),"UTF8") end utf8encode - function utf8decode pString return unidecode(uniencode(pString,"UTF8")) end utf8decode Exactly what I need, thanks Mr. Bassman :-) - Best, Mark Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
export to text file in UTF8 format?
Hi freinds, I need a little help. I am generating a XML file and need to save it to disk in UTF8 format: ... Since uniencode/unidecode etc. is still a mistery to me I need a little advice on how to convert my variable holding the complete xml text to UTF8 before writing to disk (binfile! of course). The docs are not much help here... Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: VB script for uuid
Hi all, Hi all, someone posted a VB script for generating uuids yesterday. Unfoturnately I cannot find it anymore... Can someone please pot this again or sned it to em via mail? not necessary anymore, already found it in the list archives! Always forget that they exist :-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
VB script for uuid
Hi all, someone posted a VB script for generating uuids yesterday. Unfoturnately I cannot find it anymore... Can someone please pot this again or sned it to em via mail? Thanks! Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: numberFormat to datagrid
Hi Josep, Hi Klaus, I have it in the FillData but nothing happen, all the values are showed with 6 decimal places.. hmmm, did work here, at least in an example button, not tested with a datagrid however. Could you please post the complete handler? Just to be sure. Salut, Josep Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hide Screen Furniture
Hi Richmond, kl...@major.on-rev.com wrote: Hi Richmond, We have hide menuBar andhide taskBar but we don't seem to be able to hide the Mac Dock "hide menubar" will also hide the dock on OS X! Åt least it did a minute ago here... the GNU Panel(s), Cairo-Dock, Avant Window Manager, or any other item of "screen furniture" that might be better tucked away whilst our stack/apps are running. RR stacks running under GNOME will cover the Panel(s), but they are unable to make Cairo-Dock or AWN go away. Anybody "out there" with any bright ideas in this respect. Never heard of the other thingies :-) TIME YOU DID, This statement is illogical! The past is finished so I cannot change it, unless Jaquelines "time warp" stack really works :-D as desktop Linux distros become more mainstream: ... (this one is particularly messy) all guaranteed to get in the way of your 'Next Big Thing'. :) You mean Steve Jobs' "next big thing"! MY next big thing is the next gig with our rock band ;-) See second link in my sig. Best Klaus -- Klaus Major http://www.major-k.de http://www.major-k.de/bass kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hide Screen Furniture
Hi Richmond, We have hide menuBar andhide taskBar but we don't seem to be able to hide the Mac Dock "hide menubar" will also hide the dock on OS X! Åt least it did a minute ago here... the GNU Panel(s), Cairo-Dock, Avant Window Manager, or any other item of "screen furniture" that might be better tucked away whilst our stack/apps are running. RR stacks running under GNOME will cover the Panel(s), but they are unable to make Cairo-Dock or AWN go away. Anybody "out there" with any bright ideas in this respect. Never heard of the other thingies :-) Presumably (as screen furniture seems to multiply) we need some generic HIDE rather than, say hide AWN. Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: internal audioclips -> file on hd?
Hi Scott, Recently, kl...@major.on-rev.com wrote: can someone give me a hint if and how one can "export" imported audioclips from a stack back to a file? Back in 2006, the answer was "no". http://www.nabble.com/Exporting-sound-from-RR--to522.html#a5292224 ah, I see, thanks, too bad :-/ Not sure about today. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: internal audioclips -> file on hd?
Hi Mark, Sorry Klaus, it seems that my suggestion works with videoclips only. Ah, that is at least something ;-) -- Best regards, Mark Schonewille Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: internal audioclips -> file on hd?
Correction! Hi all, can someone give me a hint if and how one can "export" imported audioclips from a stack back to a file? I already tried the suggestion of Mark Schoneville in the RR forum: ... put the text of ac "xyz.aif" into tVar put tVar into url("binfile:...") ... but that only resulted in a small file with the content "1"??? That did not produce a file but gave me an error: Object does not have this property ... put ac "xyz.aif" into url("binfile:...") ... also does not work. This resulted in a text file with the content "1" Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
internal audioclips -> file on hd?
Hi all, can someone give me a hint if and how one can "export" imported audioclips from a stack back to a file? I already tried the suggestion of Mark Schoneville in the RR forum: ... put the text of ac "xyz.aif" into tVar put tVar into url("binfile:...") ... but that only resulted in a small file with the content "1"??? ... put ac "xyz.aif" into url("binfile:...") ... also does not work. Any hints or working examples very welcome :-) Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Data Grid and per column allow editing
Hi Trevor, wonderful, we really appreciate your work and frequent updates! Could you eventually put a date and/or version number into your online docs/pdfs? This way we do not have to guess if we have the latest PDF downloaded, know what I mean? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Crossplatform EURO sign?
Hi all, any hint on how to handle crossplatform EURO signs? I mean the euro sign is unfortunately NOT translated isotomac/mactoiso, so how do you handle user input of this (and other) character(s) in your crossplatform apps/stacks/databases? Not to mention of ERUO signs in label fields, when you do not want to loop over all fields and place the appropriate signs on "pre-/openstack". Any hints heavily appreciated, inm the meantime we use "EUR" ;-) Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X Dock menu
Hi sims, Many moons ago, Richard Gaskin added an enhancement request to the 'Quality Control' list - number 3339 "It would be handy to have a Dock menu for OS X, and perhaps the same syntax would also provide a right-click menu for Windows." Is there currently any way to put a menu into a Docked icon? When holding the cursor down on the Mail icon in the Dock a menu appears (it also appears in the menubar under 'Windows' as 'OS X Dock Menu' Anybody know the magic sauce that will let me do that? check the "Engine Change Log.txt" file in the Rev folder and search for: "Currently Unsupported Features" (unsupported for about two or three years now???!!!) There you will find "the icon" and "the iconmenu" which might be what you are after. sims Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to duplicate a substack?
Hi Reinhold (Du altes Scheitelbein :-) Hi! I need a rather exact copy of a substack in my mainstack. I will change only the name and some scripts. How can I duplicate the substack. I think I did it some times ago but I forgot how. as others already mentioned "clone stack XYZ" is what your are looking for. I would also: ... lock messages ## In case there are openstack/preopenstack/opencard etc. handlers that should not be executed clone stack xyz ... And don't forget, a cloned SUBstack will automatically become a MAINstack! Thanks Reinhold Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: On-Rev testing - opinion poll
Hi Thomas, Was able to learn from your example and replicate it - hopefully got it right. http://lazyriver.on-rev.com/poll.irev Almost as cool as Sarah's original ;-) Little typo: D. I don't do opion polls Should read: D. I don't do opium polls :-D Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: "Activity" message ?
Hi Jacques, Thanks, Joe This solution implies "pass keydown" and "pass mouseDown" everywhere these messages are trapped... I should perhaps also add "on mouseMove" and "pass mouseMove"... I'll check it anyway. It's for an application used in an exhibition - about Darwin and (R)evolution. I'm using a timer to restore the opening screen after some time if nobody is fiddling with the computer. A better option may be a little frontscript where you catch your events and pass them. This way you will not have to modify all existing script to "pass whatever" :-) Jacques Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
@Jan Schenkel, important
Hi Jan, sorry for abusing the list, but all my mails to your quartam account come back for being considered as SPAM! :-/ Any hints on how to contact you via mail? Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Computing the age of a person?
Hi sims, On May 14, 2009, at 4:39 PM, kl...@major.on-rev.com wrote: I could need a hint on how to compute the age of a person when I have the birthday. The "convert to seconds" and "subtract"ion part is easy, but how to proceed? :-) Thanks in advance! A hint: Mathematics. Geeez, the cunning Jim stroke again :-) Sorry, but I was always weak in mathematics... sims In the incubator now: AppBoot http://appboot.wordpress.com/appboot_links/ Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Computing the age of a person?
Hi all, I could need a hint on how to compute the age of a person when I have the birthday. The "convert to seconds" and "subtract"ion part is easy, but how to proceed? :-) Thanks in advance! Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: help - why is this no work?!
Hi Craig, Klaus. I had no idea there was such a log. well, I, personally, examine EVERY folder and file that gets installed on my HD ;-) Prevents me from unwanted surprises. The dictionary needs to catch up. Yep. Craig Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: help - why is this no work?!
Hi Craig, I am new at this, but "byte" is not native to rev, it is since Rev 3.0! See the "Engine Change Log.txt" file in the Rev folder. and you have not defined it. Nasty Sean :-D Craig newman Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Character encoding is driving me insane
Hejsan Fredrik, Hi there, I'm writing a small application that's supposed to keep track of different tasks for certain people at work. I'm using a datagrid to present the data and simple text files for storage. The problem is that I tend to lose the characters åäö and ÅÄÖ (which we use a lot here in Sweden). At first I simply loaded a tab-delimited file into the dgText of the datagrid but that didn't work. After searching around on the forums/mailing list I found some code for handling UTF-encoded text and thus I changed the "Open file"- code to something like this: set the unicodetext of fld "importedData" of card "Data" to uniencode(tFile,"UTF8") put the fld "importedData" of card "Data" into tData And then I set the dgText to tData. This worked fine until I started messing around with making some columns into presenting calculated values only. Since I didn't need to save the data in those columns to any file I started using the dgData-property to only save & load specific fields instead. The problem is that now I lose my special characters. They simply do not appear in the text. They're still there in the text file, just not in the "importedData"-field and thus neither in the datagrid. I have no idea why my first solution suddenly stopped working. The text file is in the "UTF-8"-format. Does anyone out there have any good ideas of how to work with text with special characters? Or perhaps you can point me toward a previous thread with useful info. Right now I know nothing about character encoding except that they make my life more difficult.. sigh. Maybe this will help you: <http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/3396-What-If-I-Need-to-Work-With-htmlText-rtfText-or-unicodeText- > At this url you can also download the latest DataGrid docs (as PDF) from the maestro Signore De Vore himself :-) Thanks, Fredrik Andersson Best & adjö Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Example revolution apps?
Hi Stephen, Is ScreenSteps by Blue Mango written in Revolution? Yes :-) -Stephen Cox Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sort cards dateTime by field "day" dont works
Hi Reinhold, Hi! I have a stack "work" with 14 cards. Each has a field "day". I create a new card with the script: create cd put the short system date into fld "day" Then I want to sort the card by field "day" with the script sort cds of stack "work" dateTime by fld "day" But I failed. My cards are orderd in this way (content of field "day"): 11.05.09 07.05.09 21.01.09 22.01.09 ... 30.01.09 01.02.09 05.05.09 What is my mistake? The engine is english, so you have to tell her that you are not :-D ... ## Force the engine to use your (local german) format for your "dateitem" sort: set the usesystemdate to true sort cds of stack "work" dateTime by fld "day" ... Should to the trick. Thanks Reinhold Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid: setting dgProps["column widths"]
Hi Trevor, On May 7, 2009, at 8:45 AM, kl...@major.on-rev.com wrote: From the docs: ... column widths - Allows you to set all column widths at once. Line delimited list of integers. ... A couple of qustions: 1. I checked the 10,000,000 lines of script of btn "DataGrid" in your library :-) and it looks like this should be a COMMA separated list, right? Just like: .. put the dgProps["column widths"] of grp "DataGrid" .. -> 120,100,110,50 = COMMA separated list, should be consistent I think. Yes, it should be a comma delimited list of integers. The issue is with the repeat loop in the dgProp setprop for "column widths". Currently it says: repeat for each item theColumn in the dgProps["columns"] of me It should read as follows since columns are line delimited: repeat for each line theColumn in the dgProps["columns"] of me If you make the change it should start working. Great, will do, thanks! 2 minutes later: Done and works, way cl :-) 4. What will (should) happen if we supply too few/many items in the list like: ... set the dgProps["column widths"] of grp "DataGrid" to "100,100" ## Given there are more or less than 2 columns in the datagrid ... The code loops through the actual columns and assigns the item in the list you provide to the width of that column. If you supply to few integers then an error will occur. If you supply too many then the extras will be ignored. OK, but maybe you could implement the same behavior as in the "tabstops" in Rev? This way the last "column witdh" would be "repeated" if we supply to few items? Know what I mean? That would be very nice :-) Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
DataGrid: setting dgProps["column widths"]
Hi Trevor, using 3.5 gm 2: From the docs: ... column widths - Allows you to set all column widths at once. Line delimited list of integers. ... A couple of qustions: 1. I checked the 10,000,000 lines of script of btn "DataGrid" in your library :-) and it looks like this should be a COMMA separated list, right? Just like: .. put the dgProps["column widths"] of grp "DataGrid" .. -> 120,100,110,50 = COMMA separated list, should be consistent I think. 2. ... set the dgProps["column widths"] of grp "DataGrid" to "100,100,100,100" ## Given there are 4 columns in the datagrid ... But that does not work, the columns do not resize. 3. ... set the dgProps["column widths"] of grp "DataGrid" to ("100" & CR & "100" & CR & "100" & CR & "100") ## Given there are 4 columns in the datagrid ... Doesn't work either, but if my assumption 1 is correct, it should at least give an error?! 4. What will (should) happen if we supply too few/many items in the list like: ... set the dgProps["column widths"] of grp "DataGrid" to "100,100" ## Given there are more or less than 2 columns in the datagrid ... Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
New datagrid library
Hi all, I somehow cannot find the url to the new version of the dg library, that Trevor posted here on the list yesterday, could someone plaese re-post it? Thanks! Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid: mouseup stops working after setting dgProp["default column behavior"]: Reloaded
Hi Trevor, On Apr 29, 2009, at 1:02 PM, kl...@major.on-rev.com wrote: ... You want to define the dgDataControl in your behavior if you want line selections to work. A data grid queries controls for the dgDataControl property. I'm not sure it will fix the problem you are experiencing but it may. You should try adding this to your behavior: getprop dgDataControl return the long id of me end dgDataControl OK, will try tomorrow and tell you, thanks! Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com Best Klaus Klaus Major kl...@major.on-rev.com http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid: mouseup stops working after setting dgProp["default column behavior"]: Reloaded
Hi Trevor, On Apr 29, 2009, at 12:39 PM, kl...@major.on-rev.com wrote: But my other observation is also correct, this only happens after I set the custom behavior AND the stack with the grid is a substack, honestly :-) All is fine if that stack is a mainstack, makes no sense, but that's the way it is. Can you email me the script of your custom behavior? I will look at that first and if the answer isn't obvious then we can try and figure out the substack issue. It was in my last mail: on FillInData pData set the text of me to win2mac(urldecode(pData)) end fillInData Nothing extraordinary I think, and it works as exspected. I thought this was just an extract from the script. Yes, but you asked for "the script of your custom behavior" and this is it :-) I only need this handler in my custom behavior! You haven't defined the getprop for dgDataControl. See this lesson on how to create your own column behavior: <http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/3966-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- > I did, but did not mention it ;-) ... set the dgProps["default column behavior"] of group "DataGrid" to the long id of btn "fill_in1" of stack "iduallib3" ... Make any difference? If so then the question becomes, "Why did it ever work?". See above. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com Best Klaus Klaus Major kl...@major.on-rev.com http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid: mouseup stops working after setting dgProp["default column behavior"]: Reloaded
Hi Trevor, On Apr 29, 2009, at 10:38 AM, kl...@major.on-rev.com wrote: Another thing to do is to add some logging functions to the arrowkey and mouseUp messages in button "Data grid" of stack "revdatagridlibrary" and confirm that mouseUp is not being triggered at all. Good idea, said and done! I added some lines to the "mouseup" handler in the btn "DataGrid" answer "Mouse was clicked" answer sDeselectOnMouseUp and the mouseclick gets to the lib but the local variable "sDeselectOnMouseUp" is empty at that point so the selection will not change(?). It is okay if sDeselectOnMouseUp is empty. That var is set in dgMouseDown in order to select the clicked on row if you have multiple lines selected. Ah, I knew it wasn't that easy... But mouseUp is getting called so why do you think that mouseUp starts working? Is it just that lines stop being selected? This is the case, the grid gets "mouseup" but the "clicekd" line does not get selected. If that is the case then the problem is in mouseDown most likely. Can you add a log for that as well. Yes, will do tomorrow at work, where I have all these files. But my other observation is also correct, this only happens after I set the custom behavior AND the stack with the grid is a substack, honestly :-) All is fine if that stack is a mainstack, makes no sense, but that's the way it is. Can you email me the script of your custom behavior? I will look at that first and if the answer isn't obvious then we can try and figure out the substack issue. It was in my last mail: on FillInData pData set the text of me to win2mac(urldecode(pData)) end fillInData Nothing extraordinary I think, and it works as exspected. Thanks for your help! Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com Best Klaus Major kl...@major.on-rev.com http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid: mouseup stops working after setting dgProp["default column behavior"]: Reloaded
Hi Trevor, On Apr 29, 2009, at 9:33 AM, kl...@major.on-rev.com wrote: I posted this yesterday, but did not get an answer yet. If someone can give a hint or two, please do it :-) This is blocking our current project. I don't think the other email ever came through. Hi all, as the subject states, mouseup stopped working in my DataGrid. Using the arrowkeys to navigate still works fine. I added this custom behaviour via a new button, which works as exspected (converts the data to Mac encoding if necessary and urldecodes the data): on FillInData pData set the text of me to win2mac(urldecode(pData)) end fillInData But after that navigating in the list with the mouse stopped working?! Setting the custom behaviour to empty again does not resolve the problem, I just cannot click to change the list. I already quit and reopened Rev/MetaCard, still no joy. Any hints? I also found out that this only happens if the stack with the grid is a substack!!!??? NO problems if that stack is a mainstack. I already filed a bug report, but we definitivley cannot wait for that one to be fixed ;-) <http://quality.runrev.com/qacenter/show_bug.cgi?id=8024> I read the bug report and my first question is whether or not this bug only happens in the standalone? Based on your bug report it appears that you are building a distribution and then afterwards the mouseup message stops working. No, sorry for the confusion, this also happens in the IDE. We did not make a distribution/standalone yet. This has to work first ;-) It sounds likes there may be a behavior bug of some sort. Have you tried recreating the data grid on the substack from scratch? Yes, started with a fresh stack and experienced the same. No problems if the stack is a mainstack, see below... Another thing to do is to add some logging functions to the arrowkey and mouseUp messages in button "Data grid" of stack "revdatagridlibrary" and confirm that mouseUp is not being triggered at all. Good idea, said and done! I added some lines to the "mouseup" handler in the btn "DataGrid" answer "Mouse was clicked" answer sDeselectOnMouseUp and the mouseclick gets to the lib but the local variable "sDeselectOnMouseUp" is empty at that point so the selection will not change(?). But my other observation is also correct, this only happens after I set the custom behavior AND the stack with the grid is a substack, honestly :-) All is fine if that stack is a mainstack, makes no sense, but that's the way it is. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
DataGrid: mouseup stops working after setting dgProp["default column behavior"]: Reloaded
Hi all, I posted this yesterday, but did not get an answer yet. If someone can give a hint or two, please do it :-) This is blocking our current project. Hi all, as the subject states, mouseup stopped working in my DataGrid. Using the arrowkeys to navigate still works fine. I added this custom behaviour via a new button, which works as exspected (converts the data to Mac encoding if necessary and urldecodes the data): on FillInData pData set the text of me to win2mac(urldecode(pData)) end fillInData But after that navigating in the list with the mouse stopped working?! Setting the custom behaviour to empty again does not resolve the problem, I just cannot click to change the list. I already quit and reopened Rev/MetaCard, still no joy. Any hints? I also found out that this only happens if the stack with the grid is a substack!!!??? NO problems if that stack is a mainstack. I already filed a bug report, but we definitivley cannot wait for that one to be fixed ;-) <http://quality.runrev.com/qacenter/show_bug.cgi?id=8024> TREVOR! :-D Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
DataGrid: mouseup stops working after setting dgProp["default column behavior"]
Hi all, as the subject states, mouseup stopped working in my DataGrid. Using the arrowkeys to navigate still works fine. I added this custom behaviour via a new button, which works as exspected (converts the data to Mac encoding if necessary and urldecodes the data): on FillInData pData set the text of me to win2mac(urldecode(pData)) end fillInData But after that navigating in the list with the mouse stopped working?! Setting the custom behaviour to empty again does not resolve the problem, I just cannot click to change the list. I already quit and reopened Rev/MetaCard, still no joy. Any hints? Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution