From jmyepes at mac.com Mon Jun 1 09:13:26 2009 From: jmyepes at mac.com (Josep) Date: Mon, 1 Jun 2009 06:13:26 -0700 (PDT) Subject: Popup menu bug? Message-ID: <23814764.post@talk.nabble.com> Hi list, I found this... maybe I doing something wrong but... Create a popup menu with many options. In the popupmenu put this: on menuPick pItemName Global pOldItem put pItemName into fld lbl_search replace "!c" with "" in line lineOffset(pOldItem,button opt_search) of button opt_search put "!c" before line lineOffset(pItemName,button opt_search) of button opt_search put pItemName into pOldItem switch pItemName end switch end menuPick For check and uncheck the option selected by the user. Put in a button mouseup this: switch the selectedtext of button opt_search case "!cNIF" put "select * from clientes where CLI_NIF like " & quote & "%" & fld f_buscar & "%" & quote into tQuery break case "!cTel?fono" put "select * from clientes where CLI_Telefono like " & quote & "%" & fld f_buscar & "%" & quote into tQuery break case "!cNombre" put "select * from clientes where CLI_Nombre like " & quote & "%" & fld f_buscar & "%" & quote into tQuery break case "!cPoblaci?n" put "select * from clientes where CLI_Poblacion like " & quote & "%" & fld f_buscar & "%" & quote into tQuery break default end switch The "the selectedtext of button opt_search" ever have the first option. But if you don't perform any operation into menuPick the "the selectedtext of button opt_search" have the correct option. Why? Salut, Josep -- View this message in context: http://www.nabble.com/Popup-menu-bug--tp23814764p23814764.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Jun 1 12:22:15 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Jun 2009 11:22:15 -0500 Subject: Contracted menuBar question In-Reply-To: References: Message-ID: <4A240037.5050308@hyperactivesw.com> DunbarX at aol.com wrote: > But when I have the stack in front, its menu reduces to "File", "Edit" and > "Help", with all menuItems disabled. I never touched the menubar in this > stack. All other stacks show the full default menubar (or the ones I made for > them). > > For the stack in question, clicking anywhere in the rev toolbar brings back > the full suite of menus; I have to do this every time I want to do > somehing, for example, to save it. That's how any assigned menubar works. You can click on any IDE window to bring back the IDE menu. > > I show nothing in the menuBuilder. It is typical of a new stack. Could you have accidentally assigned one? To check, click the Edit button in the menu builder tool. See if anything is listed there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Mon Jun 1 14:10:17 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Jun 2009 14:10:17 -0400 Subject: DataGrid In-Reply-To: <4DA30C35-5866-4998-BD0B-235AECBBFC24@gmx.net> References: <4DA30C35-5866-4998-BD0B-235AECBBFC24@gmx.net> Message-ID: <7DC2898D-9E8B-48A6-AC01-61A159E5A6E0@mangomultimedia.com> On May 30, 2009, at 3:36 PM, Beat Cornaz wrote: > What a wonderful job, Trevor. It is truly amazing. > ... Hi Beat, Thanks. I'm glad you like it. > I have studied the manual and the list, so I hope my questions have > not been asked before : > > 1. Is it possible to print the content (including headers) of a > Datagrid like printing a field. I mean so that the layout of the > Datagrid is kept. This would be absolutely great. > Of course I could 'Print card', but the quality is much less than > printing text from a field. I am afraid it won't yet be possible, as > it is not mentioned in the manual or on the list. No, there is not special printing feature built into the data grid. I haven't printed data grid content myself so I don't have any suggestions in this area. > 2. How do I set the number of columns by script? Set the "columns" property. It is listed on the properties page. > 3. Is it possible to drag a complete line in a DataGrid to a new > position (custom hand sorting)? There is undocumented drag reordering functionality in the data grid. I haven't had time to finalize and test the APIs yet so it will remain undocumented until I do so. If you want to dig around in the code you can start by looking at the dgTrackDragDrop setProp. > 4. How can I lock one column for editing, leaving the others free to > be edited? dgProps["allow editing"] seems to be a global prop. You can customize the default column behavior to do this: How Do I Override the Default Behavior For Rendering Data to a Cell?: Just modify the behavior in the mouseDoubleUp so that cell editing only occurs if a particular column is clicked on. > 5. Is it possible for a piece of text to overflow into the next cell > if that cell is empty. If so, how do I do that? There is no built-in way of doing this. > 6. How do I 'open up' a cell by script for the user to immediately > type into it. I still have to put together docs on field editing but I think EditCell/EditCellOfIndex should do what you need. dispatch "EditCell" to group "DataGrid 1" with pColumnName, pLineNo dispatch "EditCellOfIndex" to group "DataGrid 1" with pColumnName, pIndex > I noticed that the Datagrid group stays 'grouped', also if I choose > the inverse of 'select grouped'. While ordinary groups yield their > parts, not so the Datagrid. > I am wondering if the only reason is, that the user will not mess up > the coordinates of the parts of the group, or is there another > deeper reason behind? In Rev 3.5 the selectGroupedControls property of a group determines whether or not you can select group controls. This is a very important feature for custom controls. Just set selectGroupedControls of the data grid group to false if you want to inspect it. > much thanks for this great piece of work, You are welcome. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lists at mangomultimedia.com Mon Jun 1 14:18:43 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Jun 2009 14:18:43 -0400 Subject: Data grid - Column Behaviour In-Reply-To: References: Message-ID: On May 31, 2009, at 10:43 PM, Nhan, Tran Thi Thanh wrote: > I have a data grid with style table. I want display information of > customers getting from database on data grid. I have already done but > had one trouble in display picture of customer. I don't want to use > style form, just table with custom column behaviour. Take a look at this lesson. You can customize the table column and add an image to the column's template. How Do I Customize A Table's Columns?: Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lists at mangomultimedia.com Mon Jun 1 14:19:13 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Jun 2009 14:19:13 -0400 Subject: Datagrid again In-Reply-To: <2DB9AF00-2EBB-4936-B270-8724AC796664@gmx.net> References: <2DB9AF00-2EBB-4936-B270-8724AC796664@gmx.net> Message-ID: <6E4C5F9E-AC16-436F-8339-31421869A9FB@mangomultimedia.com> On May 31, 2009, at 3:27 PM, Beat Cornaz wrote: > While still discovering more on the wonderfull Datagrids, also more > questions have come up. > > I have a table Datagrid which gets filled up with data of different > lengths, containing numbers. Now I want to make the bottom > line(meaning the last record) in bold. > It is the Totals all summed up. I started trying to set the first > fld (first column)in the bottom line to bold > > put the dgNumberOfRecords of grp "Datagrid 3" into maxNr > set the textStyle of fld maxNr of grp "Datagrid 3" to bold > ... It is important to remember that the data grid recycles controls in order to only use as many controls as necessary to fill the visible area. This means that if you have 1,000 records there won't be 1,000 controls. All drawing that you perform should occur in the FillInData/ LayoutControl handler. Just add something to the FillInData handler that checks if the line number of the current record is the total number of records. on FillInData pData if the dgLineNo of me is the dgNumberOfLines of the dgControl of me then set the textStyle of me to "bold" else set the textStyle of me to empty end if end FillInData > Another thing I noticed is, that if I leave 1 line blank (so only a > cr in my data) and then have the line with the Totals, I can't > scroll all the way down. I am unable to reach the last line. I > solved this by putting in a 'space' on the empty line and then it > works. I was wondering why this is necessary. I'm not familiar with this problem but if you put together a simple test stack and send it to me offlist I can take a look. > I don't seem to find the way to change the border color of the > datagrid. In the group inspector, there is a lot of colors to be > adjusted, but not the border color. I would file that one in the quality control center. You can just set the borderColor of group "DataGrid 1" to SOME_COLOR though. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From DunbarX at aol.com Mon Jun 1 15:04:33 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 1 Jun 2009 15:04:33 EDT Subject: Contracted menuBar question Message-ID: Jaques. I know the default menuBar (when you create a new one in the menubuilder) looks just like this. But I have no such menus assigned. The menu list field is empty in menubuilder. Craig. In a message dated 6/1/09 12:22:50 PM, jacque at hyperactivesw.com writes: > Could you have accidentally assigned one? To check, click the Edit > button in the menu builder tool. See if anything is listed there. > ************** We found the real ?Hotel California? and the ?Seinfeld? diner. What will you find? Explore WhereItsAt.com. (http://www.whereitsat.com/#/music/all-spots/355/47.796964/-66.374711/2/Youve-Found-Where-Its-At?ncid=eml cntnew00000007) From jacque at hyperactivesw.com Mon Jun 1 15:10:57 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Jun 2009 14:10:57 -0500 Subject: Contracted menuBar question In-Reply-To: References: Message-ID: <4A2427C1.20800@hyperactivesw.com> DunbarX at aol.com wrote: > Jaques. > > I know the default menuBar (when you create a new one in the menubuilder) > looks just like this. But I have no such menus assigned. The menu list field > is empty in menubuilder. Is there anything in the list that opens when you click the "Edit" button? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From DunbarX at aol.com Mon Jun 1 15:47:38 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 1 Jun 2009 15:47:38 EDT Subject: Contracted menuBar question Message-ID: Jacques. No. An empty field. Craig In a message dated 6/1/09 3:11:29 PM, jacque at hyperactivesw.com writes: > Is there anything in the list that opens when you click the "Edit" > button? > ************** We found the real ?Hotel California? and the ?Seinfeld? diner. What will you find? Explore WhereItsAt.com. (http://www.whereitsat.com/#/music/all-spots/355/47.796964/-66.374711/2/Youve-Found-Where-Its-At?ncid=eml cntnew00000007) From DunbarX at aol.com Mon Jun 1 15:46:26 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 1 Jun 2009 15:46:26 EDT Subject: Contracted menuBar question Message-ID: Jacques. No. Hmmm. Maybe. If I set the editMenus of my stack to "true", the full, ordinary menubar appears. if I set it to "false" the contracted one appears. These are never in the stack window, rather only in the menuBar. I have no groups in the stack, and no extra buttons; that is, no object that might be this menu "object". But I must have fooled around early on, because the first menuItem in the contracted "file" menu, which should be "New" in a newly assigned one, reads "asaas". This must have been something I stuck in just to see a change in the text. So it is me, after all. But how do I eliminate, (or a la HC, reset), the menubar, if I cannot see it in the menuBuilder, and cannot find any group or button it is "in". All menus are buttons, right? I have exactly two buttons in the stack, and I can see both of them. It is my poor understanding of Rev itself, not my scripting inadequacies, which I am continuously stuggling with. Craig In a message dated 6/1/09 12:22:50 PM, jacque at hyperactivesw.com writes: > Could you have accidentally assigned one? To check, click the Edit > button in the menu builder tool. See if anything is listed there. > ************** We found the real ?Hotel California? and the ?Seinfeld? diner. What will you find? Explore WhereItsAt.com. (http://www.whereitsat.com/#/music/all-spots/355/47.796964/-66.374711/2/Youve-Found-Wher e-Its-At?ncid=emlcntnew00000007) From jacque at hyperactivesw.com Mon Jun 1 17:25:31 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Jun 2009 16:25:31 -0500 Subject: Contracted menuBar question In-Reply-To: References: Message-ID: <4A24474B.3080304@hyperactivesw.com> DunbarX at aol.com wrote: > Jacques. > > No. Hmmm. Maybe. > > If I set the editMenus of my stack to "true", the full, ordinary menubar > appears. if I set it to "false" the contracted one appears. These are never in > the stack window, rather only in the menuBar. I have no groups in the > stack, and no extra buttons; that is, no object that might be this menu "object". > > > But I must have fooled around early on, because the first menuItem in the > contracted "file" menu, which should be "New" in a newly assigned one, reads > "asaas". This must have been something I stuck in just to see a change in > the text. So it is me, after all. > > But how do I eliminate, (or a la HC, reset), the menubar, if I cannot see > it in the menuBuilder, and cannot find any group or button it is "in". All > menus are buttons, right? I have exactly two buttons in the stack, and I can > see both of them. Weird. At any rate, when editmenus are true you should see the menubar group in the stack window, so not sure why you don't. It may be inherited from some other stack. But this may give some info when entered into the message box: put the menubar of this stack -- will tell you the group if there is one set the menubar of this stack to empty -- remove it If you do get a group reference to a menubar group, you can then delete the group. You may need to use the "long name of grp (the menubar of this stack)" if the menu is being inherited from somewhere else (any substacks in your mainstack?) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jun 1 17:52:47 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Jun 2009 16:52:47 -0500 Subject: Popup menu bug? In-Reply-To: <23814764.post@talk.nabble.com> References: <23814764.post@talk.nabble.com> Message-ID: <4A244DAF.7070307@hyperactivesw.com> Josep wrote: > Hi list, > > I found this... maybe I doing something wrong but... > > Create a popup menu with many options. > In the popupmenu put this: > > on menuPick pItemName > Global pOldItem > > put pItemName into fld lbl_search > replace "!c" with "" in line lineOffset(pOldItem,button opt_search) of > button opt_search > > put "!c" before line lineOffset(pItemName,button opt_search) of button > opt_search > put pItemName into pOldItem > > switch pItemName > > end switch > end menuPick > > For check and uncheck the option selected by the user. > > Put in a button mouseup this: > > switch the selectedtext of button opt_search > case "!cNIF" > put "select * from clientes where CLI_NIF like " & quote & "%" & > fld f_buscar & "%" & quote into tQuery > break > case "!cTel?fono" > put "select * from clientes where CLI_Telefono like " & quote & "%" > & fld f_buscar & "%" & quote into tQuery > break > case "!cNombre" > put "select * from clientes where CLI_Nombre like " & quote & "%" & > fld f_buscar & "%" & quote into tQuery > break > case "!cPoblaci?n" > put "select * from clientes where CLI_Poblacion like " & quote & > "%" & fld f_buscar & "%" & quote into tQuery > break > default > > end switch > > The "the selectedtext of button opt_search" ever have the first option. > But if you don't perform any operation into menuPick the "the selectedtext > of button opt_search" have the correct option. > > Why? The checkmark is interfering with the rest of the script. If you remove the checkmark instruction it works. You can work around the problem by setting the checkmark at the end of the handler, after you have processed the rest of the commands. Also, you don't need the global to store the last selection, instead just remove all checkmarks from the button at once. Also remember to always put all literal names into quotes. This should work: on menuPick pItemName put pItemName into fld "lbl_search" put the menuhistory of btn "opt_search" into tLine -- user choice replace "!c" with "" in button "opt_search" -- remove all checkmarks switch pItemName -- process the choice, using the item that was chosen case "NIF" -- do your DB stuff here break case "Tel?fono" -- DB stuff break case "Nombre" -- DB stuff break case "Poblaci?n" -- DB stuff break default end switch put "!c" before line tLine of btn "opt_search" -- add checkmark last end menuPick -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jmyepes at mac.com Mon Jun 1 18:29:17 2009 From: jmyepes at mac.com (Josep) Date: Mon, 1 Jun 2009 15:29:17 -0700 (PDT) Subject: Popup menu bug? In-Reply-To: <4A244DAF.7070307@hyperactivesw.com> References: <23814764.post@talk.nabble.com> <4A244DAF.7070307@hyperactivesw.com> Message-ID: <23823497.post@talk.nabble.com> Hello Jaqueline, But I need perform the DB stuff inside the search button. Maybe I can use a global for build the SQL and exec from the button... isn't? Salut, Josep -- View this message in context: http://www.nabble.com/Popup-menu-bug--tp23814764p23823497.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Mon Jun 1 18:53:42 2009 From: jmyepes at mac.com (Josep) Date: Mon, 1 Jun 2009 15:53:42 -0700 (PDT) Subject: OT: MySQL Open/Close question In-Reply-To: References: Message-ID: <23823739.post@talk.nabble.com> Hi Stephen, I have similar problem. I'm working remotely with mySQL and with this I solve the issue. In my case I perform long long inserts, the last one hold the connection for 2'5 hours without problem inserting 59000 records from the datagrid to one remote mysql. put "SET wait_timeout=1200" into VarSQL revExecuteSQL MyDB_ID, VarSQL 1200 or higher value, this are expressed as seconds. I got the connection for 20 minutes without any problem. But I prefer open and close when I need. In my case I don't need quickly queries, and only three levels of dependency between queries. Salut, Josep -- View this message in context: http://www.nabble.com/OT%3A-MySQL-Open-Close-question-tp23785007p23823739.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Mon Jun 1 19:51:56 2009 From: jmyepes at mac.com (Josep) Date: Mon, 1 Jun 2009 16:51:56 -0700 (PDT) Subject: Datagrid can't not find background Message-ID: <23824276.post@talk.nabble.com> Hi List, I'm trying to get the entire set of data of the datagrid with: put the dgData of group "dg_productos" into tData But only get the error "can't find background". This is a copy/paste stack and I remember that when I load it some message about the templates datagrid was show. Now I see that "Data grid Templates xxxxxxxxxx" not exist inside of the stack. Can be the problem for this? How replace de datagrid templates? Salut, Josep -- View this message in context: http://www.nabble.com/Datagrid-can%27t-not-find-background-tp23824276p23824276.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Jun 1 20:01:23 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Jun 2009 19:01:23 -0500 Subject: Popup menu bug? In-Reply-To: <23823497.post@talk.nabble.com> References: <23814764.post@talk.nabble.com> <4A244DAF.7070307@hyperactivesw.com> <23823497.post@talk.nabble.com> Message-ID: <4A246BD3.8010007@hyperactivesw.com> Josep wrote: > Hello Jaqueline, > > But I need perform the DB stuff inside the search button. Maybe I can use a > global for build the SQL and exec from the button... isn't? You could store the value of pItemName from the menupick handler, then use that in your search button to create the DB query. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wjm at wjm.org Mon Jun 1 23:20:39 2009 From: wjm at wjm.org (Bill Marriott) Date: Mon, 1 Jun 2009 23:20:39 -0400 Subject: Datagrid can't not find background References: <23824276.post@talk.nabble.com> Message-ID: 1) Open up the original stack containing the data grid template 2) Use the application browser to open up the templates substack 3) Use the property inspector to set the mainstack of it to your stack. "Josep" wrote in message news:23824276.post at talk.nabble.com... > > Hi List, > > I'm trying to get the entire set of data of the datagrid with: > > put the dgData of group "dg_productos" into tData > > But only get the error "can't find background". > This is a copy/paste stack and I remember that when I load it some message > about the templates datagrid was show. Now I see that "Data grid Templates > xxxxxxxxxx" not exist inside of the stack. > > Can be the problem for this? > How replace de datagrid templates? > > > Salut, > Josep > -- > View this message in context: > http://www.nabble.com/Datagrid-can%27t-not-find-background-tp23824276p23824276.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jmyepes at mac.com Tue Jun 2 04:02:48 2009 From: jmyepes at mac.com (Josep) Date: Tue, 2 Jun 2009 01:02:48 -0700 (PDT) Subject: Popup menu bug? In-Reply-To: <4A246BD3.8010007@hyperactivesw.com> References: <23814764.post@talk.nabble.com> <4A244DAF.7070307@hyperactivesw.com> <23823497.post@talk.nabble.com> <4A246BD3.8010007@hyperactivesw.com> Message-ID: <23827732.post@talk.nabble.com> Hello Jaqueline, As global isn't? I ask this to know what is better if I need pass values between handlers... Globals is the easy way but I don't know how affect the globals to the entire app if one abuse of this. Use custom prop is other way, but for this case I don't think that will be more correct, and pass through user handlers.. but I don't want execute now, so globals are the option. What you think? Salut, Josep -- View this message in context: http://www.nabble.com/Popup-menu-bug--tp23814764p23827732.html Sent from the Revolution - User mailing list archive at Nabble.com. From B.Cornaz at gmx.net Tue Jun 2 05:06:47 2009 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Tue, 2 Jun 2009 11:06:47 +0200 Subject: Datagrid again Message-ID: <2AF162C0-736B-4489-A0E9-48C4289856B3@gmx.net> >Shao Sean wrote : >I got bit by (I think) the same 'bug' as you.. >What you need to do is to set the textStyle of the all the other >elements to EMPTY (removes the bold).. thanks for your reply. I don't think that's the problem, as I clear out the datagrid and then fill the Datagrid (now all the records are in plain text) and then I want to make the last record in bold. Best, Beat From lists at mangomultimedia.com Tue Jun 2 09:10:16 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 2 Jun 2009 09:10:16 -0400 Subject: Datagrid can't not find background In-Reply-To: <23824276.post@talk.nabble.com> References: <23824276.post@talk.nabble.com> Message-ID: On Jun 1, 2009, at 7:51 PM, Josep wrote: > I'm trying to get the entire set of data of the datagrid with: > > put the dgData of group "dg_productos" into tData > > But only get the error "can't find background". It sounds like group "dg_productos" doesn't exist. Getting the dgData of a data grid won't generate that error unless the group you are targeting doesn't exist. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From DunbarX at aol.com Tue Jun 2 09:44:13 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 2 Jun 2009 09:44:13 EDT Subject: Contracted menuBar question Message-ID: Jacques. There was a menubar, and it even had a name; I certainly assigned that menu way back when. Why it did not appear in the menuBuilder I do not know, but I got rid of it. I had no substacks. So I learned a bit more (the docs list the "menubar" property, and even say that one can set it to empty), but am concerned that the menubuilder may not always reflect reality. I know I never do. Thank you. Craig In a message dated 6/1/09 5:26:15 PM, jacque at hyperactivesw.com writes: > put the menubar of this stack -- will tell you the group if there is one > set the menubar of this stack to empty -- remove it > > If you do get a group reference to a menubar group, you can then delete > the group. You may need to use the "long name of grp (the menubar of > this stack)" if the menu is being inherited from somewhere else (any > substacks in your mainstack?) > ************** We found the real ?Hotel California? and the ?Seinfeld? diner. What will you find? Explore WhereItsAt.com. (http://www.whereitsat.com/#/music/all-spots/355/47.796964/-66.374711/2/Youve-Found-Where-Its-At?ncid=eml cntnew00000007) From jmyepes at mac.com Tue Jun 2 10:07:25 2009 From: jmyepes at mac.com (Josep) Date: Tue, 2 Jun 2009 07:07:25 -0700 (PDT) Subject: Datagrid can't not find background In-Reply-To: References: <23824276.post@talk.nabble.com> Message-ID: <23833221.post@talk.nabble.com> Hi, Nop, dg_productos exist, I solved I think, creating other datagrid control, the datagrid templates now are a substack of the main stack. But now how can delete this new datagrid without deleting the datagrid templates? I'm a little confused about the datagrid templates... :( Salut, Josep -- View this message in context: http://www.nabble.com/Datagrid-can%27t-not-find-background-tp23824276p23833221.html Sent from the Revolution - User mailing list archive at Nabble.com. From gbrackett at luceatlux.com Tue Jun 2 10:25:46 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Tue, 02 Jun 2009 10:25:46 -0400 Subject: OT: Rev to Flash translation Message-ID: <7EA7011F-200B-424A-AAF2-7A4080DAC71C@luceatlux.com> How close is ActionScript (Flash) scripting to Rev scripting? I'm doing prototyping in Rev for a client that uses only Flash and Flex to publish. My prototypes so far are pretty simple, with no fancy graphic stuff, a little manipulation on-screen and mainly buttons to check answers, reveal hints, or move on. Is there enough commonality between the two systems to hope for a relatively easy translation? Or would a total Flash re-write be the only reasonable option? George From coiin at rcn.com Tue Jun 2 10:39:39 2009 From: coiin at rcn.com (Colin Holgate) Date: Tue, 2 Jun 2009 10:39:39 -0400 Subject: OT: Rev to Flash translation In-Reply-To: <7EA7011F-200B-424A-AAF2-7A4080DAC71C@luceatlux.com> References: <7EA7011F-200B-424A-AAF2-7A4080DAC71C@luceatlux.com> Message-ID: <717928A4-A16B-418B-96C8-FAED847AAB65@rcn.com> On Jun 2, 2009, at 10:25 AM, George C Brackett wrote: > Is there enough commonality between the two systems to hope for a > relatively easy translation? Or would a total Flash re-write be the > only reasonable option? They are as different as is possible, and it would be a rewrite. But any kind of prototype to base the real one on is still useful. A Flash prototype might still require a rewrite for the actual version. If you're curious about specific differences, give me an example few lines of 'Talk script, and I'll show you what the ActionScript 3 version would look like. From gbrackett at luceatlux.com Tue Jun 2 11:01:08 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Tue, 02 Jun 2009 11:01:08 -0400 Subject: OT: Rev to Flash translation In-Reply-To: <717928A4-A16B-418B-96C8-FAED847AAB65@rcn.com> References: <7EA7011F-200B-424A-AAF2-7A4080DAC71C@luceatlux.com> <717928A4-A16B-418B-96C8-FAED847AAB65@rcn.com> Message-ID: <6261BFF7-5636-416B-B904-4A4245BA29D5@luceatlux.com> Thanks, Colin. It's enough to know a rewrite would be required. Why might a Flash prototype require a rewrite to produce a finished product? That sounds nuts! George On Jun 2, 2009, at 10:39 AM, Colin Holgate wrote: On Jun 2, 2009, at 10:25 AM, George C Brackett wrote: > Is there enough commonality between the two systems to hope for a > relatively easy translation? Or would a total Flash re-write be the > only reasonable option? They are as different as is possible, and it would be a rewrite. But any kind of prototype to base the real one on is still useful. A Flash prototype might still require a rewrite for the actual version. If you're curious about specific differences, give me an example few lines of 'Talk script, and I'll show you what the ActionScript 3 version would look like. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From nealk3nc at gmail.com Tue Jun 2 11:17:14 2009 From: nealk3nc at gmail.com (Neal Campbell K3NC) Date: Tue, 2 Jun 2009 11:17:14 -0400 Subject: OT: Rev to Flash translation In-Reply-To: <6261BFF7-5636-416B-B904-4A4245BA29D5@luceatlux.com> References: <7EA7011F-200B-424A-AAF2-7A4080DAC71C@luceatlux.com> <717928A4-A16B-418B-96C8-FAED847AAB65@rcn.com> <6261BFF7-5636-416B-B904-4A4245BA29D5@luceatlux.com> Message-ID: Actionscript is more like C than anything else (well maybe Javascript). Tuning is a real requirement so thats possibly why Colin was referring to a possible rewrite from the prototype. Neal On Jun 2, 2009, at 11:01 AM, George C Brackett wrote: > Thanks, Colin. It's enough to know a rewrite would be required. > Why might a Flash prototype require a rewrite to produce a finished > product? That sounds nuts! > > George > > On Jun 2, 2009, at 10:39 AM, Colin Holgate wrote: > > > On Jun 2, 2009, at 10:25 AM, George C Brackett wrote: > >> Is there enough commonality between the two systems to hope for a >> relatively easy translation? Or would a total Flash re-write be >> the only reasonable option? > > They are as different as is possible, and it would be a rewrite. But > any kind of prototype to base the real one on is still useful. A > Flash prototype might still require a rewrite for the actual version. > > If you're curious about specific differences, give me an example few > lines of 'Talk script, and I'll show you what the ActionScript 3 > version would look like. > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Jun 2 11:18:58 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 2 Jun 2009 11:18:58 -0400 Subject: Datagrid can't not find background In-Reply-To: <23833221.post@talk.nabble.com> References: <23824276.post@talk.nabble.com> <23833221.post@talk.nabble.com> Message-ID: <5DBB7C64-A37D-4EC8-9640-B868249E187E@mangomultimedia.com> On Jun 2, 2009, at 10:07 AM, Josep wrote: > Nop, dg_productos exist, If that is the case then getting the dgData of the control wasn't the line generating that error. Getting the dgData doesn't look for any controls. It just returns a script local variable. > I solved I think, creating other datagrid control, > the datagrid templates now are a substack of the main stack. But now > how can > delete this new datagrid without deleting the datagrid templates? > I'm a little confused about the datagrid templates... :( This lesson talks a little bit about how the IDE is creating the stack/ card that holds the row template group (dgprops["row template"]): What Is This "Data Grid Templates" Stack That Appeared in My Project?: This lesson shows how to use a data grid template in more than one data grid: How Do I Use A Template In Multiple Data Grids?: Also note that when you delete a data grid in the IDE you will be asked if you want to delete the row template. Just say no if you want to keep the row template around and use it in another data grid. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From coiin at rcn.com Tue Jun 2 11:44:18 2009 From: coiin at rcn.com (Colin Holgate) Date: Tue, 2 Jun 2009 11:44:18 -0400 Subject: OT: Rev to Flash translation In-Reply-To: References: <7EA7011F-200B-424A-AAF2-7A4080DAC71C@luceatlux.com> <717928A4-A16B-418B-96C8-FAED847AAB65@rcn.com> <6261BFF7-5636-416B-B904-4A4245BA29D5@luceatlux.com> Message-ID: <5F7C6B73-FCBE-4A85-961D-D94DAACA53C0@rcn.com> On Jun 2, 2009, at 11:17 AM, Neal Campbell K3NC wrote: > Tuning is a real requirement so thats possibly why Colin was > referring to a possible rewrite from the prototype. That's part of it. Also, when doing a prototype you tend to have a lot of code in there that isn't used in the end, and you do things in the fastest way possible to show of a feature. To do the full blown version of a feature might require a bit more structure than was in the prototype code. Someone doing the real version might only look at the front end of what the prototype does, and then would reproduce it in a structured way. That's why a prototype done in Rev might still be of value. From toolbook at kestner.de Tue Jun 2 13:01:05 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 2 Jun 2009 19:01:05 +0200 Subject: experience with VBScript on Vista needed Message-ID: Hello, I have an updater in my app, which makes under Vista the file update with VBScript because of the UAC. My updater works in most cases fine. But I have a certain number of Vista customers, where It doesn't work at all and I am not yet behind, what is going on there. The updater just runs through without any error message. The nasty thing is I don't get any error back from VBScript to my app, so that my app states that the update was made successfully, though it wasn't. My questions are not going to my code, but to some principles with calling the shell wscript.exe 1. I tried to catch any error from the get shell() command with "the result", "the syserror", "try -catch", but got never any error back from the shell, even if I have a wrong syntax in the VB, where the VB fails, the rev doesn't gets noticed. Which is the correct way to catch an error from a VBScript on the shell? 2. Do I have to return explicity any error from the script back to rev, or will they passed to rev anyway? If yes, how and where? 4. Are there any experiences of windows installations without the scripting host? Perhaps the Home edition? If yes, how to check for that? 5. If every Vista version should have the windows scripting host, can it somehow be deactivated, so that my updater runs without result? If yes, how? 6. If the user clicks "cancel" while Vista is asking to allow this process, how can I get aware of this "cancel" in my rev app? Is there a chance to catch a "cancel" down from Vista level in my rev app? 7. Are you aware of any other VBScript gotchas? Thanks for sharing any experience Tiemo From jerry.daniels at me.com Tue Jun 2 13:01:51 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 02 Jun 2009 12:01:51 -0500 Subject: [ANN] Rev Mentor Top Ten - video, charts, analyzer stack Message-ID: <3C272DC4-952A-4D76-ABBF-8C589B786FFE@me.com> Revolutionistostados, Here, my crunchy friends, are links to TWO Rev Mentor Top Tens: http://www.revmentor.com/revolution-top-ten-video-charts-and-analyzer-6 http://www.revmentor.com/revolution-top-ten-video-charts-and-analyzer-7 These links represent several minutes of very hard work spent analyzing the emails you have posted to this list over two separate one week periods in the recent past. When you click on either above, you will have access to the following: 1. Five charts showing the top ten topics, authors, terms 2. Short video commentary on the posts and some of the statistics 3. The stack I use to do the analysis. Some people use this to read the week's postings to the list. Best, Jerry Daniels Host of Rev Mentor http://www.revmentor.com From jim at visitrieve.com Tue Jun 2 14:03:00 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 2 Jun 2009 08:03:00 -1000 Subject: experience with VBScript on Vista needed In-Reply-To: References: Message-ID: <00a001c9e3ac$5e980170$1bc80450$@com> Hi Tiemo, > I have an updater in my app, which makes under Vista the file update > with > VBScript because of the UAC. My updater works in most cases fine. But I > have > a certain number of Vista customers, where It doesn't work at all and I > am > not yet behind, what is going on there. The updater just runs through > without any error message. The nasty thing is I don't get any error > back > from VBScript to my app, so that my app states that the update was made > successfully, though it wasn't. You don't have to use VBScript. When you first install your app, have your installer set the permissions on your app's root directory under program files to all users. After this, you can update it from Rev. > My questions are not going to my code, but to some principles with > calling > the shell wscript.exe > > 1. I tried to catch any error from the get shell() command with "the > result", "the syserror", "try -catch", but got never any error back > from the > shell, even if I have a wrong syntax in the VB, where the VB fails, the > rev > doesn't gets noticed. Which is the correct way to catch an error from a > VBScript on the shell? Put shell(...) into tResult. Then parse the tResult for error messages. Aloha from Hawaii, Jim Bufalini From kray at sonsothunder.com Tue Jun 2 17:52:17 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 02 Jun 2009 16:52:17 -0500 Subject: experience with VBScript on Vista needed In-Reply-To: Message-ID: Hey, Tiemo... > My questions are not going to my code, but to some principles with calling > the shell wscript.exe Are you using Rev 2.9 or later? If so, you don't need to call the shell() command for VBScript; you can "do