Re: Simulcast Envy...and a small request for Kevin
Hey Len, are we playing poker here? :) Alright I'm in - couple of bucks. Your counter. Mark Stuart Len Morgan wrote: I'd even pony up for a PPV of the keynote. len ___ 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 -- View this message in context: http://www.nabble.com/Simulcast-Envy...and-a-small-request-for-Kevin-tp25274487p25296234.html Sent from the Revolution - User mailing list archive at Nabble.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
Database connection fails with MS SQL 2008
Hi all, Anyone know if RunRev 3.5 can successfully connect to MS SQL 2008? So far I haven't been able to. Platform: WINXP Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Database-connection-fails-with-MS-SQL-2008-tp25179419p25179419.html Sent from the Revolution - User mailing list archive at Nabble.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: Database connection fails with MS SQL 2008
Ahhh, found the problem. When defining the ODBC connection, you must check the Change the default database to: box when selecting the database. then select the database. Unchecked, it will return an error. Mark Stuart mfstuart wrote: Hi all, Anyone know if RunRev 3.5 can successfully connect to MS SQL 2008? So far I haven't been able to. Platform: WINXP Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Database-connection-fails-with-MS-SQL-2008-tp25179419p25180968.html Sent from the Revolution - User mailing list archive at Nabble.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
Windows TAPI or CTI integration using RunRev
Hi all, Anyone done telephony integration on the Windows platform, using RunRev? Some features it should be able to do: 1) Receive and make phone calls 2) Record the phone call and save to disk 3) API to company PBX system - probably would require server-side application installation 4) Client API to server-side application 5) RunRev built UI 6) The RunRev application would need to integration to a CRM system, so that the CRM system can launch the RunRev application to do all the telephony functions. ...etc. This may not exist in RunRev today, but I would like to know if anyone has attempted this and, if it is feasible. -- Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Windows-TAPI-or-CTI-integration-using-RunRev-tp24591851p24591851.html Sent from the Revolution - User mailing list archive at Nabble.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: Debugging DataGrid script
Hi George, I think I wasn't clear on whether I had headers defined or not. But was going by what Trevor had defined on his site as the way to use the script to populate a DG. Anyway, I have a header already defined with 4 columns. From Trevor's previous reply, it seems that using a script to populate a DG with set dgText... NOT on the card where the DG is, will not populate the DG, at this point. And I have 9 cards with a DG on each card that I want to populate, all from the result of the same script, not on any of these cards. I may have to come up with a work around from the results of this restriction. Work around question: Trevor, if I populate all 9 sets of data into 1 DG and define an extra column called Type, that defines the type of record, then this may work. But then I need to allow the user to filter the records from one type of record set to another, and back again. I checked out your website for filter and didn't see any reference. How do I filter the records in a DG? All records in the DG have been populated from reading a txt file. So there's no database integration in this, as yet. But would be added if needed to filter correctly. I would use an Option Menu as the filter, to list the 10 Types of records. (The first selection is blank for all records when selected) So when the user selects an option, the DG would filter on the Type column, equal to the selected option. If first option in the list is selected, then display all records. And then changing the selection would filter again the records in the DG. I'm not sure how to filter records subsequent times, if they have already been filtered when the original contents of the DG were not from a DB. Regards, Mark Stuart George C Brackett wrote: This may not help (I can't remember if you had headers or not), but I got stuck with the same code, copied from the PDF docs). My datagrid stayed blank until I noticed the following, printed shortly after the code: Note that if pFirstLineContainsHeaders is true then the columns must already exist in your data grid table in order to be displayed. George On Jun 22, 2009, at 10:27 PM, Trevor DeVore wrote: On Jun 22, 2009, at 8:14 PM, mfstuart wrote: I originally got that script line from Trevor's web site. I tried it with the [] brackets, both with space and no space. I tried it without the [] bracket value. All 3 ways the script stops running at this line, with no returned error. Your syntax is fine. Spaces around brackets won't affect the parsing and since firstLineContainsHeaders is a variable it shouldn't have quotes around it. Trevor, anyway to find out what's going on setting a DataGrid NOT from the place where the DG object is and this error? A data grid table won't work so well if you try to work with it on cards that aren't open. The data grid table tries to access the formattedHeight property of fields when working with the header. This property always always return 0 if the card isn't open. In addition if you dig around in the code you would find that some control references are stored with the card/stack references stripped. This is probably causing the immediate error. It is easy enough to update the data grid to resolve the cached control references but I'm not sure about addressing the formattedHeight issue. I will have to investigate. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.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 ___ 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 -- View this message in context: http://www.nabble.com/Debugging-DataGrid-script-tp24155940p24167344.html Sent from the Revolution - User mailing list archive at Nabble.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
Debugging DataGrid script
Hi All, I'm trying to debug a script that populates the dgText of a DataGrid, but can't find the cause of the problem. The scripts are run from a button on the main card. The script is reading text that has been loaded withput URL... into tData Here's the script that builds each line that is used in the next script: repeat for each line theLine in tData if HelpFound AND theLine begins with PROP={ID= quote TEXT quote ,DATA={VAL= then add 1 to tHelpNumber put item 4 of theLine into tHelpText put tHelpNumber tab tHelpName tab tHelpType tab tHelpText cr after tHelpLines end if end repeat Here's the section of the script that populates the DataGrid: if tHelpLines is not empty then delete last char of tHelpLines put false into firstLineContainsHeaders --engine stops executing on the next line, so there's a bug in it. --the DataGrid is on another card, hence the: of card Help set the dgText [firstLineContainsHeaders] of grp HelpDataGrid of card Help to tHelpLines set the disabled of btn Edit of card Help to false set the disabled of btn Delete of card Help to false end if Any help would be appreciated, Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/Debugging-DataGrid-script-tp24155940p24155940.html Sent from the Revolution - User mailing list archive at Nabble.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: Debugging DataGrid script
I just tried populating the DataGrid from the Message Box while the current card was card Help. Result: the DataGrid was populated. But issuing the script from the Message Box while the card Help was not focused (from a different card), returned an error message: no such object. So I guess the question is: can you populate a DataGrid on a card while not on that card? Doesn't seem to work for me. Anybody got a work around for this? Regards, Mark Stuart mfstuart wrote: Hi All, I'm trying to debug a script that populates the dgText of a DataGrid, but can't find the cause of the problem. The scripts are run from a button on the main card. The script is reading text that has been loaded withput URL... into tData Here's the script that builds each line that is used in the next script: repeat for each line theLine in tData if HelpFound AND theLine begins with PROP={ID= quote TEXT quote ,DATA={VAL= then add 1 to tHelpNumber put item 4 of theLine into tHelpText put tHelpNumber tab tHelpName tab tHelpType tab tHelpText cr after tHelpLines end if end repeat Here's the section of the script that populates the DataGrid: if tHelpLines is not empty then delete last char of tHelpLines put false into firstLineContainsHeaders --engine stops executing on the next line, so there's a bug in it. --the DataGrid is on another card, hence the: of card Help set the dgText [firstLineContainsHeaders] of grp HelpDataGrid of card Help to tHelpLines set the disabled of btn Edit of card Help to false set the disabled of btn Delete of card Help to false end if Any help would be appreciated, Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/Debugging-DataGrid-script-tp24155940p24156148.html Sent from the Revolution - User mailing list archive at Nabble.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: Debugging DataGrid script
Hi, I originally got that script line from Trevor's web site. I tried it with the [] brackets, both with space and no space. I tried it without the [] bracket value. All 3 ways the script stops running at this line, with no returned error. Trevor, anyway to find out what's going on setting a DataGrid NOT from the place where the DG object is and this error? Regards, Mark Stuart Sarah Reichelt-2 wrote: I'm trying to debug a script that populates the dgText of a DataGrid, but can't find the cause of the problem. snip I think this line is incorrect for at least one possibly 2 reasons. set the dgText [firstLineContainsHeaders] of grp HelpDataGrid of card Help to tHelpLines Firstly, the firstLineContainsHeaders needs to be in quotes. Secondly, I'm not sure if you can leave a space before the opening square bracket. So try this: set the dgText[firstLineContainsHeaders] of grp HelpDataGrid of card Help to tHelpLines Without knowing exactly how the data grid works, I can't see that it would be a problem setting the data while on another card. This is just a standard property setting command which should work fine, unless there is something in the relevant setProp handler that expects the grid to be on the current card. If this is the case, you could lock screen, go to the grid card, populate the grid, then go back to the original card without any of this having been visible to your app's users. Cheers, Sarah ___ 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 -- View this message in context: http://www.nabble.com/Debugging-DataGrid-script-tp24155940p24157856.html Sent from the Revolution - User mailing list archive at Nabble.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, I don't see the dgColumnIsEditable on the Inspector for a column, so do I assume that this property should be set with a script, at this time? If so, where would I do that? In the openCard script, or...? -- Regards, Mark Stuart Trevor DeVore wrote: On Jun 15, 2009, at 2:57 PM, mfstuart wrote: Using the Data Grid control, I have 4 columns defined. Columns 1 through 3, I don't want to allow editing, but column 4 allow editing. How can I do this? Because the Allow Editing property is for the Data Grid itself, not per column. I started to put a lesson together on how to do this but once I got to the part about taking tabbing into account I gave up as it would be way too much work to implement outside the data grid. So here is an updated revDataGridLibrary with a new property: dgColumnIsEditable pColumn set the dgColumnIsEditable [Col 1] of group DataGrid to true put the dgColumnIsEditable[Col 1] of group DataGrid I updated the data grid to take this property into account when deciding whether or not a cell should be open for editing. Note that allow editing will turn off all editing if set to false. So make sure it is true and then turn off column editing as needed for individual columns. Download this file, unzip it and place it in the ./Toolset folder of your Rev installation (back up existing stack first). http://www.bluemangolearning.com/download/revolution/tools/revdatagridlibrary.rev.zip I will be linking to this stack from the docs here pretty soon and at that point I will update the docs with new information. You can find the change log below. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com 1.0.0.17 * Added RefreshIndex and RefreshLine. Calling either one will redraw index/line with current data. * Added dgColumnIsEditable property for each column. Default is true but if allow editing is false for data grid then no editing is allowed. * Updated default column behavior to take dgColumnIsEditable property into account. * Tabbing through editable table cells now skips columns that have dgColumnIsEditable property set to false. * Added ColumnControlOfIndex(pColumn, pIndex) which can be used for getting the control for a column of index pIndex. * Added the 'effective scrollbar width' property which always returns an integer (scrollbar width can be set to auto). * EditCellOfIndex now scrolls grid horizontally so that pCell is in view. * Updated default column behavior to call EditCellOfIndex so that column would be scrolled into view horizontally if not completely visible. * When CloseFieldEditor and ExitFieldEditor are sent during automatic saving of data they are now wrapped in try/catch blocks so errors don't leave the editor field dead in the water. If the data grid wasn't automatically saving data errors were properly caught. * When pressing tab key while editing cell of table with single column editing field closes. Previously the field would remain open and nothing would happen as behavior was to try and go to next cell in row for editing. * column widths was not looping through columns properly. * column widths now uses the last integer in the list for all columns without a valid value in the list. * Fixed a typo in the error reporting dialog that appears if an error happens in row template script. * Field editor is now deleted before redrawing data grid. * Adding new data to the data grid when fixed row height = true now reconfigures scrollbar appropriately. * dgDataOfLine was not refreshing the data grid view. * selectionChanged in editor field is now trapped so selectionChanged never reaches group. This avoids unexpected selectionChanged messages. Developer can override field editor behavior to process selectionChanged. * Empty lines when setting the dgText would mess things up. * Fixed a default value issue when working with dgTemplateFieldEditor. ___ 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 -- View this message in context: http://www.nabble.com/Data-Grid-and-per-column-allow-editing-tp24040770p24056076.html Sent from the Revolution - User mailing list archive at Nabble.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
Trevor, you're awesome dude. Thanx for the amazingly quick response :) We (my company) don't even give that kind of service to the public in general. (only those that are prepared to pay the extra $$) It's quite the trait to follow. Greatest regards, Mark Stuart Trevor DeVore wrote: On Jun 16, 2009, at 10:55 AM, mfstuart wrote: I don't see the dgColumnIsEditable on the Inspector for a column, so do I assume that this property should be set with a script, at this time? If so, where would I do that? In the openCard script, or...? You have to set by script. The IDE is separate from the data grid library. Just use the message box to set the property for your columns as the setting will be saved with the data grid. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.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 -- View this message in context: http://www.nabble.com/Data-Grid-and-per-column-allow-editing-tp24040770p24056890.html Sent from the Revolution - User mailing list archive at Nabble.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
Data Grid and per column allow editing
Hi all, WinXP RunRev 3.5 Using the Data Grid control, I have 4 columns defined. Columns 1 through 3, I don't want to allow editing, but column 4 allow editing. How can I do this? Because the Allow Editing property is for the Data Grid itself, not per column. -- Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Data-Grid-and-per-column-allow-editing-tp24040770p24040770.html Sent from the Revolution - User mailing list archive at Nabble.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
selecting multiple lines in a field with arrow keys
Hi all, I'm trying to hilite multiple lines in a scrolling field with the arrow keys (up or down), the same way as doing it with the mouse (while holding down the shiftKey). The field has the multipleHilites and the noncontiguousHilites both checked. Also the field is locked, and the Focusable is checked. Using the mouse while holding down the shiftKey I can select multiple lines, but using the arrow keys while holding down the shiftKey does not allow selecting multiple lines. Q: How do I do the latter? -- Regards, Mark Stuart -- View this message in context: http://www.nabble.com/selecting-multiple-lines-in-a-field-with-arrow-keys-tp23755269p23755269.html Sent from the Revolution - User mailing list archive at Nabble.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
setting fld with HTML: H3Title/H3 results in added empty lines
Hi all, (hopefully, the html tags I'm using in this message don't get lost in transit) Here goes: When I use the following script to populate a field, the first 2 lines before the H3 text and the line after the /H3 text are empty. What's up with that? ## on mouseUp put H3This is the title/H3 into tText put This is the second line after tText set the htmlText of fld 1 to tText end mouseUp ## To clean the field up after the above script, I use the following: delete line 1 to 2 of fld 1 --removes first 2 blank lines delete line 2 to 2 of fld 1 --removes blank line after H3 text I've set the properties of the field to the following: textHeight = 17 fixedLineHeight = unchecked (false) These help to better proportion the text height with using the H3 tags. Q: so why would RunRev put these blank lines in using the set htmlText command? It seems setting the field property is enough to set the style of the field correctly. Q: anyone got a better idea how to handle using H3 text, without blank lines? -- Regards, Mark Stuart -- View this message in context: http://www.nabble.com/setting-fld-with-HTML%3A-%22%3CH3%3ETitle%3C-H3%3E%22-results-in-added-empty-lines-tp23659327p23659327.html Sent from the Revolution - User mailing list archive at Nabble.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
Other stacks opening besides the one selected
Hi all, I don't understand what's happening. Can somebody tell me why other stacks open and are listed in the Application Browser, when I only selected one stack to open? The one stack has no other stacks associated to it and no other stacks have been selected in the Standalone Application Settings. These other stacks that are opening are some of the most recent stacks I've worked on. Each is a one stack .rev file. Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Other-stacks-opening-besides-the-one-selected-tp23512752p23512752.html Sent from the Revolution - User mailing list archive at Nabble.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: sending HTML mail
Hi Sadhu, If you are on Windows, here's a VBScript that allows HTML body content: = Dim objOutl Dim strHTML Set objOutl = CreateObject(Outlook.Application) Set objMailItem = objOutl.CreateItem(olMailItem) strHTML = HTML strHTML = strHTML HEAD strHTML = strHTML BODY strHTML = strHTML NEW MESSAGE/br strHTML = strHTML hr strHTML = strHTML This is a test message strHTML = strHTML /BODY strHTML = strHTML /HTML 'comment the next line if you do not want to see the outlook window objMailItem.Display strEmailAddr = m...@mycompany.com objMailItem.Recipients.Add strEmailAddr objMailItem.Subject = Hi objMailItem.HTMLBody = strHTML 'objMailItem.Attachments.Add file.xml 'objMailItem.Send Set objMailItem = nothing Set objOutl = nothing = HTH you, Mark Stuart Sadhu Nadesan wrote: Sarah, Mikey, or anyone? Say, I know this question gets asked a lot. I have been searching the mailing list, downloading stacks, etc., but haven't found the exact answer so pardon me for asking it again! The closest thing was Mikey's post. (below) The question is, how to send an HTML email message. Or rather, a nicely formatted message. Same thing I guess. I think the revMail command is awesome, but, the plain text message body looks kinda ugly for the message I have in mind, and, although I could write a CGI script and work out all the plumbing (actually I have done this before, a la Sivakatirswami), I'd rather find a stack like Sarah's that is already done and talks directly to the mail server without the CGI piece. Am I lazy, well, ,maybe so, I just don't want to reinvent the wheel when it's been done. Plug and go! I have enough plumbing to create as it is. I am pretty hopeful someone has modified Sarah's stack or has something ready to go that will send HTML mail and can be grafted onto one's rev app. Yes?? Are you willing to share, whoever you are? Fingers crossed, and, Mahalo! Sadhu ps, the post below was good but refers to stuff I didn't find yet, eg, as previously suggested' etc. I can keep looking though. From: Mikey mikeyt...@... http://gmane.org/get-address.php?address=mikeythek%2dRe5JQEeQqe8AvxtiuMwx3w%40public.gmane.org Subject: Re: HTML SMTP Library http://news.gmane.org/find-root.php?message_id=%3c9b408d8e0809021745n67481f69uf1a6c9e703954a9d%40mail.gmail.com%3e Newsgroups: gmane.comp.ide.revolution.user http://news.gmane.org/gmane.comp.ide.revolution.user Date: 2008-09-03 00:45:52 GMT (33 weeks, 2 days, 18 hours and 21 minutes ago) I've got other things that I have to do tonight, so I can't give you the complete cookbook, but here is the outline. 1) Download one of the following stacks: a) http://www.gadgetplugins.com/altplugins/altEmailHarness.rev b) http://www.troz.net/Rev/libraries/*SMTP**library*.rev.gz http://www.troz.net/Rev/libraries/SMTPlibrary.rev.gz 2) After looking through the *SMTP* *Library* Demo (the second one), and clicking on the *Library* button, I got into Sarah's *SMTP* *library*. I'm sure this works just as well with the other, but as I said, I've got other pressing things to do tonight. However, you should be able to figure it out after this. 3) Search for Content-Type. Change it as I've previously suggested. 4) Follow my formatting suggestions for the body. 5) Send *HTML*-formatted emails without having to embed the *HTML* in an attachment. ___ 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 -- View this message in context: http://www.nabble.com/sending-HTML-mail-tp23223180p23226518.html Sent from the Revolution - User mailing list archive at Nabble.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: sending HTML mail
Hi Sadhu, Sorry about that chief :) There's many ways to get that vbscript into your Rev stack to use. 1) Save the vbscript as a txt file. a. Read in the txt file with: put URL (file: thetxtFileName) into tVBS b. Use tVBS in your script 2) While developing your application, set the vbscript into a custom property of an object, say the stack or card. Search the forum for custom property, on how to do this. a. go to step 1b. Searching the forum using vbscript, you'll find alot of examples of others responses. Here's a start: http://www.nabble.com/RR-2.9.0-dp-2---VBscript-to14183565.html#a14183565 http://www.nabble.com/RunRev-2.9-Scripting-Question-to15635296.html#a15635296 Also, search RunRev Dictionary for do. Half way down, there's a do command as vbscript. Regards, Mark Stuart Sadhu Nadesan wrote: Hi Sadhu, If you are on Windows, here's a VBScript that allows HTML body content: Yo Mark, Thank you! That is kind of you but, pardon my ignorance, I have no idea what to do with it? Can you use VB script in a Rev stack somehow? I am not familiar with VB or VB script. I'm trying to generate an email as part of a Rev application. Cheers, Sadhu ___ 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 -- View this message in context: http://www.nabble.com/sending-HTML-mail-tp23223180p23226776.html Sent from the Revolution - User mailing list archive at Nabble.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: Controlling PowerPoint From Within Runtime Revolution
Man I hate it when Outlook does this. Why does Outlook double space the lines? It does this whether I create the email body in Notepad (and copy the text into Outlook) or directly in Outlook. Anybody know how to fix this ugliness in Outlook? Regards, Mark Stuart Mark Stuart wrote: Hi John, I just built a stack to try what you are doing. I also downloaded and installed MS Powerpoint Viewer. I put a field on the stack with the name Filename. In a button, I used the following script to open the powerpoint file using the viewer. on mouseUp if fld Filename is not empty then put fld Filename into thePPS launch thePPS with C:\Program Files\Microsoft Office\PowerPoint Viewer\pptview.exe else answer no file selected end if end mouseUp In the field I typed: C:\temp\MyPresentation.pps. This file I created in MS Powerpoint, saving it as a pps file type. It launched the power point. I ran the slide show. It quit and the focus returned to where I launched it, the RunRev application. Where ever you launch the slide show from, the focus should return to its originating place. Unless of course, the user goes to another opened application. Then the focus may not return. HTH you, Mark Stuart Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems___ 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 -- View this message in context: http://www.nabble.com/Controlling-PowerPoint-From-Within-Runtime-Revolution-tp23085075p23086006.html Sent from the Revolution - User mailing list archive at Nabble.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: I'm having behavior problems :)
Richard wrote: According to the ParentScriptNotes.txt file included with the Rev 3.5... I have v3.5 for Windows XP installed, and I can't find this txt file you've referenced above. I searched and looked in the installation folders for it, not to find it. Is this the same for those on Windows XP, or is this file installed elsewhere? Regards, Mark Stuart -- View this message in context: http://www.nabble.com/I%27m-having-behavior-problems-%3A%29-tp23012255p23012889.html Sent from the Revolution - User mailing list archive at Nabble.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: I'm having behavior problems :)
Hi Richard, I have 4 .txt' files: Engine Change Log.txt IDE Change Log.txt License Agreement.txt Read_Me_First.txt But no ParentScriptNotes.txt file. :( Richard, can you email me this file? Thanx, Mark Stuart Richard Gaskin wrote: mfstuart wrote: Richard wrote: According to the ParentScriptNotes.txt file included with the Rev 3.5... I have v3.5 for Windows XP installed, and I can't find this txt file you've referenced above. I searched and looked in the installation folders for it, not to find it. I should be in /3.5.0-gm-1/, which is probably in your Program Files/Revolution Studio folder. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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 -- View this message in context: http://www.nabble.com/I%27m-having-behavior-problems-%3A%29-tp23012255p23015532.html Sent from the Revolution - User mailing list archive at Nabble.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: Revolution 3.5 launched
Hi all, I just got v3.50 installed, registered, working, and now seeing the Data Grid work in a quick example I built. WOW! I typed some scripts that connected to MSSQL thru ODBC, and loaded the data right into the Data Grid group control. Awesome! :) THANX TO ALL INVOLVED WITH THIS RELEASE!! I've been waiting 3 years for this new control, and now I can show off RunRev as a true developers tool - not that it wasn't before. But this takes it up to several levels higher. I can't wait to really dig in and see what this is capable of. Any chance that folks could start to build stack examples using the Data Grid and uploading them to RevOnline? What all can it do? How many ways can the grid display data? Can it display true tree node structures in it? Regards, Mark Stuart Kevin Miller wrote: Hi, Just to let you know that Revolution 3.5 has been launched and is now available on our website or through check for updates. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ___ 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 -- View this message in context: http://www.nabble.com/Revolution-3.5-launched-tp22958159p22978681.html Sent from the Revolution - User mailing list archive at Nabble.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: Revolution 3.5 launched
Hi Devin, Thanx for letting me know. I went thru that, and that's how I was able to learn how to use the new control so quickly. Sorry to say, but I get excited in a hurry when I get new toys to play with. I remember as a young kid (about 6-7), I got a fire truck for Christmas, it had 2 fireman in the front seat. Everything was functional on it. To say the least, I was happy to the point I wanted to take it apart and see how it all worked. To say, I guess that's why I'm a software developer today. I get excited about toys and the next thing I want is to take it apart and see what it can do. :) Almost ecstatic, Mark Stuart Devin Asay wrote: On Apr 9, 2009, at 2:29 PM, mfstuart wrote: Hi all, I just got v3.50 installed, registered, working, and now seeing the Data Grid work in a quick example I built. WOW! I typed some scripts that connected to MSSQL thru ODBC, and loaded the data right into the Data Grid group control. Awesome! :) THANX TO ALL INVOLVED WITH THIS RELEASE!! I've been waiting 3 years for this new control, and now I can show off RunRev as a true developers tool - not that it wasn't before. But this takes it up to several levels higher. I can't wait to really dig in and see what this is capable of. Any chance that folks could start to build stack examples using the Data Grid and uploading them to RevOnline? What all can it do? How many ways can the grid display data? Can it display true tree node structures in it? Mark, Ben Beaumont has uploaded a very nice Data Grids Tour stack to Rev Online. It should have lots of examples, plus step by step instructions. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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 -- View this message in context: http://www.nabble.com/Revolution-3.5-launched-tp22958159p22979432.html Sent from the Revolution - User mailing list archive at Nabble.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 code
Hi Sadhu, I've modified your mouseUp script a little to not only save you some typing, but also to show another way to put a text file directly into a memory variable: gTheData. Also, the script checks if the user actually selected a file. The result of selecting a file returns the file path and name into it. If the Cancel button was clicked on the File dialog, then empty is in the variable it. Here it is: on mouseUp --Retrieve the Excel CSV (quote and comma delimited) file answer file The spread sheet file name? if it is not empty then --if file selected put it into theExcelFile put URL (file: theExcelFile) into gTheData --this loads the file directly into gTheData -- Convert the CSV data to tab delimited put quote comma quote into csvPattern replace csvPattern with tab in gTheData replace quote with empty in gTheData -- Leave out the column headers since they are part of the data grid delete line 1 of gTheData set the dgText of group Data Grid 1 to gTheData end if end mouseUp HTH U, Mark Stuart Sadhunathan Nadesan wrote: Ok! Well you probably aren't that interested but I'm making progress. Here is the code for a button that loads the data, so the first part of the construction is accomplished. Any suggestions on improvement of course welcome. by the way, I noticed a typo in the docs, page 40, it says If you set the uText dgText of a data grid table then the data is treated as tab delimited text. the uText should be removed. on mouseUp --Retreive the Excel CSV (quote and comma delimited) file answer file The spread sheet file name? put it into theExcelFile open file theExcelFile for read read from file theExcelFile until EOF put it into gTheData close file theExcelFile -- Convert the CSV data to tab delimited put quote comma quote into csvPattern replace csvPattern with tab in gTheData replace quote with empty in gTheData -- Leave out the column headers since they are part of the data grid delete line 1 of gTheData set the dgText of group Data Grid 1 to gTheData end mouseUp ___ 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 -- View this message in context: http://www.nabble.com/data-grid-code-tp22935971p22937414.html Sent from the Revolution - User mailing list archive at Nabble.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
Animate contents of a stack/card to turn like a page
Hi to those familiar with the animation engine. I'd like to animate the contents on a stack or a card or even a field, to animate the contents like turning a page of a book/magazine/newspaper. It would turn from the top-right to bottom-left. Or something like that. This would have to be a cross-platform solution. Q: Can the animation do this? Or Q: can I do this without the animation engine, and do it with the RunRev engine alone? If so how? Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Animate-contents-of-a-stack-card-to-turn-like-a-page-tp22787868p22787868.html Sent from the Revolution - User mailing list archive at Nabble.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: Animate contents of a stack/card to turn like a page
Hi Richard, I checked that out. Nice :) I didn't know that QT was responsible for the effects. I applied it using the visual effect... commands. Using: visual effect scroll down very fast go to card 2 This would simulate to a degree. But nothing like capturing an image of the card, then applying a page-curl transition to that would be awesome. -- Thanx, Mark Stuart Richard Gaskin wrote: mfstuart wrote: I'd like to animate the contents on a stack or a card or even a field, to animate the contents like turning a page of a book/magazine/newspaper. It would turn from the top-right to bottom-left. Or something like that. This would have to be a cross-platform solution. Q: Can the animation do this? Or Q: can I do this without the animation engine, and do it with the RunRev engine alone? If so how? Good news: the answer effect command gives you access to QuickTime's transition dialog, which provides a stunning variety of transition effects. Bad news: page turning isn't among them.* :( I good page-curling transition would be nice to have, but I'm not sue it could even be done with an external (is there an API for imaging unopened cards?). You might consider submitting a request for that. In the meantime, you may have to make due with something like the push effect for now. * Also absent from that QT dialog is the Ken Burns effect, in which images are moved, zoomed, and faded simultaneously during the transition. It's a gorgeous effect, and since it's used in multiple apps in OS X I suspect there's an API for it somewhere. But it's not in the QT dialog we get with answer effect, and I've found no way to emulate it in scripting. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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 -- View this message in context: http://www.nabble.com/Animate-contents-of-a-stack-card-to-turn-like-a-page-tp22787868p22789076.html Sent from the Revolution - User mailing list archive at Nabble.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: Animate contents of a stack/card to turn like a page
Hi Chris, I checked out the example. Since I develop on Windows, I couldn't see the core image sampler work. I'm sure this works on Mac OS. It'll have to be: visual effect scroll down very fast go to card 2 for now. -- Mark Stuart Chris Sheffield-2 wrote: Not sure what the requirements are, but there is a CoreImage page curl transition. This would be Mac only, of course. There's a core image sampler stack located in Resources/Examples of your Revolution folder. Version 2.6 and above I believe. Not sure if there's something similar for Windows or not. Chris On Mar 30, 2009, at 11:29 AM, Richard Gaskin wrote: mfstuart wrote: I'd like to animate the contents on a stack or a card or even a field, to animate the contents like turning a page of a book/magazine/ newspaper. It would turn from the top-right to bottom-left. Or something like that. This would have to be a cross-platform solution. Q: Can the animation do this? Or Q: can I do this without the animation engine, and do it with the RunRev engine alone? If so how? Good news: the answer effect command gives you access to QuickTime's transition dialog, which provides a stunning variety of transition effects. Bad news: page turning isn't among them.* :( I good page-curling transition would be nice to have, but I'm not sue it could even be done with an external (is there an API for imaging unopened cards?). You might consider submitting a request for that. In the meantime, you may have to make due with something like the push effect for now. * Also absent from that QT dialog is the Ken Burns effect, in which images are moved, zoomed, and faded simultaneously during the transition. It's a gorgeous effect, and since it's used in multiple apps in OS X I suspect there's an API for it somewhere. But it's not in the QT dialog we get with answer effect, and I've found no way to emulate it in scripting. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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 -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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 -- View this message in context: http://www.nabble.com/Animate-contents-of-a-stack-card-to-turn-like-a-page-tp22787868p22789148.html Sent from the Revolution - User mailing list archive at Nabble.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: Animate contents of a stack/card to turn like a page
Hi Tom, Not having a Mac, I'll be asking a friend to test that on their laptop. In your script, can I swap out... show image Target Image... for show card 2...? Regards, Mark Stuart Thomas McGrath III-3 wrote: Here is a sample code for a good page curl using the OSX only core image effect: show image Target Image with visual effect CIPageCurlTransition slow with angle -2.610663 and backsideImage id 5290 and extent (0,0,400,300) and radius 196.18 and shadingImage id 5295 FWIW 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 On Mar 30, 2009, at 2:52 PM, Thomas McGrath III wrote: Mark, You could send 'someone' screenshots to apply that curl effect and then have them screen capture it. Just a thought. 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 On Mar 30, 2009, at 2:02 PM, mfstuart wrote: Hi Chris, I checked out the example. Since I develop on Windows, I couldn't see the core image sampler work. I'm sure this works on Mac OS. It'll have to be: visual effect scroll down very fast go to card 2 for now. -- Mark Stuart Chris Sheffield-2 wrote: Not sure what the requirements are, but there is a CoreImage page curl transition. This would be Mac only, of course. There's a core image sampler stack located in Resources/Examples of your Revolution folder. Version 2.6 and above I believe. Not sure if there's something similar for Windows or not. Chris On Mar 30, 2009, at 11:29 AM, Richard Gaskin wrote: mfstuart wrote: I'd like to animate the contents on a stack or a card or even a field, to animate the contents like turning a page of a book/magazine/ newspaper. It would turn from the top-right to bottom-left. Or something like that. This would have to be a cross-platform solution. Q: Can the animation do this? Or Q: can I do this without the animation engine, and do it with the RunRev engine alone? If so how? Good news: the answer effect command gives you access to QuickTime's transition dialog, which provides a stunning variety of transition effects. Bad news: page turning isn't among them.* :( I good page-curling transition would be nice to have, but I'm not sue it could even be done with an external (is there an API for imaging unopened cards?). You might consider submitting a request for that. In the meantime, you may have to make due with something like the push effect for now. * Also absent from that QT dialog is the Ken Burns effect, in which images are moved, zoomed, and faded simultaneously during the transition. It's a gorgeous effect, and since it's used in multiple apps in OS X I suspect there's an API for it somewhere. But it's not in the QT dialog we get with answer effect, and I've found no way to emulate it in scripting. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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 -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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 -- View this message in context: http://www.nabble.com/Animate-contents-of-a-stack-card-to-turn-like-a-page-tp22787868p22789148.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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 ___ 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 -- View this message in context: http://www.nabble.com/Animate-contents-of-a-stack-card-to-turn-like-a-page-tp22787868p22790918.html Sent from
Re: launch URL does not open Outlook
Hi Matthias, I appreciate the reply :) I have an email to RunRev support to address this issue, so I'm waiting for a response. To know what makes a successful launch and what makes it fail. I'm a purist in the sense that software should work as designed. Meanwhile, I will check out Sean's library. Regards, Mark Stuart runrev260805 wrote: Hi Mark, i remember, that i had a similar problem some time ago here under windows. The problem was, that text bigger than about 1500 characters could not be sent completely to the mail client. It was cut off at about 1500 characters. I am not sure for what reason, but i t didn´t work. Maybe a mapi32.dll thing. To get my app release in time i decided to use Shao Sean´s SMTP-library, which sends the email directly without Outlook. I use the library quiet often in my projects, because i am creating report software with automatic email delivery, which should run unattended. Don´t know, if this helps, but hope so. Regards, Matthias Original Message Subject: launch URL does not open Outlook (24-Mrz-2009 20:58) From:mfstu...@cox.net To: runrev260...@m-r-d.de Hi all, I have a script that uses launch URL theURL to open Outlook, but sometimes it doesn't open it. theURL = mailto:m...@somecompany.com?subject=blah blah blahBody=This is the message body text, with sometimes lots of text. And sometimes a small amount of text. I think the amount of text in the body doesn't matter, as in one test the body text was only a few sentences, and Outlook didn't launch. I've tried it on Outlook 200 and 2003 - same results. Anybody with some ideas on this as to why Outlook doesn't open? Regards, Mark Stuart ___ 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 To: use-revolution@lists.runrev.com Cc: mfstu...@cox.net ___ 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 -- View this message in context: http://www.nabble.com/launch-URL-does-not-open-Outlook-tp22688386p22704173.html Sent from the Revolution - User mailing list archive at Nabble.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: launch URL does not open Outlook
Hi Sarah, Jacque emailed my off line and suggested checking that each character was within 1 to 255 - charToNum(theChar). So I created a simple stack with a repeat for each char theChar in theMessageText. And found no chars outside that range. For instance: Björnke - each character is within 1 to 255. I'm assuming this is the way to do this? Also, what is non-standard characters, I guess is the question from me? Regards, Mark Stuart p.s. Sarah - I'm getting close to beta testing again. Sarah Reichelt-2 wrote: Mark, are there any non-standard characters in your email? I don't often use Windows, but I seem to remember having a problem with accented characters in the body of an email. Cheers, Sarah On Thu, Mar 26, 2009 at 1:32 AM, mfstuart mfstu...@cox.net wrote: Hi Matthias, I appreciate the reply :) I have an email to RunRev support to address this issue, so I'm waiting for a response. To know what makes a successful launch and what makes it fail. I'm a purist in the sense that software should work as designed. Meanwhile, I will check out Sean's library. Regards, Mark Stuart runrev260805 wrote: Hi Mark, i remember, that i had a similar problem some time ago here under windows. The problem was, that text bigger than about 1500 characters could not be sent completely to the mail client. It was cut off at about 1500 characters. I am not sure for what reason, but i t didn´t work. Maybe a mapi32.dll thing. To get my app release in time i decided to use Shao Sean´s SMTP-library, which sends the email directly without Outlook. I use the library quiet often in my projects, because i am creating report software with automatic email delivery, which should run unattended. Don´t know, if this helps, but hope so. Regards, Matthias Original Message Subject: launch URL does not open Outlook (24-Mrz-2009 20:58) From: mfstu...@cox.net To: runrev260...@m-r-d.de Hi all, I have a script that uses launch URL theURL to open Outlook, but sometimes it doesn't open it. theURL = mailto:m...@somecompany.com?subject=blah blah blahBody=This is the message body text, with sometimes lots of text. And sometimes a small amount of text. I think the amount of text in the body doesn't matter, as in one test the body text was only a few sentences, and Outlook didn't launch. I've tried it on Outlook 200 and 2003 - same results. Anybody with some ideas on this as to why Outlook doesn't open? Regards, Mark Stuart ___ 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 To: use-revolution@lists.runrev.com Cc: mfstu...@cox.net ___ 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 -- View this message in context: http://www.nabble.com/launch-URL-does-not-open-Outlook-tp22688386p22704173.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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 -- View this message in context: http://www.nabble.com/launch-URL-does-not-open-Outlook-tp22688386p22713466.html Sent from the Revolution - User mailing list archive at Nabble.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
launch URL does not open Outlook
Hi all, I have a script that uses launch URL theURL to open Outlook, but sometimes it doesn't open it. theURL = mailto:m...@somecompany.com?subject=blah blah blahBody=This is the message body text, with sometimes lots of text. And sometimes a small amount of text. I think the amount of text in the body doesn't matter, as in one test the body text was only a few sentences, and Outlook didn't launch. I've tried it on Outlook 200 and 2003 - same results. Anybody with some ideas on this as to why Outlook doesn't open? Regards, Mark Stuart ___ 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
Docking Panes
Hi all, Has anyone been able to build a RunRev application with the concept of docking panes? Here's a company that has COM and ActiveX objects that allows you to do just that on Windows: Check it out... http://www.codejock.com/products/dockingpane/ We currently use their Report Control in our CRM application. Actually, Microsoft uses a lot of their controls in Outlook. The email list is one way to use the Report Control. I know RunRev doesn't support these objects, but it must be possible to build a docking pane UI? I'd like to use this in an application I'm building, and would be interested in prototyping this with some folk. What do you say? Mark Stuart -- View this message in context: http://www.nabble.com/Docking-Panes-tp22611796p22611796.html Sent from the Revolution - User mailing list archive at Nabble.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: Hilighting of selected row in Option button, doesn't hilight
Hi all, After all this, I've found that this is a Windows OS issue. So I've created a Bugzilla entry # 7779. I've also attached screen shots of the way it currently behaves and another showing the way it is expected to behave on Windows OS. I believe from your replies to this issue that this behaves correctly on MacOS. As for Linux, it would be great if those with that platform could test this scenario. Please read the threads here, as to the original issue. Regards, Mark Stuart J. Landman Gay wrote: mfstuart wrote: Hi Mark, The example I'm playing with, I created on a new stack. It's the only object on it. I just tried the combo button, and I get the same result as I did with the option button - no go. I've tried this example stack on 2 WinXP computers with RunRev 3.0 - same results. Anyone else getting the same result as me? Oh. It's Windows -- I missed that. On Mac the behavior you want is the default but on Windows it works as you describe. On that OS the menus always display as a drop-down list. It responds to keyboard input so the user can select with arrow keys and the return/enter key. Combo buttons are the same. Popup buttons display the list at the location of the cursor on either OS. If you want to branch the code for the platform, you might be able to use the popup command and put up a custom button list or stack. You'd have to calculate the popup position and list selection in a script, but it would let you put the menu wherever you want on screen. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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 -- View this message in context: http://www.nabble.com/Hilighting-of-selected-row-in-Option-button%2C-doesn%27t-hilight-tp22323660p22363222.html Sent from the Revolution - User mailing list archive at Nabble.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: Hilighting of selected row in Option button, doesn't hilight
Hi Jacque and all, I worked a sample script for the Option button, and I'm still not getting the line in the text of the button to hi-light, when clicking on the button a 2nd time. Here's my script: == on menuPick pItemName --this script borrowed from Ken Ray from an archive search :) lock messages --get/set the menuHistory put lineOffset(pItemName,the text of me) into tNum if tNum 0 then set the menuHistory of me to tNum end if unlock messages end menuPick == What am I missing here? Regards, Mark Stuart J. Landman Gay wrote: mfstuart wrote: When I click on the Option button again, it opens the list of items, but the previously selected label isn't shown as hi-lighted in that list of values. When I mouse over the list, wherever the pointer is. it hi-lights that line. So I know that it is nothing to do with opaque settings and the like. This is another instance where you'd want to set the menuHistory rather than the label. Setting the menuHistory of the button is exactly like a user clicking and selecting the line. It sends a menupick message to the button, scrolls the lines so that the right one is hilited, and remembers the position the next time the user clicks on it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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 -- View this message in context: http://www.nabble.com/Hilighting-of-selected-row-in-Option-button%2C-doesn%27t-hilight-tp22323660p22334474.html Sent from the Revolution - User mailing list archive at Nabble.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: Hilighting of selected row in Option button, doesn't hilight
Hi Mark, It's not the label I'm wanting to set... set the label of me to vWhatEver. It's the previously selected item in the button list that I want hi-lighted. Let me explain with an example: The object is an Option button. The text property has: Choice 1, Choice 2, and Choice 3. For the first time, I click in the option button and make a selection: Choice 2. Now when I click in the option button again, the following should happen... - the list opens showing 3 items, as defined above. (works as it does) - the previously selected item (Choice 2 in this example) should be hi-lighted with the blue/navy line. (doesn't happen) This is the issue. The RunRev engine should do the hi-lighting of the item in the list for this object, the option button. The developer shouldn't have to script this. I've seen many other development software, where this happens natively. This behavior is to let the user know where in the list they made the selection. I hope I'm making this clearer to understand. Regards, Mark Stuart Mark Swindell wrote: Mark, If you add in: set the label of me to vWhatEver after the IF tNum...end IF does it not work like you want? Here, the label is set to a unique vWhatEver, and the previous menuChoice is hilited and selected when you return to click on the button. Mark On Mar 4, 2009, at 9:04 AM, mfstuart wrote: on menuPick pItemName --this script borrowed from Ken Ray from an archive search :) lock messages --get/set the menuHistory put lineOffset(pItemName,the text of me) into tNum if tNum 0 then set the menuHistory of me to tNum end if unlock messages end menuPick ___ 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 -- View this message in context: http://www.nabble.com/Hilighting-of-selected-row-in-Option-button%2C-doesn%27t-hilight-tp22323660p22342834.html Sent from the Revolution - User mailing list archive at Nabble.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: Hilighting of selected row in Option button, doesn't hilight
Hi Mark, The example I'm playing with, I created on a new stack. It's the only object on it. I just tried the combo button, and I get the same result as I did with the option button - no go. I've tried this example stack on 2 WinXP computers with RunRev 3.0 - same results. Anyone else getting the same result as me? Regards, Mark Stuart Mark Swindell wrote: Strange. I'm not sure what's going on for you, but the behavior you want is the behavior I get with the template combo button. How does a fresh combo button behave if you just drag a new one onto a new stack? I was thinking the issue was that you wanted to set the label to some custom string, yet maintain the previous state and menu items when clicking on it. Mark On Mar 4, 2009, at 4:30 PM, mfstuart wrote: Hi Mark, It's not the label I'm wanting to set... set the label of me to vWhatEver. It's the previously selected item in the button list that I want hi- lighted. Let me explain with an example: The object is an Option button. The text property has: Choice 1, Choice 2, and Choice 3. For the first time, I click in the option button and make a selection: Choice 2. Now when I click in the option button again, the following should happen... - the list opens showing 3 items, as defined above. (works as it does) - the previously selected item (Choice 2 in this example) should be hi-lighted with the blue/navy line. (doesn't happen) This is the issue. The RunRev engine should do the hi-lighting of the item in the list for this object, the option button. The developer shouldn't have to script this. I've seen many other development software, where this happens natively. This behavior is to let the user know where in the list they made the selection. I hope I'm making this clearer to understand. Regards, Mark Stuart Mark Swindell wrote: Mark, If you add in: set the label of me to vWhatEver after the IF tNum...end IF does it not work like you want? Here, the label is set to a unique vWhatEver, and the previous menuChoice is hilited and selected when you return to click on the button. Mark On Mar 4, 2009, at 9:04 AM, mfstuart wrote: on menuPick pItemName --this script borrowed from Ken Ray from an archive search :) lock messages --get/set the menuHistory put lineOffset(pItemName,the text of me) into tNum if tNum 0 then set the menuHistory of me to tNum end if unlock messages end menuPick ___ 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 -- View this message in context: http://www.nabble.com/Hilighting-of-selected-row-in-Option-button%2C-doesn%27t-hilight-tp22323660p22342834.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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 -- View this message in context: http://www.nabble.com/Hilighting-of-selected-row-in-Option-button%2C-doesn%27t-hilight-tp22323660p22344067.html Sent from the Revolution - User mailing list archive at Nabble.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
Hilighting of selected row in Option button, doesn't hilight
Hi all, Why doesn't the already selected label in an Option button, show hi-lighted in the list when clicking on the button? I have an Option button on a card that has values in the text. I select from the list and this puts the selected value into the label. When I select from the same Option button again, the row in the list doesn't show hi-lighted. Why is this, and how do I get it to show selected in the list? Would seem normal to do that in any other software. Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Hilighting-of-selected-row-in-Option-button%2C-doesn%27t-hilight-tp22323660p22323660.html Sent from the Revolution - User mailing list archive at Nabble.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: Hilighting of selected row in Option button, doesn't hilight
Hi Craig, BTW, this is WINXP, with RunRev 3.0 No that's not it. This is an Option button. It has several items in the text property. I select one of the items, which puts the item value into the label property. When I click on the Option button again, it opens the list of items, but the previously selected label isn't shown as hi-lighted in that list of values. When I mouse over the list, wherever the pointer is. it hi-lights that line. So I know that it is nothing to do with opaque settings and the like. Any ideas? Regards, Mark Stuart dunbarx wrote: Do you mean that a hilited line in some sort of list or field un-hilites when you move away to do something else? This is likely normal behavior. I just had a similar issue, and assigned a custom property to my object, a list field, so that it would have its hilited lines restored when I returned It required getting the hilitedLines property and setting a custom property in my field to it. This way the field remembers which lines were hilited when I left. The hilitedLines property is pretty cool, and even works with discontiguous lines. If this is even close to what you want, try it out, or write back for more. Craig Newman On Mar 3, 2009, at 11:53:24 PM, mfstuart mfstu...@cox.net wrote: I have an Option button on a card that has values in the text. I select from the list and this puts the selected value into the label. When I select from the same Option button again, the row in the list doesn't show hi-lighted. Why is this, and how do I get it to show selected in the list? Would seem normal to do that in any other software. ___ 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 -- View this message in context: http://www.nabble.com/Hilighting-of-selected-row-in-Option-button%2C-doesn%27t-hilight-tp22323660p22323890.html Sent from the Revolution - User mailing list archive at Nabble.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
Oh man, how embarrassing :( This email I didn't expect to get posted. I've been reading the Mailman website (http://www.gnu.org/software/mailman/index.html), and they have some commands that if you put it in the subject and submit it to your forum, the mailman will not post to the forum but respond by replying only to the sender with what matches to the command. At least that's how I understood it. So sorry about that chief :) Mark Stuart mfstuart wrote: ___ 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 -- View this message in context: http://www.nabble.com/help-tp22217581p8491.html Sent from the Revolution - User mailing list archive at Nabble.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: La communauté Revolution est en deuil
Fo those, like myself, who do not speak the French language, here is the translation to English of the original message from Jérôme: I have just learnt that Éric Chatonet died on Wednesday. All my thoughts go to his son and his family. And I was going to make contact with him concerning a RunRev application development. Even thou I did not know him personally, my sincerest thoughts go to Eric's family. Regards, Mark Stuart Jérôme Rosat wrote: Bonjour, Je viens d'apprendre que Éric Chatonet est décédé mercredi. Toutes mes pensées vont à son fils et sa famille. Jérôme ___ 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 -- View this message in context: http://www.nabble.com/La-communaut%C3%A9-Revolution-est-en-deuil-tp21520212p21520678.html Sent from the Revolution - User mailing list archive at Nabble.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: Reference Function Name Via Variable?
Hi Scott, If the desired result is to display an answer dialog, then see if this works for you: on mouseUp put hello into pData1 put world into pData2 answer shout(pData1,pData2) end mouseUp function shout pData1,pData2 return pData1 pData2 ! end shout I put the exclamation mark in the function for you to see that the function is still part of the solution. Also, you could extrapulate the 'answer' with the icon and dialog title, etc. Regards, Mark Stuart Scott Rossi wrote: Hi List: Just curious... Is there any way to construct a function using a name stored in a variable without resorting to do? For example: on mouseUp put hello into pData1 put world into pData2 put shout into test do answer test (pData1,pData2) end mouseUp function shout pData1,pData2 return pData1 pData2 end shout Can the last line of the mouseUp handler be written without do? I'm not against using do, just wondering if there's another option. Thanks Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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 -- View this message in context: http://www.nabble.com/Reference-Function-Name-Via-Variable--tp21488235p21490021.html Sent from the Revolution - User mailing list archive at Nabble.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: SQLite repeated fields
Hi Sarah, How familiar are you with the concept of Bill of Materials, Production Orders, etc.? Where a sellable (or shippable item) is made up of components, and the components are assembled to gether with many other items - either purchased or sub-assemblies. This is the Bill of Materials - the structure of an item. When a customer order is processed, the manufacturing dept produces the Production Orders, which looks at the B.O.M. and produces the Manufacturing B.O.M. - this is an expanded production order with all the customer orders multiplied against the B.O.M., which the assembly plant knows how many to make. There are books on this on how to define the tables that hold the data, but I'm sure you could find this info online. It's reasonably elementary. If you need more help, let me know. :) Regards, Mark Stuart Sarah Reichelt-2 wrote: Hi All, I'm setting up an SQLite database and having some problems with table design. The app is inventory control with a Make function i.e. it stores the quantities of each raw material you have and when you make a specified amount of a certain product, those amounts are automatically deducted from the raw material stocks. I have a very simple table for the raw materials, but the products table is not so obvious (at least not to me), mainly because each product will have a different number of items used in it's manufacture. Do I have to set up a large table allowing for the maximum possible number of items? e.g. product name product id item 1 quantity 1 item 2 quantity 2 . . . item 50 quantity 50 or is there any better way to hold a variable number of repeating fields? TIA, Sarah ___ 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 -- View this message in context: http://www.nabble.com/SQLite---repeated-fields-tp21343545p21345538.html Sent from the Revolution - User mailing list archive at Nabble.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: Cross-tab report: from list
Hi Alex, I can't believe the speed that this translates a vertical list to a cross-tab format. This is incredible! Thanx for the script Alex. I'll do some more testing on missing months and gaps in the years and get back to you. Regards, Mark Stuart mfstuart wrote: Hi all, How do I manipulate the following data list into a spreadsheet (cross-tab report) format? I'm assuming arrays are in the works for this to build the spreadsheet data set, but since I haven't worked with them, I'm not sure about that. There is probably a faster way, or a more succinct way, using more complex arrays - but since you said you hadn't worked with arrays much, I kept the array use very simple. Only tricky thing (I think) is the use of combine to convert the years array into a simple list (using the array eliminated duplicates easily). = -- View this message in context: http://www.nabble.com/Cross-tab-report%3A-from-list-tp21261951p21294617.html Sent from the Revolution - User mailing list archive at Nabble.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: Sending Email
Hi Bill, The revMail command doesn't support BCC, as far as the documentation is concerned. Unless there's a hidden option for this :( Have you tried using the revGoURL 'mailto:' command to send email? It launches the default email system, just as revMail does. But using revGoURL 'mailto:' allows a lot more 'parameters', because it's HTML syntax. Here's a RunRev script that you can try using revGoURL: --start of script -- look for line wraps in the script on mouseUp --format the url --the subject value should not contain spaces. Therefore you will need to replace spaces in the subject value with %20. put mailto:shoreag...@gmail.com?subject=sending%20emailcc=b...@microsoft.combcc=st...@apple.combody=This is a test into tURL --launch default email system --caveat emptor: the following command has been deprecated in v2.90, but works none the less. revGoURL tURL end mouseUp --end of script -- Also... Do a Google search with 'mailto:' and you'll find a lot hits on the syntax for it, as well as the BCC. Here's one I've used: http://www.ianr.unl.edu/internet/mailto.html Regards, Mark Stuart BILL HUMPHREY wrote: How do you send BCC with revEmail? In the dictionary I see: revMail address[,ccAddress[,mailSubject[,messageBody]]] with no mention of bccAddress Thanks Bill ___ 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 -- View this message in context: http://www.nabble.com/Sending-Email-tp21291061p21300166.html Sent from the Revolution - User mailing list archive at Nabble.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
Cross-tab report: from list
Hi all, How do I manipulate the following data list into a spreadsheet (cross-tab report) format? I'm assuming arrays are in the works for this to build the spreadsheet data set, but since I haven't worked with them, I'm not sure about that. As you can see, the list contains repeating years and months for each year. There can be many years, which are unknown before hand. Some of them not consecutive in the list range. Same goes with the months. So some kind of checking to see if the year has a complete 12 month list would have to exist in the script logic. Or maybe not. The year and month names are in descending order in the list. 2009-January-109 2008-December-1009 2008-November-900 2008-October-1000 2008-September-1500 2008-August-800 2008-July-780 2008-June-950 2008-May-850 2008-April-1230 2008-March-1140 2008-February-1170 2008-January-1320 2007-December-900 etc 2007-January-1100 2006-December-950 etc 2006-January-1200 etc So that the report appears as: Month 2009 2008 2007 2006 2005 etc January 109 1320 1100 1200 etc February 0 1170 etc March 0 1140 etc April 0 1230 etc May0 850 etc June 0 950 etc July 0 780 etc August 0 800 etc September 0 1500 etc October0 1000 etc November 0 900 etc December 0 1009 etc Totals: 2118 12649 etc The 'etc' is just to note that the data continues in the actual report/list, but for this purpose, it is to show formatting. Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Cross-tab-report%3A-from-list-tp21261951p21261951.html Sent from the Revolution - User mailing list archive at Nabble.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: Linux user Application Data folder path
Peter, that's quite a mouth full. And to digest it, is even more overwhelming. To understand and see it all will take some 'hands-on', I think. So will have to lay low on that platform for some time, before getting the resources for it. Getting the application completed and working on Windows and MacOS is the main focus, then Linux. Which I'm sure will bring its own issues. I'll make a copy of your explanation here for future referral. Thanx and regards, Mark Stuart Peter Alcibiades wrote: Written in the hope that this will not be insultingly elementary! But if you've no Linux installation handy, probably it won't be. Probably the best thing would be to get a live CD and take a look at how it works. A reasonable one would be Mandriva One 2009 Gnome, or 2008 Spring KDE (not 2009 KDE). Realize that you can install this and most other big distributions onto an existing Windows box, and it will take care of partitioning and so on and give you a dual boot system where you choose at boot time whether to run Windows or Linux. I think this is a lot better than running Linux in a VM, but opinions do differ. Its not quite clear what you mean by 'the user applications folder'. There isn't really any such thing in the way there is in Windows. Applications which are native to your distribution will usually be found in /usr/bin. But your user account will not be able to write to that. And that is not a collection of folders as you might expect from Windows, its a collection of binary files and some links. So to say that it is 'the user applications folder' is not really correct, and certainly you cannot put preferences and configuration files there. It is not really the applications folder, and it is not user specific but system wide. The libraries these binaries depend on will be in several places including user/lib. All this should be left well alone. The configuration files for a particular user who is using a system wide application will be in /home/user. For instance, for the text editor geany, they are in /home/user/.geany/geany.conf. There is going to be one of these for every user account on the system. Decide whether you want your application installed for all users of the system or just the one signed on. If the former, put it in /opt, and put a link to it someplace, like on the desktop, which will be /home/user/Desktop. You'll have to put a link in for each user in the different desktops. You'll need the root password to write to /opt. If the latter, put it in /home/user. Its not very common for software to be installed in the user's home folder, but it does happen. My own rev software is there. I don't put it in a dot folder however, since I want to be able to get at it without looking through all the other invisible folders. So then it would be in /home/user/theapp, for instance. If you do this, I would put the preferences in (for instance) /home/user/theapp/.theappprefs. This will make the prefs file invisible, if that's what you want. The user can make them visible again by checking 'show hidden files' in the file manager. The default folder may not behave quite as expected. Its may not end up being set as /home/user/theapp in the above example, but as /home/user, so you might have to set it explicitly to what you want, or have the user do it during installation. Be aware that your user need not necessarily have a desktop to put icons on. That is, he'll always have a folder called /home/user/Desktop, but he may not be running a desktop environment or window manager which puts icons on the desktop in the Windows or MacOS way. Fluxbox is an example of a window manager like this. It might be something to cover in the Readme. Peter mfstuart wrote: Hi Mark S. I can't try it because I don't have a Linux box available now. But will be putting the application out to beta sometime soon - next year :). So if I do the following: put specialFolderPath(Preferences) into tPath --for MacOS put specialFolderPath(26) into tPath --for Windows put ~/applications into tPath --for Linux This should return me the path to the users applications folder? And after that if I append the software company name application name, this should be OK for storing application information, such application settings? Regards, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, Try this: ~/applications -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 26 dec 2008, at 02:13, mfstuart wrote: Merry Christmas to all, As specialFolderPath(26) returns C:/Documents and Settings/user/ Application Data on Windows, what is the equivilant on Linux? I need
Linux user Application Data folder path
Merry Christmas to all, As specialFolderPath(26) returns C:/Documents and Settings/user/Application Data on Windows, what is the equivilant on Linux? I need to know the path to the application data and then append the software company name and application name to it. Windows eg: C:/Documents and Settings/mark/Application Data/SoftwareCompanyName/ApplicationName/ Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Linux-user-Application-Data-folder-path-tp21171023p21171023.html Sent from the Revolution - User mailing list archive at Nabble.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: Linux user Application Data folder path
Hi Mark S. I can't try it because I don't have a Linux box available now. But will be putting the application out to beta sometime soon - next year :). So if I do the following: put specialFolderPath(Preferences) into tPath --for MacOS put specialFolderPath(26) into tPath --for Windows put ~/applications into tPath --for Linux This should return me the path to the users applications folder? And after that if I append the software company name application name, this should be OK for storing application information, such application settings? Regards, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, Try this: ~/applications -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 26 dec 2008, at 02:13, mfstuart wrote: Merry Christmas to all, As specialFolderPath(26) returns C:/Documents and Settings/user/ Application Data on Windows, what is the equivilant on Linux? I need to know the path to the application data and then append the software company name and application name to it. Windows eg: C:/Documents and Settings/mark/Application Data/SoftwareCompanyName/ApplicationName/ Regards, Mark Stuart ___ 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 -- View this message in context: http://www.nabble.com/Linux-user-Application-Data-folder-path-tp21171023p21171105.html Sent from the Revolution - User mailing list archive at Nabble.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: conditionally formatting a field
SparkOut, The 'focusedObject' is the key script element for this to work. Thanx for the scripts. It works exactly how I want it to. - on mouseLeave if the focusedObject is the long id of me then set the borderColor of me to #00 else set the borderColor of me to #ff end if end mouseLeave - Regards, Mark stuart -- View this message in context: http://www.nabble.com/conditionally-formatting-a-field-tp21067108p21083539.html Sent from the Revolution - User mailing list archive at Nabble.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
conditionally formatting a field
Hi all, I want to apply formatting to a field - 'set the borderColor of fld 1 to black', depending if the field has focus or not. The conditions apply to field 1 only. Here's the condition for the field when tabbing between 2 fields: If the field has focus, it's borderColor is black. If the field loses focus, the bordColor is white. Here's the condition for field 1 when mousing over and out of it, and when field 1 has focus: If the field has focus, don't change the borderColor. It stays black. If the field is not focused, then change the borderColor to white. So far I've tried scripts in the following handlers: mouseEnter, mouseLeave, openField, exitField, and closeField. And I'm not getting the result I want. Anyone got any tips on how to do this? To see it work, open Outlook and click on the Find toolbar button. It opens the find fields at the top of the email list. Apply the behavior as above to see the results I'm looking for. This is on Windows, and I'm not sure how Mac Outlook behaves. Regards, Mark Stuart -- View this message in context: http://www.nabble.com/conditionally-formatting-a-field-tp21067108p21067108.html Sent from the Revolution - User mailing list archive at Nabble.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
Copying standalone to PowerBook
Hi all, I'm having an issue with my standalone application disappearing on a PowerBook after its first use. The second launch of the application, it doesn't start. Here's what I did... I developed an application on WinXP with RunRev v3.0. Built the standalones for: PowerPC, Intel, and Windows; with the default values in the application settings for each platform. Copied each of the 3 standalone folders onto a USB 1GB drive. Took it to the PowerBook, and copied the MacOSX PowerPC-32 folder to the Applications folder using Finder. Clicked on the application.app folder (under the above folder) and the application launched. So far no problem. I kept the Finder open to the application.app folder. It showed that the application file size was 3.1 MB, on first launch of the application. Now while using the application, the file size changed to 92 KB. I then closed the application, and tried launching it again, and nothing - it wouldn't load. It seems as though the application was deleted. What am I doing wrong? Regards, Mark Stuart ps: Do I have to use an installer to get things in the proper place/configuration to make it work correctly on Mac OSX platform? Where Windows is just a copy and run the application. BTW: I'm brand new to MacOS. -- View this message in context: http://www.nabble.com/Copying-standalone-to-PowerBook-tp20308690p20308690.html Sent from the Revolution - User mailing list archive at Nabble.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
Mac OS and Windows behavior difference
Hi all, In the following script - inside a repeat: put Reading line... tCount of TotalLineCount into fld Status The text and the number values are displayed on WinXP, using Rev: 3.0. But on Mac OS X (PowerPC Only), it only displays Reading line The number values don't appear at all. There is no screen lock at all in the entire script. This behavior appears in the standalone. The development and standalone were built on WinXP. The Mac OS X standalone was copied to a folder on the Mac for testing. ## Read each line in the download put the number of lines in tData into TotalLineCount put 0 to tCount repeat for each line theLine in tData add 1 to tCount put Reading line... tCount of TotalLineCount into fld Status end repeat ## Anybody know what may cause this? Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Mac-OS-and-Windows-behavior-difference-tp20273800p20273800.html Sent from the Revolution - User mailing list archive at Nabble.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: Mac OS and Windows behavior difference
Terry, Thanx for the quick reply. I'll get that tested next week, when the owner of the Mac laptop brings it in. BTW: isn't real early on Saturday morning in OZ? Regards, Mark Stuart Terry Judd wrote: I've seen this sort of thing as well. Add in a 'wait 0 milliseconds' and it should update correctly. Terry... On 1/11/08 7:49 AM, mfstuart [EMAIL PROTECTED] wrote: Hi all, In the following script - inside a repeat: put Reading line... tCount of TotalLineCount into fld Status The text and the number values are displayed on WinXP, using Rev: 3.0. But on Mac OS X (PowerPC Only), it only displays Reading line The number values don't appear at all. There is no screen lock at all in the entire script. This behavior appears in the standalone. The development and standalone were built on WinXP. The Mac OS X standalone was copied to a folder on the Mac for testing. ## Read each line in the download put the number of lines in tData into TotalLineCount put 0 to tCount repeat for each line theLine in tData add 1 to tCount put Reading line... tCount of TotalLineCount into fld Status end repeat ## Anybody know what may cause this? Regards, Mark Stuart -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ 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 -- View this message in context: http://www.nabble.com/Mac-OS-and-Windows-behavior-difference-tp20273800p20274321.html Sent from the Revolution - User mailing list archive at Nabble.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: Anyone know how to read Palm pdb dbs?
Hi Chipp, There's a download link near the top for this free utility... http://compupro.biz/PDBExplorer.htm I've used it in the past. Regards, Mark Stuart Chipp Walters wrote: My Dad's Treo died and there's no way to get sync it with his computer. I was able to get his contacts off of it onto a SD card, but I don't have anyway of moving it out of the native pdb format spec. Turns out there's binary data mixed in with the rest (pictures for contacts)-- which I don't really need/want. But, I would like to be able to get the rest of the contact info. I seem to remember a pdb reader lib running around awhile back, but my Gmane searches don't show any links. Any help is much appreciated! -Chipp ___ 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 -- View this message in context: http://www.nabble.com/Anyone-know-how-to-read-Palm-pdb-dbs--tp19507118p19514582.html Sent from the Revolution - User mailing list archive at Nabble.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
ini file question on the Mac
Hi all, Please excuse my Mac ignorance as I'm a totally Windows guy, but... As is an ini file for a Windows application, so is a ??? file on the Mac OS. Could someone help me by filling in the ??? blank for the Mac OS? Regards, Mark Stuart -- View this message in context: http://www.nabble.com/ini-file-question-on-the-Mac-tp18928420p18928420.html Sent from the Revolution - User mailing list archive at Nabble.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: ini file question on the Mac
Hi Mark, Yes, I need to store preferences for an application on any of the Mac OS versions. This application is a single user standalone application. So I would need to know the path and filename extension for this preferences file. On Windows, I would typically put this preferences file in the same folder as the executable. Filename: appname.ini Would I assume the same on Mac? Filename: appname.??? --this is where I need the correct filename extension for the Mac OS. Regards, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, This is not the right question. What do you want to achieve? Do you want to store user settings? Do so in a preferences file in ~/ user/library/preferences. Do you want tweak how the OS deals with your standalone? Plist might be your friend. Want to store some default settings for when the application is launched for the first time? Why not simply a custom property? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 11 aug 2008, at 17:47, mfstuart wrote: Hi all, Please excuse my Mac ignorance as I'm a totally Windows guy, but... As is an ini file for a Windows application, so is a ??? file on the Mac OS. Could someone help me by filling in the ??? blank for the Mac OS? Regards, Mark Stuart -- View this message in context: http://www.nabble.com/ini-file-question-on-the-Mac-tp18928420p18928420.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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 -- View this message in context: http://www.nabble.com/ini-file-question-on-the-Mac-tp18928420p18929976.html Sent from the Revolution - User mailing list archive at Nabble.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: ini file question on the Mac
Hi Phil, thanx for your reply. But, is this a Mac OS policy that a preference file has to go into this ...appPrefs/ folder? Or can the preference file reside with the application? You see, I don't have a Mac to know these things. I'll have to get with a friend who has one. Regards, Mark Stuart Phil Davis-5 wrote: Hi Mark, mfstuart wrote: Hi Mark, Yes, I need to store preferences for an application on any of the Mac OS versions. This application is a single user standalone application. So I would need to know the path and filename extension for this preferences file. In Rev, this should give it to you: put specialFolderPath(Preferences) /appPrefs into tMyPrefsFile AFAIK, any (or no) file extension can be used... but there may be a preferred extension that I'm ignorant of. You might take a look in the folder whose path is returned and see what is used by others. Also, Ken Ray has a very nice list of specialFolderPath() values that will take you pretty much wherever you want to go in the OS: http://sonsothunder.com/devres/revolution/tips/file010.htm HTH - Phil Davis On Windows, I would typically put this preferences file in the same folder as the executable. Filename: appname.ini Would I assume the same on Mac? Filename: appname.??? --this is where I need the correct filename extension for the Mac OS. Regards, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, This is not the right question. What do you want to achieve? Do you want to store user settings? Do so in a preferences file in ~/ user/library/preferences. Do you want tweak how the OS deals with your standalone? Plist might be your friend. Want to store some default settings for when the application is launched for the first time? Why not simply a custom property? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 11 aug 2008, at 17:47, mfstuart wrote: Hi all, Please excuse my Mac ignorance as I'm a totally Windows guy, but... As is an ini file for a Windows application, so is a ??? file on the Mac OS. Could someone help me by filling in the ??? blank for the Mac OS? Regards, Mark Stuart -- View this message in context: http://www.nabble.com/ini-file-question-on-the-Mac-tp18928420p18928420.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ 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 -- View this message in context: http://www.nabble.com/ini-file-question-on-the-Mac-tp18928420p18933348.html Sent from the Revolution - User mailing list archive at Nabble.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-2: Removing CRLF from text
Hi all, I’ve tried all replies to this issue and the one that works is from Martin Baxter, using: put URL (binfile: tFilename) into tData put tData into fld “Original” --this results in displaying a “box” character at the end of each line --now look for the set of string characters that I want to remove put + CRLF into tmatchstring --the order that the string you’re looking for is important replace tmatchstring with space in tData replace with empty in tData --the replace character is the last char of each line from the “Original” field. I copied this character into the script --place the result into a field for display put tData into fld Changed From my “Changed” field (the result of the script), I copied the text from it, saved it with Notepad and viewed the file with a Hex Editor. The characters at the end of each line are: (Hex=0d0d0a) which is 13 13 10 RunRev translation: cr cr lf Remember, this is all from using… put URL (binfile: tFilename) into tData From the saved file above, I used it as the ini file for the software application, and the application works with it – no problem. The net result is, this works using: put URL (“binfile:”….. when trying to do what I need to do … … bring “broken” INI entries into one line, per ini entry. Thanx all for your interesting responses. It shows how awesome, diverse and I might say in a nice way, indulgent, each RunRev developer is. Regards, Mark Stuart p.s. I sent this same email from my work email address (which is not registered with this list), so you may see it twice. ___ 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
Removing CRLF from text
Hi, RunRev: 2.90 OS: WinXP I have a situation where a software application's ini file has the plus (+) char and CRLF at the end of a line, when the line passes 80 characters. The balance of the ini entry is placed on the next line. Each ini entry could be very long and possibly go to 3 lines. Why they did this I don't know, really. But what I need to do is remove the + and CRLF so that each ini entry is complete in itself, on one line. ini file currently contains: dfgsdfg sdfgsd fgsdfgsdf gsdfg + sdfgadfs dgdghs dfdfgg fghf+ dfgh dfgh Result I'd like after running the script: dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh I've used this script, and variations of it, to remove these characters: + CRLF. It removes the + char, but still leaves each ini entry split into multiple lines. I've also searched the archives for a solution, nothing is working. Any ideas? My script: on mouseUp --clear current fields on card --these fields are so that I can see the results from the script. put empty into fld Orig put empty into fld Changed --fetch the file put C:/temp/some.ini into tFilename put URL (file: tFilename) into tData put tData into fld Orig repeat for each line L in tData --grab the line put L into tLine --If the line contains +, then it will also contain CR and LF, --so only work on a line with +. if (tLine contains +) then --find + and delete it put offSet(+,tLine) into tPos delete char tPos to tPos in tLine --find CR and delete it put offSet(CR,tLine) into tPos delete char tPos to tPos in tLine --find LF and delete it put offSet(LF,tLine) into tPos delete char tPos to tPos in tLine --put the line into a container so that I can see the results put tLine cr after theLines else -- just put the line into a container put tLine cr after theLines end if end repeat put theLines into fld Changed end mouseUp Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18862004.html Sent from the Revolution - User mailing list archive at Nabble.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: Removing CRLF from text
Hi Sarah, Thanx for your reply. I have tried your suggestion and it still doesn't make the separated lines into one entry per line. I also tried Jacqueline's suggestion and nada, zilch, nichte. I've looked at the ini (text) file with a Hex Editor and the values are: +=2b, CR=0d, LF=0a. Not sure how to replace using the hex value as the value to replace. I've even tried using: replace + numtoChar(10) numtoChar(13) with in tData This all will not put all separated lines into one line. So I'll keep trying different combinations, unless someone has this licked. Regards, Mark Stuart Sarah Reichelt-2 wrote: I have a situation where a software application's ini file has the plus (+) char and CRLF at the end of a line, when the line passes 80 characters. The balance of the ini entry is placed on the next line. Each ini entry could be very long and possibly go to 3 lines. Why they did this I don't know, really. But what I need to do is remove the + and CRLF so that each ini entry is complete in itself, on one line. ini file currently contains: dfgsdfg sdfgsd fgsdfgsdf gsdfg + sdfgadfs dgdghs dfdfgg fghf+ dfgh dfgh Result I'd like after running the script: dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh what about: replace + CRLF with empty in tData Cheers, Sarah ___ 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 -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18863440.html Sent from the Revolution - User mailing list archive at Nabble.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: Removing CRLF from text
Hi Jacqueline, Refer to my replay to Sarah - no go. So any other suggestions are welcome. Regards, Mark Stuart J. Landman Gay wrote: mfstuart wrote: I've used this script, and variations of it, to remove these characters: + CRLF. It removes the + char, but still leaves each ini entry split into multiple lines. snip repeat for each line L in tData When a script gets a line of text, the engine omits the end of line character(s) and returns only the text of the line itself. That is why the lines stay separated, since the line delimiters are left intact. (It works just like items; when you get an item from a string, the comma is not included.) Instead of working on each line, work on the entire block of text as a whole. You should be able to do it like this: put URL (file: tFilename) into tData put +CRLF into tChars replace tChars with space in tData -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.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 -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18863449.html Sent from the Revolution - User mailing list archive at Nabble.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: Video Editor
Sorry folks, that message was to have gone directly to Chipp. Must have used the wrong email address. @@ Regards, Mark Stuart mfstuart wrote: Hi Chipp, I'm a member of the use-revolution archive community and had a question for you. I was wondering if your video editor was for sale? I was wanting something for my 15 yr old daughter to use to download video from the camera and then edit and create a DVD. What say you? Thanx, Mark Stuart ___ 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 -- View this message in context: http://www.nabble.com/Video-Editor-tp18805610p18813690.html Sent from the Revolution - User mailing list archive at Nabble.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
Retrieving text within 2 tags
Hi all, RunRev: 2.90 OS: WinXP How would I retrieve text that is within 2 tags, that has been put into a memory variable? The text originated from a web site, using command put url theURL into tData. Such as: MyText This is some text I would like to retrieve. It is on many lines and all the text has to be return within the tags. Also, the text could have HTML formatting in it. /MyText I don't know how to use the XML commands in rev as yet (a possibility), so I would like to use the text chunk commands to do so. TIA. Mark Stuart -- View this message in context: http://www.nabble.com/Retrieving-text-within-2-tags-tp18784278p18784278.html Sent from the Revolution - User mailing list archive at Nabble.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: Choose brushTool only works in IDE!?
Tiemo, I can't find that in the User Guide, Dictionary, or Glossary. Actually, I can't find that rev file at all in the installation subfolders. Can you point me in the correct direction? Thanx, Mark Stuart Tiemo Hollmann TB wrote: Ok, having tought myself again the basics - read the docs carefully, before asking unnecessary questions: If you want to change the brush property in a standalone application--for example, to let the user paint in images--you must copy the stack revCompatibilityBrushes1 into your application before you build the standalone. (This stack includes the cursors used for the brush tool.) To copy the stack, enter the following into the message box or a handler:... Thanks for listening :) Tiemo This works perfect in my IDE, but in the standalone the cursor doesn't change to the brush tool, it keeps being the pointer tool, though the mouseenter is being triggered. Please don't tell me that you can't change the tool by script in the standalone! It is supposed to be such a great feature in my app! Thanks for any hints, where I should look at Tiemo ___ 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 -- View this message in context: http://www.nabble.com/Choose-brushTool-only-works-in-IDE%21--tp18693104p18694604.html Sent from the Revolution - User mailing list archive at Nabble.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: AW: Choose brushTool only works in IDE!?
Thanx Tiemo, found it. Mark Stuart Tiemo Hollmann TB wrote: Hi Mark, have a look into brush property in the dictionary browser Tiemo Tiemo, I can't find that in the User Guide, Dictionary, or Glossary. Actually, I can't find that rev file at all in the installation subfolders. Can you point me in the correct direction? Thanx, Mark Stuart ___ 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 -- View this message in context: http://www.nabble.com/Choose-brushTool-only-works-in-IDE%21--tp18693104p18694907.html Sent from the Revolution - User mailing list archive at Nabble.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
brushColor transparency setting possible?
Hi all, While we're on this topic of brush Tools, anyone know how to set the transparency of the brushColor on WinXP and RunRev 2.9? On the stack is an image that the user has captured using the import snapshot command. From a Toolbox the user can select an option to hilite a part of the imported image, like using the yellow Sharpie highlighter. I set the brush tool, set the brush shape to the vertical shape, then set the brushColor to yellow. I need the yellow to be transparent, and don't know how to do that. TIA, Mark Stuart -- View this message in context: http://www.nabble.com/brushColor-transparency-setting-possible--tp18695481p18695481.html Sent from the Revolution - User mailing list archive at Nabble.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
force quit of open RunRev app from another software
Hi all Revolutionaries, WINXP RunRev: 2.9 I have a RunRev app that I have built. It is an executable. This app is called/opened from another software application, written in a different software development tool. No problem with this. I may have more than one instance of the RunRev application open at one time. And need to close these sessions when the application that opened them, closes. How do I force quit these open RunRev application sessions from the other software? TIA, Mark Stuart -- View this message in context: http://www.nabble.com/force-quit-of-open-RunRev-app-from-another-software-tp18350056p18350056.html Sent from the Revolution - User mailing list archive at Nabble.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: force quit of open RunRev app from another software
Matthias brilliant :) I can use/call this from my other software development tool. - Didn't know you could do that! - There are a lot of ways to kill a session. The following is the one I used: 'taskkill /IM appname.exe' Closes all sessions that are open with appname.exe And appropriate for what I need. Another way: 'taskkill /PID 5548' If you know the exact Process ID of the session you want to kill/close. Thanx, Mark Stuart runrev260805 wrote: Hi Mark, i would look at the open processes of Windows. There you should see your revapps. If you are not familiar to shutdown/kill processes with your other software dev tool. Then you could invoke a shell command from your other app. under XP Pro you could use tasklist.exe to list all the open processess taskkill.exe to kill the unwanted tasks or tskill.exe to kill the unwanted tasks (less powerfull) under XP home tskill.exe See the commandline help of these programs for the exact syntax. I don´t know if XP home has also tasklist.exe. Maybe this helps a little bit. Regards, Matthias Original Message Subject: force quit of open RunRev app from another software (09-Jul-2008 0:03) From:mfstuart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi all Revolutionaries, WINXP RunRev: 2.9 I have a RunRev app that I have built. It is an executable. This app is called/opened from another software application, written in a different software development tool. No problem with this. I may have more than one instance of the RunRev application open at one time. And need to close these sessions when the application that opened them, closes. How do I force quit these open RunRev application sessions from the other software? TIA, Mark Stuart -- View this message in context: http://www.nabble.com/force-quit-of-open- RunRev-app-from-another-software-tp18350056p18350056.html Sent from the Revolution - User mailing list archive at Nabble.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 To: use-revolution@lists.runrev.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 -- View this message in context: http://www.nabble.com/force-quit-of-open-RunRev-app-from-another-software-tp18350056p18351253.html Sent from the Revolution - User mailing list archive at Nabble.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: open new sub-stack with different record from database
Hi Jan, Thanx Jan. I'll play around with that this weekend. BTW: 1) I guess RunRev doesn't natively support MDI? 2) And in YOUR script after the 'set the name of it...', I should insert: go to stack EditAccount? Thanx, Mark Stuart Jan Schenkel wrote: --- mfstuart [EMAIL PROTECTED] wrote: Hi all, WINXP Rev 2.9 MSSQL How do I build an MDI interface where from a list of records the user can open multiple instances of a sub-stack with a different record on each sub-stack? Current setup: Main Stack - table list of records from a SQL database. Sub-stack - reads and displays the selected record. [snip] Problem: If the user double clicks again on a different record on the table list, the currently opened sub-stack becomes focused with the first opened record displayed, not the second selected record. I can't open more than one sub-stack at a time? TIA, Mark Stuart Hi Mark, You should look at the 'clone' command - keep a pristine template stack around, and clone that stack every time the user double-clicks the field - though you should probably move it into a utility handler so you don't have to copy the logic when you want to edit customer records from elsewhere in your application. Also consider setting the 'destroyStack' property of the cloned stack - that way, when the stack is closed by script or by clicking the close button, the memory it takes up will be freed. And you may also want to set the label and name of the cloned stack at the same time. So you would end up with something like this: ## global gAccountNumber on mouseDoubleUp set the itemDel to tab put item 1 of the selectedText into gAccountNumber if gAccountNumber then clone stack EditAccountTemplate set the destroyStack of it to true set the label of it to Edit Account gAccountNumber set the name of it to EditAccount gAccountNumber end if end mouseDoubleUp ## Hope this helped, Jan Schenkel. Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) ___ 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 -- View this message in context: http://www.nabble.com/open-new-sub-stack-with-different-record-from-database-tp17703392p17711140.html Sent from the Revolution - User mailing list archive at Nabble.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
open new sub-stack with different record from database
Hi all, WINXP Rev 2.9 MSSQL How do I build an MDI interface where from a list of records the user can open multiple instances of a sub-stack with a different record on each sub-stack? Current setup: Main Stack - table list of records from a SQL database. Sub-stack - reads and displays the selected record. The table list has a mouseDoubleUp handler: == global gAccountNumber on mouseDoubleUp set the itemDel to tab put item 1 of the selectedText into gAccountNumber if gAccountNumber then go stack Edit Account end if end mouseDoubleUp == This handler opens the sub-stack. The sub-stack preOpenStack reads the record and populates the fields for display. Problem: If the user double clicks again on a different record on the table list, the currently opened sub-stack becomes focused with the first opened record displayed, not the second selected record. I can't open more than one sub-stack at a time? TIA, Mark Stuart -- View this message in context: http://www.nabble.com/open-new-sub-stack-with-different-record-from-database-tp17703392p17703392.html Sent from the Revolution - User mailing list archive at Nabble.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: Screen Capture other software using RunRev application
Joe, I have the latest version of this software at home, and it works great. Here's the scenario that led me to develop a screen capture application in RunRev: My job as a software developer, relies on me to communicate the developing application to others in the office, and sometimes requires me to send a screen shot via email or paste it into a Word doc for specifications. Hence I need a screen capture software. And since IT gave me a new computer recently, without the screen capture software on it (as did me old computer - SnagIt), I had been relying on Paint for a short time. That got old and so I took my hand to RunRev, remembering it could do a lot of things with images. In a day, I now have a tool to capture screen shots, calling it GrabIt! (hmmm). It's developing along with more features to edit the captured image, such as SnagIt allows. When it's a little more mature, I'll place it on RevOnline. Regards, Mark Stuart Joe Lewis Wilkins wrote: Mark, How about using this: http://www.techsmith.com/screen-capture.asp?CMP=KgoogleShome Joe Wilkins On May 29, 2008, at 4:06 PM, mfstuart wrote: Hi Mark. That's unfortunate. But all I'm looking for is to grab screen shots of the software I build and then be able to paste the capture to any other software, such as an email or Word. I think Snapper would be an overkill? Regards, Mark Stuart ___ 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 -- View this message in context: http://www.nabble.com/Screen-Capture-other-software-using-RunRev-application-tp17547393p17578823.html Sent from the Revolution - User mailing list archive at Nabble.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
Screen Capture other software using RunRev application
Hi all, Platform: WINXP RunRev: 2.9 I was wondering if it is possible to build a screen capture application in RunRev that works like SnagIt!? And if so, how would I go about it? I've played around with this in RunRev, but not fully versed with all the image commands. It would work something like this: Where I can define that the screen capture instance will detect another software's window or an object such as a button - in that other software, and then grab the image and bring it back to the RunRev application. There would be a button to copy the captured image to the clipboard, so that I can paste it into Word, for example. SnagIt! website: http://www.techsmith.com/screen-capture.asp TIA, Mark Stuart p.s. Missed the conference, so just placed my order for the RunRev08 DVD. -- View this message in context: http://www.nabble.com/Screen-Capture-other-software-using-RunRev-application-tp17547393p17547393.html Sent from the Revolution - User mailing list archive at Nabble.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: Screen Capture other software using RunRev application
Hi Mark, does Snapper work on the Windows XP platform? Mark Stuart. Mark Schonewille-3 wrote: Hi Mark, Have a look at Snapper: http://snapper.economy-x-talk.com -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 30 mei 2008, at 00:22, mfstuart wrote: Hi all, Platform: WINXP RunRev: 2.9 I was wondering if it is possible to build a screen capture application in RunRev that works like SnagIt!? And if so, how would I go about it? I've played around with this in RunRev, but not fully versed with all the image commands. It would work something like this: Where I can define that the screen capture instance will detect another software's window or an object such as a button - in that other software, and then grab the image and bring it back to the RunRev application. There would be a button to copy the captured image to the clipboard, so that I can paste it into Word, for example. SnagIt! website: http://www.techsmith.com/screen-capture.asp TIA, Mark Stuart p.s. Missed the conference, so just placed my order for the RunRev08 DVD. -- View this message in context: http://www.nabble.com/Screen-Capture-other-software-using-RunRev-application-tp17547393p17547393.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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 -- View this message in context: http://www.nabble.com/Screen-Capture-other-software-using-RunRev-application-tp17547393p17547705.html Sent from the Revolution - User mailing list archive at Nabble.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: Screen Capture other software using RunRev application
Hi Mark. That's unfortunate. But all I'm looking for is to grab screen shots of the software I build and then be able to paste the capture to any other software, such as an email or Word. I think Snapper would be an overkill? Regards, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, It doesn't work on Windows yet, but it should be possible. The EnhancedQT external crashed when I tried it and I haven't had time to figure out the reason for the crash yet. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 30 mei 2008, at 00:45, mfstuart wrote: Hi Mark, does Snapper work on the Windows XP platform? Mark Stuart. ___ 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 -- View this message in context: http://www.nabble.com/Screen-Capture-other-software-using-RunRev-application-tp17547393p17548039.html Sent from the Revolution - User mailing list archive at Nabble.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: Screen Capture other software using RunRev application
Terry, I can work with that. Actually, I modified your Capture button script to: on mouseUp hide this stack import snapshot --position the image so that it doesn't overlap the Capture button at the top left of the form set the left of image 1 to 2 set the top of image 1 to 32 --cut image 1 set the clipboardData[image] to image 1 show this stack end mouseUp Terry Judd wrote: How about this button script... ON mouseUp hide this stack import snapshot cut image 1 show this stack END mouseUp Terry... On 30/5/08 9:06 AM, mfstuart [EMAIL PROTECTED] wrote: Hi Mark. That's unfortunate. But all I'm looking for is to grab screen shots of the software I build and then be able to paste the capture to any other software, such as an email or Word. I think Snapper would be an overkill? Regards, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, It doesn't work on Windows yet, but it should be possible. The EnhancedQT external crashed when I tried it and I haven't had time to figure out the reason for the crash yet. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 30 mei 2008, at 00:45, mfstuart wrote: Hi Mark, does Snapper work on the Windows XP platform? Mark Stuart. ___ 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 -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ 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 -- View this message in context: http://www.nabble.com/Screen-Capture-other-software-using-RunRev-application-tp17547393p17548456.html Sent from the Revolution - User mailing list archive at Nabble.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: Screen Capture other software using RunRev application
Mark, how about revScript, or runRevScript? After all, it is scripting we do in RunRev. :) Mark Stuart Mark Schonewille-3 wrote: Hi Mark, Yes, if you really only want a single screenshot, rather than a complete movie, you don't need Snapper --although a movie is often much more informative ;-) To make screenshots on Windows, I use a simple freeware utility called MWSnap. There are quite a few of these utilities out there. It would be cool if we could make screenshots of a particular non-Rev window without having to select the exact area manually. I don't think this is currently possible with vanilla Transcript, ehm Revolution... or RevCode. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 30 mei 2008, at 01:06, mfstuart wrote: Hi Mark. That's unfortunate. But all I'm looking for is to grab screen shots of the software I build and then be able to paste the capture to any other software, such as an email or Word. I think Snapper would be an overkill? Regards, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, It doesn't work on Windows yet, but it should be possible. The EnhancedQT external crashed when I tried it and I haven't had time to figure out the reason for the crash yet. -- Best regards, Mark Schonewille ___ 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 -- View this message in context: http://www.nabble.com/Screen-Capture-other-software-using-RunRev-application-tp17547393p17548483.html Sent from the Revolution - User mailing list archive at Nabble.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: Screen Capture other software using RunRev application
With all your help, I created a very simple screen capture application. I just put it up on RevOnline. User Name: mfstuart Category: Utilities Program Name: Grab It! Buttons: Capture, Clipboard, Clear Thanx to Terry and Mark for the suggestions. Terry Judd wrote: How about this button script... ON mouseUp hide this stack import snapshot cut image 1 show this stack END mouseUp Terry... On 30/5/08 9:06 AM, mfstuart [EMAIL PROTECTED] wrote: Hi Mark. That's unfortunate. But all I'm looking for is to grab screen shots of the software I build and then be able to paste the capture to any other software, such as an email or Word. I think Snapper would be an overkill? Regards, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, It doesn't work on Windows yet, but it should be possible. The EnhancedQT external crashed when I tried it and I haven't had time to figure out the reason for the crash yet. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 30 mei 2008, at 00:45, mfstuart wrote: Hi Mark, does Snapper work on the Windows XP platform? Mark Stuart. ___ 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 -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ 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 -- View this message in context: http://www.nabble.com/Screen-Capture-other-software-using-RunRev-application-tp17547393p17548939.html Sent from the Revolution - User mailing list archive at Nabble.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
Using revDatabaseColumnNamed returns weird character when database field has NULL
Sorry for the long description, but had to make it concise for everyone. Testing my application that accesses MSSQL thru ODBC (in 2.8.1) on WINXP, I manually typed in some records into the table using Enterprise Manager. I left some fields without any values, and therefore MSSQL displays NULL, for no value. OK so far. When using the subjects rev command, I see that for the fields without any value (NULL), it puts some character (a square) into the field on the stack. So my question is, how do I look for nulls in a SQL table field and NOT put it into the field on the stack? TIA, Mark Stuart -- View this message in context: http://www.nabble.com/Using-revDatabaseColumnNamed-returns-weird-character-when-database-field-has-NULL-tp16449496p16449496.html Sent from the Revolution - User mailing list archive at Nabble.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] Eee PC - got one?
Richard, Check out Wikipedia's web site for a lot of info on this device and other similar models: A newer model coming in April 2008. http://en.wikipedia.org/wiki/ASUS_Eee_PC Mark Stuart Richard Gaskin wrote: I'm considering an Eee PC. Priced at $399, it's hard to imagine it won't be a big seller. With Rev 2.9 making Linux deployment that much better, I see opportunities ahead. Anyone here have an Eee PC? What do you like about it? What do you hate? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.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 -- View this message in context: http://www.nabble.com/-OT--Eee-PC---got-one--tp16296541p16303354.html Sent from the Revolution - User mailing list archive at Nabble.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 indicate window needs saving
Did a google search with windows hig. Didn't find anything relevant. But what I do in an edit-record type form, (built in another language for Windows) is place the following 3 buttons at the bottom right of the form: Save and Close, Save and New, Close The first 2 buttons are disabled at opening of the form. When the user starts editing values on the form (changing field values), I then set a variable to TRUE. If this variable is TRUE, then the first 2 buttons become enabled. The text on the Close button is changed to Cancel. First up, this is a visual sign to the user that they need to respond to the system, because they changed values. (a somewhat push/pull affect) If they press Escape of click Cancel on the edit form, they are prompted in a dialog box to: save the changes by clicking Yes, exit without saving changes by clicking No, or they can click Cancel on the dialog box which returns them to the edit-record form. This last option allows the user to continue editing the record detail. Choosing No, loses all changes and closes the form. Regards, Mark stuart Richard Gaskin wrote: Mark Wieder wrote: The Mac allows visual feedback to the user that a window needs to be saved by changing the red (left most) icon with a dark dot in it. I don't know if Windows or Linux do the same thing. How do I give this indication to the user? Is there a property in Rev to do this? I've been known to change a field border color to red as an indicator... In the olden days some Mac apps used an asterisk after the window's title to indicate unsaved changes. I've been doing the same here, and have had no complaints (though I sure wouldn't mind a fully HIG-savvy way to do this). BTW: What does the Win HIG recommend for indicating unsaved changes? -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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 -- View this message in context: http://www.nabble.com/How-to-indicate-window-needs-saving-tp16179633p16191745.html Sent from the Revolution - User mailing list archive at Nabble.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: Proportional table column spacing upon resizeStack - how to
Merci Eric, that worked. Now I'll play around with that script to resize the columns, but the first column. Then change it so that the right most columns' right border always is at the right most position of the field. Regards, Mark Stuart Eric Chatonet wrote: Hi Mark, As the engine sends four params (see below) with the resizestack message, it's quite easy to use them to achieve the goal: on resizestack pNewWidth,pNewHeight,pOldWidth,pOldHeight local tRect,tTabStops,tTabStop,tNewTabStops - put the rect of fld Table into tRect put pNewWidth - 4 into item 3 of tRect -- -4: you'll use an appropriate value depending on your context set the rect of fld Table to tRect -- resizes the field -- put the tabStops of fld Table into tTabStops repeat for each item tTabStop in tTabStops put round(tTabStop * (pNewWidth / pOldWidth)) comma after tNewTabStops -- a value in pixels (integers) according to the ratio between pNewWidth and pOldWidth end repeat delete last char of tNewTabStops -- comma set the tabStops of fld Table to tNewTabStops end resizestack See tabStops in the docs :-) Best regards from Paris, Eric Chatonet. Le 17 mars 08 à 17:35, mfstuart a écrit : Hi All, I'm trying to apply this to my project, where I'm using a table field object to display data with several columns. What I'd like to do: Upon the user resizing the stack (the width in this case), I would like to resize the table columns proportionally. The table object is currently resized in the stacks on resizeStack script. So this would involve adjusting each item in the tabStops of the table field, during the resizeStack script. How do I do this? TIA, Mark Stuart Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ 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 -- View this message in context: http://www.nabble.com/Proportional-table-column-spacing-upon-resizeStack---how-to-tp16096272p16123321.html Sent from the Revolution - User mailing list archive at Nabble.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
Proportional table column spacing upon resizeStack - how to
Hi All, I'm trying to apply this to my project, where I'm using a table field object to display data with several columns. What I'd like to do: Upon the user resizing the stack (the width in this case), I would like to resize the table columns proportionally. The table object is currently resized in the stacks on resizeStack script. So this would involve adjusting each item in the tabStops of the table field, during the resizeStack script. How do I do this? TIA, Mark Stuart -- View this message in context: http://www.nabble.com/Proportional-table-column-spacing-upon-resizeStack---how-to-tp16096272p16096272.html Sent from the Revolution - User mailing list archive at Nabble.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: question regarding print out of objects listing from the application browser
Hi Jacqueline and Sadhunathan, Testing Jacqueline's script on WinXP, I found the from rect (the rect of this cd) value is from the top right of the monitor, (for the size of the card) not from the top right of the stack or card. So in the image you end up with the screen back ground, the RunRev menu bar, and some of the stack as the screen shot, in my case. I looked up the Documentation for export snapshot and found that you need to use the windowID property of the stack in the export snapshot line to get images of the stack or card, in this case. But first place the windowID into a variable: put the windowID of this stack into vWinID repeat with x = 1 to the number of cds go cd x put c:/temp/snapshot x .png into tfilename export snapshot from rect (the rect of cd x) of window vWinID to file tfilename as PNG end repeat HTH, Mark Stuart J. Landman Gay wrote: Sadhunathan Nadesan wrote: I could take screen shots with Irfanview, write up a word doc in Open Office, and export to PDF. You could automate the screenshot part in Revolution so you don't need to do it manually. Rev offers lots of ways to get screenshots out of your stack, and you can control what is exported -- either the entire card, or just a portion of it. You'd want to run a repeat loop that goes to each card sequentially and issues the export snapshot command. For example, to get the whole card, use: repeat with x = 1 to the number of cds go cd x put snapshot x .jpg into tfilename export snapshot from rect (the rect of this cd) to file tfilename as JPEG end repeat You can, of course, change the export file format to any that Rev supports. This should give you a series of screen shots in just a few seconds. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.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 -- View this message in context: http://www.nabble.com/question-regarding-print-out-of-objects-listing-from-the-application-browser-tp15991519p16018200.html Sent from the Revolution - User mailing list archive at Nabble.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: Correction to: my cursor shows as black
Hi Martin, 2.8.1 Build 472. If you make one cell white outside the black area, and make the other cells outside the black area, you will have a working cursor to use in RunRev. Mark Stuart Martin BLACKMAN wrote: I seem to recall this issue was a bug with 2.6.1 and is fixed in 2.8.1 (I had to make a cursor as a 'negative' to get around it at the time). What version of Rev are you using? On 08/03/2008, mfstuart [EMAIL PROTECTED] wrote: Hi all, In this post: http://www.nabble.com/my-cursor-shows-as-all-black-to15860638.html I made the following statement: **IMPORTANT - make one pixel outside the cursor area to be white or black. That is incorrect. It should read... **IMPORTANT - make one pixel outside the cursor area (the black outline) to be white. This forces RunRev to set the colors in the Colors property to be: First Color = white Second Color = black Third Color = white Which is the correct way to display a cursor with transparency in RunRev. And as Jacqueline kindly pointed out: Only one more thing: if you are planning to go cross platform with this app, your cursor can't be 32 pixels square. Linux and Mac support only 16 pixel square cursors. Caveat: Windows does support either 16x16 or 32x32 Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Correction-to%3A-my-cursor-shows-as-black-tp15897800p15897800.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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 -- View this message in context: http://www.nabble.com/Correction-to%3A-my-cursor-shows-as-black-tp15897800p15989735.html Sent from the Revolution - User mailing list archive at Nabble.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
Correction to: my cursor shows as black
Hi all, In this post: http://www.nabble.com/my-cursor-shows-as-all-black-to15860638.html I made the following statement: **IMPORTANT - make one pixel outside the cursor area to be white or black. That is incorrect. It should read... **IMPORTANT - make one pixel outside the cursor area (the black outline) to be white. This forces RunRev to set the colors in the Colors property to be: First Color = white Second Color = black Third Color = white Which is the correct way to display a cursor with transparency in RunRev. And as Jacqueline kindly pointed out: Only one more thing: if you are planning to go cross platform with this app, your cursor can't be 32 pixels square. Linux and Mac support only 16 pixel square cursors. Caveat: Windows does support either 16x16 or 32x32 Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Correction-to%3A-my-cursor-shows-as-black-tp15897800p15897800.html Sent from the Revolution - User mailing list archive at Nabble.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: my cursor shows as all black
Hi Jacqueline, I just attained a level of satisfaction using my own image cursors in RunRev. Here's what I've done: 1) Since I don't have PhotoShop, I use Axialis' IconWorkshop to create the 32x32 image and save it as a GIF file, two colors: black and white only, no transparency. 2) In RunRev, I import the GIF file. 3) Next I click on the image and use the Magnify option to apply transparency: here's how to do that... In the magnified thumbnail, use the eraser to remove the color (white) around or outside the image that will appear as the cursor. Make sure you set the eraser size to the smallest size. For those areas that you can't remove with the eraser, use the right button (on windows) and click on those areas. Doing all this applies a transparency to the image, except the part that will appear as the cursor. **IMPORTANT - make one pixel outside the cursor area to be white or black. If you don't do this, and when using the cursor in your application, the colors will be reversed. ie: where you defined white it will be black, and where you defined black it will be white. 4) Close the magnified box and then choose a non-paint tool to stop editing. Check the Color properties for the image: this is the way they should be First Color = white Second Color = black Third Color = white hope that can help someone, Mark Stuart J. Landman Gay wrote: mfstuart wrote: Hi again Jacqueline, I looked at the browse.gif image on the revCursors stack in RunRev. It shows on the Colors Patterns properties that the First Color is black, Second Color is white. I tried applying the same colors on my gif image after importing it into RunRev, but didn't help. In IconWorkshop, before exporting an image to gif, there are 3-4 options to set. I'll continue playing with those settings, because I just bought this software online. Got to be able to pay for it some how. Is GC available for WinXP? Sorry, no. It's Mac OS X only. I'm not familiar enough with Windows tools to know of a replacement (I do all my Windows icons and cursors on a Mac) but maybe someone here does. There has got to be something equivalent, I'd think. There is one more old trick that people used to use, but I haven't mentioned it because several people have said it no longer works. But I guess it is worth a try. Import your image (at the correct size) as a GIF image. Using the pencil tool, edit a pixel or two. The editing is what matters; you don't have to keep the changes. For example, you can toggle one pixel from black to white, and then toggle it back to black again. Then choose a non-paint tool to stop editing. This used to force the image to the correct palette for use as a cursor, provided your image was black and white to begin with. You might want to see if that works. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.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 -- View this message in context: http://www.nabble.com/my-cursor-shows-as-all-black-tp15860638p15884381.html Sent from the Revolution - User mailing list archive at Nabble.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
my cursor shows as all black
Hi all, My cursor shows as all black when using it in a stack. I can't get it to show as the original image - black and white. I know there's a set of cursors out there, but I'd like to create my own for the WinXP OS. This is what I've done: First I looked at the RunRev revCursors stack to see how the image was created - a 32x32 gif format. So I created my cursor 32x32 pixels with just black and white and with transparency and saved it as a gif file. I imported the image and used the img id in the set cursor to 1008 in the script. The script works by setting the cursor, but the image is all black, and not white and black like I created it. What am I doing wrong? Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/my-cursor-shows-as-all-black-tp15860638p15860638.html Sent from the Revolution - User mailing list archive at Nabble.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: my cursor shows as all black
Hi Mark, I don't have PhotoShop (as Steve mentions to use), I have Axialis' IconWorkshop. I downloaded there Cursor Workshop 4.5, but the only Save As file type is *.cur. So I'm trying all different ways to save the image file in IconWorkshop, but still the black image result. When I save as .png, and use it in RunRev, it crashes. Anyone using Axialis' IconWorkshop and able to get the correct results for cursors? Thanx, Mark Stuart Mark Schonewille-3 wrote: Hi Mark, Steve Goldberg created a set of cursors and made a standalone application containing a recipe to make cursors. You can find it on the Economy-x-Talk homepage. Click on Developers in the sidebar on the left and scroll down to halfway the page. I hope it helps. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html On 5 mrt 2008, at 22:22, mfstuart wrote: Hi all, My cursor shows as all black when using it in a stack. I can't get it to show as the original image - black and white. I know there's a set of cursors out there, but I'd like to create my own for the WinXP OS. This is what I've done: First I looked at the RunRev revCursors stack to see how the image was created - a 32x32 gif format. So I created my cursor 32x32 pixels with just black and white and with transparency and saved it as a gif file. I imported the image and used the img id in the set cursor to 1008 in the script. The script works by setting the cursor, but the image is all black, and not white and black like I created it. What am I doing wrong? Thanx, Mark Stuart ___ 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 -- View this message in context: http://www.nabble.com/my-cursor-shows-as-all-black-tp15860638p15864011.html Sent from the Revolution - User mailing list archive at Nabble.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: my cursor shows as all black
Hi again Jacqueline, I looked at the browse.gif image on the revCursors stack in RunRev. It shows on the Colors Patterns properties that the First Color is black, Second Color is white. I tried applying the same colors on my gif image after importing it into RunRev, but didn't help. In IconWorkshop, before exporting an image to gif, there are 3-4 options to set. I'll continue playing with those settings, because I just bought this software online. Got to be able to pay for it some how. Is GC available for WinXP? Mark Stuart J. Landman Gay wrote: mfstuart wrote: Hi Mark, I don't have PhotoShop (as Steve mentions to use), I have Axialis' IconWorkshop. I downloaded there Cursor Workshop 4.5, but the only Save As file type is *.cur. So I'm trying all different ways to save the image file in IconWorkshop, but still the black image result. When I save as .png, and use it in RunRev, it crashes. Anyone using Axialis' IconWorkshop and able to get the correct results for cursors? I don't think you can use that software. You need an image editor that will allow you to assign the correct number of colors, and set the order of the color lookup table. Your image must have only three colors in it, and the order in which they appear in the color lookup table is important. The three colors must be black, white, and any other color, the third of which you assign as the transparent color. I had to make a number of cursors for Cosmic Osmo and I used Graphic Converter (Mac OS X) to do it. GC allows you to assign the order of the colors in the color palette. Unfortunately I can't offhand recall which color has to be first, second, and third, but I vaguely recall the transparent color has to be third. Whether the first is black or white is what I've since forgotten, so you'd need to experiment. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.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 -- View this message in context: http://www.nabble.com/my-cursor-shows-as-all-black-tp15860638p15867003.html Sent from the Revolution - User mailing list archive at Nabble.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
Contents of Scrolling Field disappear after going to a card
Hi all, I'm creating a navigation system using a Scrolling Field as a menu - like iTunes. eg: Contents of the field: (tab delimited values: item 1=menu description, item 2=menu id) Main - 1 Card 1 - 2 Card 2 - 3 Card 3 - 4 I grouped the field and set its backgroundBehavior to true. Then I created 3 cards, as above. Problem: When the field is clicked on, it uses its script: go to card, with item 2 value, the menu id. When it goes to the different cards, the contents of the Scrolling Field disappear. But the Scrolling Field itself remains visible, and so I can't navigate anymore, when on the other cards. I checked the contents property for the field, and the values are still there. What's up with that? Mark Stuart -- View this message in context: http://www.nabble.com/Contents-of-Scrolling-Field-disappear-after-going-to-a-card-tp15841041p15841041.html Sent from the Revolution - User mailing list archive at Nabble.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: Contents of Scrolling Field disappear after going to a card
Thank you Jacqueline, that did it. But I would never of thought to check that property. Regards, Mark Stuart J. Landman Gay wrote: mfstuart wrote: Problem: When the field is clicked on, it uses its script: go to card, with item 2 value, the menu id. When it goes to the different cards, the contents of the Scrolling Field disappear. But the Scrolling Field itself remains visible, and so I can't navigate anymore, when on the other cards. I checked the contents property for the field, and the values are still there. Turn on the field's sharedtext property. A background field, by default, allows for different text on every card. The text you see in the inspector is the text of the first card, but it isn't being shared across all the cards. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.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 -- View this message in context: http://www.nabble.com/Contents-of-Scrolling-Field-disappear-after-going-to-a-card-tp15841041p15842969.html Sent from the Revolution - User mailing list archive at Nabble.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: Team Development using Run Rev
Hi Malte, First, thanx for your reply. I've put other questions or responses below... Most of the time same office, sometimes spread across regions - So do the remote developers email the rev files to somebody who then copies these new or updated rev files to the master location? I assume this is the merge process. Bottom line, is RunRev a good tool to use in a production team environment? I wrote an XML exporter for stacks - In the tool I currently use (eDeveloper), I can export any object in the application to a text file: model, table definition, program, help, menu, anything. In this file, besides all the other stuff, is what they call an ISN - Internal Serial Number for each object. This is how they track (internally) the relationship between each object. When I import that object into another project, or even the same project on the master, it knows what it belongs to, in the target project. So if you have this exporter, can you create the importer to get back the objects to their original state? That would be the key. And if this cannot work, then Steve's concepts would align to how I'd approach team development using RunRev. Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/Team-Development-using-Run-Rev-tp15752758p15762903.html Sent from the Revolution - User mailing list archive at Nabble.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: Team Development using Run Rev
Hi Ben, Nice concept, if someone could build that in RunRev, a Team Development system, quite possible if you know the structure of all the objects. The SmartProperties plug-in that already exists, shows how the same object in the original rev file could be compared to the just updated rev file. == Ben wrote: A possible better solution would be to create (in Rev, of course) a tool for checking into SVN; which if you dragged a stack on to it, would generate not a single XML file but a folder with many files and perhaps folders. For some setups you might want the tool to check everything into SVN; I think I'd rather use this tool, then use Eclipse to do the check-in, so that it would look at all the differences and allow me to deal with them individually. That way you could view the stack as a project, and see each script, card, substack etc (er... tbd) as individual files, so that there could be individual comments and change histories. Mark Stuart -- View this message in context: http://www.nabble.com/Team-Development-using-Run-Rev-tp15752758p15763352.html Sent from the Revolution - User mailing list archive at Nabble.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
Team Development using Run Rev
Hi to all those who have used or are using RunRev in a team development environment... I have some questions as to even if RunRev allows itself to be a software development tool for development teams. So here are my questions: Who is using RunRev in a group development environment? (reply if you are) How many developers are on the team? Are the developers in the same office or are the team members spread over different regions or countries? How are you handling master stack updates to the server? How do you handle code (.rev files) check-out and check-in? Bottom line, is RunRev a good tool to use in a production team environment? I ask these questions at this time after spending almost 2 years using and learning RunRev on my spare time. It is starting to appear to me that it's a viable tool to use to develop off the shelf software products. But with that in mind it's important to understand the questions above, as one day this may be the tool of choice. Thanx in advance for your replies, Mark Stuart -- View this message in context: http://www.nabble.com/Team-Development-using-Run-Rev-tp15752758p15752758.html Sent from the Revolution - User mailing list archive at Nabble.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: Reliable Cursor Changes?
Hi Scott, I just tried this in a new stack... seems to work. I put 3 objects on the stack: Label Field, Field, and a button. For each object, I created a Custom Property: RollOverCursor and gave the values: 1,2, and no value, respectively for each object. For each object, I put the following script into them: on mouseEnter switch (the RollOverCursor of me) case 1 set cursor to 76 break case 2 set cursor to hand break default reset cursors end switch lock cursor end mouseEnter on mouseLeave unlock cursor end mouseLeave When placing each object on the stack, make sure there is enough space in between them for the engine to reset the cursor, else the cursor won't reset to the default. I like this concept, and will put it into my own applications, thanx Scott. :) If you need me to put this stack on RevOnline, please reply. HTH, Mark Stuart ___ 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
UI performance and large data set in Table Object
Hi All, I have a question about large data sets (thousands of lines) in a table object and the slowing down of the UI performance, especially on resizing the stack. My application interfaces to an MS SQL 2000 database via ODBC. No problem there. The SQL table I have has over half a million records in it, and this grows all the time. Potentially, the user could return all records, which would take a while to load them all. But I've created the interface to allow the user to return a smaller record set. This can be alot of records - 10, 30, 40, 5 thousand or more, or just a few hundred. It depends on how the user searches the database. Now when large record sets are returned from a search, the UI (user interface) slows down, especially when resizing the stack to see more records in the table object. When resizing with no records, the UI is performs normally with fast resizing. Q: has any one seen this before? And if so, how do you handle the drop in UI performance? Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15618647.html Sent from the Revolution - User mailing list archive at Nabble.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: UI performance and large data set in Table Object
I haven't tried storing data in a custom property as yet, but wouldn't that render the same lack of performance behavior, where putting the data into a stack of the UI? Mark Stuart masmit wrote: Mark, you might store the data from the database in a custom property of the table field, and only show as much data as will fit in the field at it's current size. You'd have to write your own scrolling routines to update the display, but it can be done. Best, Mark On 21 Feb 2008, at 19:04, mfstuart wrote: Hi All, I have a question about large data sets (thousands of lines) in a table object and the slowing down of the UI performance, especially on resizing the stack. My application interfaces to an MS SQL 2000 database via ODBC. No problem there. The SQL table I have has over half a million records in it, and this grows all the time. Potentially, the user could return all records, which would take a while to load them all. But I've created the interface to allow the user to return a smaller record set. This can be alot of records - 10, 30, 40, 5 thousand or more, or just a few hundred. It depends on how the user searches the database. Now when large record sets are returned from a search, the UI (user interface) slows down, especially when resizing the stack to see more records in the table object. When resizing with no records, the UI is performs normally with fast resizing. Q: has any one seen this before? And if so, how do you handle the drop in UI performance? Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/UI-performance- and-large-data-set-in-Table-Object-tp15618647p15618647.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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 -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15622814.html Sent from the Revolution - User mailing list archive at Nabble.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: UI performance and large data set in Table Object
Hi Richard, My day job is a software engineer, using another software development tool - eDeveloper. The product we build (CRM) is for enterprise sized companies, working on large amounts of SQL data. eDeveloper does not produce this UI lack of performance during runtime. This is how I noticed the difference in behavior. As far as Excel and Rev, both load the data into memory, which I would assume then declines the available resources, causing the issue at hand. Whereas the table object in our software is reading the data continually (??) from the database, caching when needed, so the lack of performance is never noticed. Mark Stuart Richard Gaskin wrote: Jan Schenkel wrote: Now when large record sets are returned from a search, the UI (user interface) slows down, especially when resizing the stack to see more records in the table object. When resizing with no records, the UI is performs normally with fast resizing. ... The problem is two-fold: it's a lot of data that has to go through some pipe before it arrives in Revolution, and Revolution then has to process and format a lot of that to determine what to actually display on screen, recalculate the size of the scrollbar, etc. FWIW, I did some subjective tests with scrolling large amounts of data in Rev vs. Word, Excel, and others. Rev outperformed them all, quite noticeably. So if it seems slow, try the same size data anywhere else. Sometimes a lot of data just takes a long time to redraw. Fortunately the user will likely resize a window infrequently. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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 -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15623495.html Sent from the Revolution - User mailing list archive at Nabble.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: UI performance and large data set in Table Object
Hi Jan, Where the reading of the SQL data and loading into a table object is not quite the issue here, never the less, it is an issue I haven't dealt with as yet in this application. But I will try your approach, copying your script to an archive for future pondering. This current issue is the resizing of the stack AFTER the data has loaded to the table object. When resizing, it is very slow and cumbersome and even produces delays to the resized stack dimensions. Mark Stuart Jan Schenkel wrote: --- mfstuart [EMAIL PROTECTED] wrote: Hi All, I have a question about large data sets (thousands of lines) in a table object and the slowing down of the UI performance, especially on resizing the stack. My application interfaces to an MS SQL 2000 database via ODBC. No problem there. The SQL table I have has over half a million records in it, and this grows all the time. Potentially, the user could return all records, which would take a while to load them all. But I've created the interface to allow the user to return a smaller record set. This can be alot of records - 10, 30, 40, 5 thousand or more, or just a few hundred. It depends on how the user searches the database. Now when large record sets are returned from a search, the UI (user interface) slows down, especially when resizing the stack to see more records in the table object. When resizing with no records, the UI is performs normally with fast resizing. Q: has any one seen this before? And if so, how do you handle the drop in UI performance? Thanx, Mark Stuart Hi Mark, The problem is two-fold: it's a lot of data that has to go through some pipe before it arrives in Revolution, and Revolution then has to process and format a lot of that to determine what to actually display on screen, recalculate the size of the scrollbar, etc. For a project where it was taking a lot of time before the user saw anything, I decided to take a different approach: rather than rely on a single call to revdb_querylist()/revDataFromQuery(), to use a result set cursor and a 'send in time' construct to fetch 20 records at a time. This approach allows the user interface to remain responsive, and the user can see the table filling up as more data comes in. It also means you can cancel the rest of the data download as soon as the user finds the record he wants, or decides to make a different selection. It looks something like this: ## global gConnectionID local sFetchMsgID, sCursorID, sColumnCount on mouseUp CancelFetchTimer put SELECT * FROM Customers into tQuery put revdb_query(gConnectionID, tQuery) into sCursorID if sCursorID is not a number then answer error sCursorID exit mouseUp end if put revDatabaseColumnCount(sCursorID) into sColumnCount put empty into field QueryResults send FetchNext20Records to me in 0 milliseconds put the result into sFetchMsgID end mouseUp on FetchNext20Records put false into tStopFlag repeat 20 times repeat with tColumn = 1 to sColumnCount put revDatabaseColumnNumbered(sCursorID, tColumn) \ tab after tNextPart end repeat put return into char -1 of tNextPart put revCurrentRecordIsLast(sCursorID) into tStopFlag if tStopFlag then delete char -1 of tNextPart exit repeat end if end repeat put tNextPart after field QueryResults if tStopFlag then put empty into sFetchMsgID else send FetchNext20Records to me in 100 milliseconds put the result into sFetchMsgID end if end FetchNext20Records on CancelFetchTimer if sFetchMsgID is not empty then cancel sFetchMsgID put empty into sFetchMsgID end if end CancelFetchTimer ## This is all off the top of my head, so beware of typos. Hope this helped, Jan Schenkel. Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ 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 -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15623100.html Sent from the Revolution - User mailing list archive at Nabble.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: UI performance and large data set in Table Object
Hi Richard, I did as you suggested and copied 8 columns of data (20,844 lines) into this new stack. Just a table object on the card - no scripts (except your 'on resizeStack' in the stack), no other objects. resize result: same slow behavior :( Any other thoughts on that? Mark Stuart Richard Gaskin wrote: mfstuart wrote: My day job is a software engineer, using another software development tool - eDeveloper. The product we build (CRM) is for enterprise sized companies, working on large amounts of SQL data. eDeveloper does not produce this UI lack of performance during runtime. This is how I noticed the difference in behavior. As far as Excel and Rev, both load the data into memory, which I would assume then declines the available resources, causing the issue at hand. Whereas the table object in our software is reading the data continually (??) from the database, caching when needed, so the lack of performance is never noticed. Rev fields are smartly buffered and tend to redraw faster than any other app on my hard drive. If you're seeing unusually slow redraws it may be related to Rev libraries rather than the engine itself. Try this: Make a new stack, add a field, turn on the field's hGrid and vGrid properties, and dump an equivalent amount of data into it. To handle the resize, use this rather than Rev's Geometry Manager: on resizeStack x,y set the rect of fld 1 to 20,20,x-20,y-20 end resizeStack If Rev is as efficient as I think it is, that test should show a pretty smooth update. If not we can look into it more deeply. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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 -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15625188.html Sent from the Revolution - User mailing list archive at Nabble.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: UI performance and large data set in Table Object
Hi Sarah, That sounds promising, especially reading prior threads on the same custom property concept. (A thought on this concept of copying data to a custom property - wouldn't it consume large amounts of the users computer memory/resources?) But this is a multi-user application, where many users will be searching, updating, deleting, and adding records into the SQL database thru this Rev app. It's not a read-only application. I think if it was, the custom property could be worth looking at. Mark Stuart Sarah Reichelt-2 wrote: On Fri, Feb 22, 2008 at 9:21 AM, mfstuart [EMAIL PROTECTED] wrote: I haven't tried storing data in a custom property as yet, but wouldn't that render the same lack of performance behavior, where putting the data into a stack of the UI? No, because the engine doesn't have to think about how to display your data, it's just storing whatever you put in there. I got involved in a project were data was being stored in fields on another card, so not even visible. The amount of data was getting quite large, about 40,000 lines in each field. When I changed it to storing the data in custom properties, the speed of adding new data points dropped from around 3 seconds to about 5 ticks! Cheers, Sarah ___ 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 -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15625210.html Sent from the Revolution - User mailing list archive at Nabble.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: UI performance and large data set in Table Object
Hi Richard, I'm at home now. looking at this... As I mentioned in my previous listing, 20, 30, or 5 lines can be found, depends on the users search criteria. My example was 20,844 lines). The record length for the table is 255 (counting up the SQL definition lengths for all columns) On the stack I'm only using 8 of the 13 columns from the SQL table. The record length for the Table Field then is 200. I also tried the Scrolling Field and compared it to the Table Field, using 20,844 lines - big difference, where the Scrolling Field won in it's performance of no degradation of stack resize. But I've never used this object before, because I lose the formatting of columnar presentation. If I use this object, is there a way to set it to columnar appearance? And isn't it when you check the table property for this object, it changes everything back to a Table Field? Thanx, Mark Stuart Richard Gaskin wrote: mfstuart wrote: I did as you suggested and copied 8 columns of data (20,844 lines) into this new stack. Just a table object on the card - no scripts (except your 'on resizeStack' in the stack), no other objects. resize result: same slow behavior :( Any other thoughts on that? How much data is in the field? (How many lines, and average length of the lines) -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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 -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15626387.html Sent from the Revolution - User mailing list archive at Nabble.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