Re: Strange Datagrid Column Problem
Can you file this as a bug, and add the stack? I think it is related to a reference resolution bug with behaviours that causes a few problems when using send. I'm interested to track this bug down. On Thursday, November 18, 2010, Peter Haworth p...@mollysrevenge.com wrote: That worked! Are you familiar with the banana slug, native to the Santa Cruz area of California? Pete Haworth On Nov 18, 2010, at 2:54 PM, zryip theSlug wrote: Pete, Try: set the hilite of btn 1 of me to handleBoolean(pData) ___ 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
Re: Strange Datagrid Column Problem
On Fri, Nov 19, 2010 at 12:42 AM, Peter Haworth p...@mollysrevenge.com wrote: Pete, That worked! Odd, should work in the both cases. Are you familiar with the banana slug, native to the Santa Cruz area of California? A few. It is endemic (native) of the area. It loves forest. Its color allows it to hide from predators in the leaves. It exists also a mascott, no? Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Strange Datagrid Column Problem
On Fri, Nov 19, 2010 at 9:54 AM, David Bovill da...@vaudevillecourt.tv wrote: Can you file this as a bug, and add the stack? I think it is related to a reference resolution bug with behaviours that causes a few problems when using send. I'm interested to track this bug down. For columns, me should refer to a group named with the name of the column + the number of the lines (or the index, not remember exactly) btn 1 of me or btn 1 of the long id of me should refer to a button in a group name or in group id, not to a field. Maybe interesting to study that closer. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Strange Datagrid Column Problem
On 19 November 2010 11:47, zryip theSlug zryip.thes...@gmail.com wrote: On Fri, Nov 19, 2010 at 9:54 AM, David Bovill da...@vaudevillecourt.tv wrote: Can you file this as a bug, and add the stack? I think it is related to a reference resolution bug with behaviours that causes a few problems when using send. I'm interested to track this bug down. For columns, me should refer to a group named with the name of the column + the number of the lines (or the index, not remember exactly) btn 1 of me or btn 1 of the long id of me should refer to a button in a group name or in group id, not to a field. Maybe interesting to study that closer. Yes - I've seen this when you refer to me using strange syntax like that. That's not me personally - you're welcome to refer to me in whatever syntax you like, but the behavior. Not my behavior... anyway. There does seem to be some downside of an English like syntax. The behavior I get problems with is that in certain circumstances the long id of x does not convert a valid reference to the long id when called from within a behavior, which is surely bad behavior, for which I apologise. ___ 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: Strange Datagrid Column Problem
My favorite personal syntax is put 'goodFood' into the large mouth of me Another favorite: get SomeOneElseToCleanUp(afterwards) Bob On Nov 19, 2010, at 4:13 AM, David Bovill wrote: Yes - I've seen this when you refer to me using strange syntax like that. That's not me personally - you're welcome to refer to me in whatever syntax you like, but the behavior. Not my behavior... anyway. There does seem to be some downside of an English like syntax. ___ 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
Strange Datagrid Column Problem
I've customised a datagrid column to contain a checkbox. Right after the customisation, the checkbox shows up in the column just fine. I then added the following line of code in the FillInData handler for the column: set the hilite of button 1 of the long ID of me to handleBoolean(pData) .. and I get the message an error has occurred in behavior for the column template: Object: can't set this property. I've used this same code in other datagrids to handle checking and unchecking check boxes and it works fine. So I stuck an answer information right before that line of code to display the name of the control just to make sure I was looking at the correct control: answer information the name of button 1 of the long ID of me The display shows the correct name for the check box but it says it is a field, not a checkbox so no wonder it can't set the hilite property! Any ideas as to how my checkbox got to be a field? And even more puzzling, how does the display of the name of a button show it to be a field? Pete Haworth ___ 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: Strange Datagrid Column Problem
On Thu, Nov 18, 2010 at 11:19 PM, Peter Haworth p...@mollysrevenge.com wrote: I've customised a datagrid column to contain a checkbox. Right after the customisation, the checkbox shows up in the column just fine. I then added the following line of code in the FillInData handler for the column: set the hilite of button 1 of the long ID of me to handleBoolean(pData) .. and I get the message an error has occurred in behavior for the column template: Object: can't set this property. I've used this same code in other datagrids to handle checking and unchecking check boxes and it works fine. So I stuck an answer information right before that line of code to display the name of the control just to make sure I was looking at the correct control: answer information the name of button 1 of the long ID of me The display shows the correct name for the check box but it says it is a field, not a checkbox so no wonder it can't set the hilite property! Any ideas as to how my checkbox got to be a field? And even more puzzling, how does the display of the name of a button show it to be a field? Pete, Try: set the hilite of btn 1 of me to handleBoolean(pData) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Strange Datagrid Column Problem
That worked! Are you familiar with the banana slug, native to the Santa Cruz area of California? Pete Haworth On Nov 18, 2010, at 2:54 PM, zryip theSlug wrote: Pete, Try: set the hilite of btn 1 of me to handleBoolean(pData) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid error when set to empty
On Thu, Nov 4, 2010 at 3:38 PM, JosepM jmye...@mac.com wrote: I have a strange issue with a datagrid that set the dgdata to empty. In IDE mode the app run fine but from the standalone I get this error. The first thing to check is whether you have password protected your data grid templates stack. If it is password protected then the row/column templates cannot be copied. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid error when set to empty
Hi, The stack was password protected but it worked properly, then added a new grid and that's when the problems have started. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-error-when-set-to-empty-tp3027651p3028745.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: Datagrid error when set to empty
On Fri, Nov 5, 2010 at 11:03 AM, JosepM jmye...@mac.com wrote: The stack was password protected but it worked properly, then added a new grid and that's when the problems have started. Are you unlocking the stack when running as a standalone by setting the passkey? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid error when set to empty
On Fri, Nov 5, 2010 at 4:03 PM, JosepM jmye...@mac.com wrote: Hi, The stack was password protected but it worked properly, then added a new grid and that's when the problems have started. Salut, Josep -- Josep, That is something specified in the datagrid documentation: you will get errors if the template stack is protected. And I have experimented this before I read this warning (always read the docs ;)) The datagrid works well, you password protected the stack, restart the stack and then you got these kind of errors. If you want password protecting the code in the template stack, a possible way is to place the script of each column outside the datagrid template and change the parentscript reference for each column you have a behavior. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid error when set to empty
I'm using GLX framework, don't do it automatically? At least until now has worked fine. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-error-when-set-to-empty-tp3027651p3029019.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: Datagrid error when set to empty
On Fri, Nov 5, 2010 at 1:06 PM, JosepM jmye...@mac.com wrote: I'm using GLX framework, don't do it automatically? At least until now has worked fine. The framework does not unlock stacks automatically. See this lesson: http://revolution.screenstepslive.com/spaces/revolution/manuals/glxapp/lessons/5554-If-My-Application-Is-Password-Protected-How-Do-I-Unlock-Certain-Stacks-At-Runtime- If you have already added the template stack to the list of stacks that get unlocked then we can look elsewhere. Password protected stacks is the first thing I check if something works in the IDE but not in the IDE though. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Datagrid error when set to empty
Hi, I have a strange issue with a datagrid that set the dgdata to empty. In IDE mode the app run fine but from the standalone I get this error. Any idea? Type: Object (property is not an integer) Object name: dg_compras Line:(row 0 col 0) Hint: -8 Type: Chunk (can't set property) Object name: dg_compras Line:(row 4128 col 20) Hint: Type: Object (can't set object property) Object name: dg_compras Line:(row 4128 col 5) Hint: -8 Type: set (can't set property) Object name: dg_compras Line:(row 4128 col 1) Hint: -8 Type: Handler (error in statement) Object name: dg_compras Line:(row 4128 col 1) Hint: _table.CreateDefaultHeaderGroup Type: Objec (Name:) Object name: dg_compras Line:(row 0 col 0) Hint: button id 1005 of group id 1004 of card id 1002 of stack /Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev Type: Handler (can't find handler) Object name: dg_compras Line:(row 4049 col 1) Hint: Type: if-then (error in statement) Object name: dg_compras Line:(row 4048 col 1) Hint: Type: if-then (error in statement) Object name: dg_compras Line:(row 4047 col 1) Hint: Type: repeat (error in statement) Object name: dg_compras Line:(row 4045 col 1) Hint: Type: Handler (error in statement) Object name: dg_compras Line:(row 4045 col 1) Hint: _table.CreateHeaders Type: Objec (Name:) Object name: dg_compras Line:(row 0 col 0) Hint: button id 1005 of group id 1004 of card id 1002 of stack /Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev Type: Handler (can't find handler) Object name: dg_compras Line:(row 3951 col 1) Hint: Type: Handler (error in statement) Object name: dg_compras Line:(row 3951 col 1) Hint: _table.CreateColumns Type: Objec (Name:) Object name: dg_compras Line:(row 0 col 0) Hint: button id 1005 of group id 1004 of card id 1002 of stack /Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev Type: Handler (can't find handler) Object name: dg_compras Line:(row 151 col 1) Hint: Type: if-then (error in statement) Object name: dg_compras Line:(row 150 col 1) Hint: Type: if-then (error in statement) Object name: dg_compras Line:(row 113 col 1) Hint: Type: Handler (error in statement) Object name: dg_compras Line:(row 113 col 1) Hint: _Initialize Type: Objec (Name:) Object name: dg_compras Line:(row 0 col 0) Hint: button id 1005 of group id 1004 of card id 1002 of stack /Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev Type: Handler (can't find handler) Object name: dg_compras Line:(row 4512 col 18) Hint: Type: if-then (error in statement) Object name: dg_compras Line:(row 4512 col 1) Hint: Type: Handler (error in statement) Object name: dg_compras Line:(row 4512 col 1) Hint: dgData Type: Objec (Name:) Object name: dg_compras Line:(row 0 col 0) Hint: button id 1005 of group id 1004 of card id 1002 of stack /Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev Type: Chunk (can't set property) Object name: dg_compras Line:(row 1362 col 19) Hint: Type: Object (can't set object property) Object name: dg_compras Line:(row 1362 col 4) Hint: Type: set (can't set property) Object name: dg_compras Line:(row 1362 col 1) Hint: Type: Handler (error in statement) Object name: dg_compras Line:(row 1362 col 1) Hint: uiNewProveedor Type: Objec (Name:) Object name: dg_compras Line:(row 0 col 0) Hint: stack /Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/s_main_productos_v1.rev Type: Handler (can't find handler) Object name: dg_compras Line:(row 2 col 1) Hint: uiNewProveedor -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-error-when-set-to-empty-tp3027651p3027651.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: Which messages are sent to a datagrid on opencard?
On Sun, Oct 31, 2010 at 6:16 AM, Malte Brill revolut...@derbrill.de wrote: I have a rather complex stack that needs quite a few datagrids on a card. Now when said card is opened it is noticeably laggy. I guess this is due to the messages that are sent to the datagrids on (pre)opencard. PreopenControl or something the like? If I remove the dgs, or lock messages before going to the card, everything is speedy. Now I wonder: Can I lock messages before going to said card and avoid the lagging and still being able to populate may data? Malte, zryip is correct in that the Data Grid will be initialized later on if preopenControl is never received. If you want to see exactly what is going on check out the private command _Initialize in the script of btn Data Grid of stack revdatagridlibrary. Given that persistent data is set to false and you don't have any data in the grids then I think the most time intensive operation would be when the table columns are created in the call to _table.CreateColumns. You could experiment with commenting out some of the code in _Initialize to determine where the bottle neck is. If you can locate it then perhaps we can determine how to address the speed issue. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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
Which messages are sent to a datagrid on opencard?
Hi, I have a rather complex stack that needs quite a few datagrids on a card. Now when said card is opened it is noticeably laggy. I guess this is due to the messages that are sent to the datagrids on (pre)opencard. PreopenControl or something the like? If I remove the dgs, or lock messages before going to the card, everything is speedy. Now I wonder: Can I lock messages before going to said card and avoid the lagging and still being able to populate may data? Cheers, Malte___ 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: Which messages are sent to a datagrid on opencard?
On Sun, Oct 31, 2010 at 11:16 AM, Malte Brill revolut...@derbrill.de wrote: Hi, I have a rather complex stack that needs quite a few datagrids on a card. Now when said card is opened it is noticeably laggy. I guess this is due to the messages that are sent to the datagrids on (pre)opencard. PreopenControl or something the like? If I remove the dgs, or lock messages before going to the card, everything is speedy. Now I wonder: Can I lock messages before going to said card and avoid the lagging and still being able to populate may data? Hi Malte, Yes, dgs are initialized by the preOpenControl message. Do you have: - persistent data? - cache controls activated? - sorting or custom sorting? How many rows contain the dgs? Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Re: Which messages are sent to a datagrid on opencard?
Hi Zryip, the dgs have no persistent data. they are populated at a later point. Neither cached controls Some of them have custom sorting however, that should only happen after the data has been populated Data is a handful of hundret lines at max. Most of them are in the 100 lines range. I tried locking mesages now, before entering the card and that appears to save me 2 seconds of waiting, without breaking anything. I just wonder if I can really risk it :) Cheers, Malte___ 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: Re: Which messages are sent to a datagrid on opencard?
On Sun, Oct 31, 2010 at 12:56 PM, Malte Brill revolut...@derbrill.de wrote: Malte, the dgs have no persistent data. they are populated at a later point. Ok, the persistent data of your datagrids should be set to false. Neither cached controls Some of them have custom sorting however, that should only happen after the data has been populated Data is a handful of hundret lines at max. Most of them are in the 100 lines range. Because the dgs are empty when you first open the card, we can assume that the lag is not due to the amount of rows. I tried locking mesages now, before entering the card and that appears to save me 2 seconds of waiting, without breaking anything. I just wonder if I can really risk it :) Assuming that your dgs are filled after you unlock the messages, you have no risk. Because the first time you open the card by blocking the messages, the dgs are not initialized, but as soon as you fill the data in the dgs, the initialization stuff is executed (this stuff is executed by setting the dgData prop of dgs which have not been initialized previously) Anyway, you should not have this kind of lag with initialization of empty dgs (more than 2 seconds??). Assuming the dgs are empty, that is not something located in the row behavior (the dgs are empty so they not require to use the layout or fillindata messages) or with the number of controls in a template: nothing is drawn. Maybe something in the code of a dg group or assuming you have custom sorting, in a header behavior. If you want, I could have a look to your dgs. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid - chopped off last record
Another one solved (although the cause remains a mystery). I rebuilt the datagrid and the problem went away. Terry... On 18/10/10 2:44 PM, Terry Judd t...@unimelb.edu.au wrote: So, my form datagrid has the 'fixed control height' setting unchecked and it's all displaying as expected, except for the last record, which is being only partially displayed, even when the scrollbar is scrolled right to the bottom. The proportion of the last record being displayed also changes according to the height of the datagrid. How do I get the entire last record to be displayed? Terry... ___ 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 | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Datagrid update problem
Hi there datagrid gurus I¹ve got a datagrid form with variable control heights that doesn¹t seem to want to draw the contents when I update it. The controls appear to be populated but I don¹t see anything (no matter how long I wait) until I attempt to scroll the apparently empty datagrid. When I do this, the first few records show up OK but the scrollbar is disabled and I can¹t access the remaining records. Each record consists of up to 6 fields that are stacked on top of each other with their heights being determined and set in the layout control handler. Any ideas on what the problem might be. Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid update problem
OK - solved my own problem. I was trying to populate a non-existent field in the template that was only being used to display content in a small number of records. Terry... On 18/10/10 12:25 PM, Terry Judd t...@unimelb.edu.au wrote: Hi there datagrid gurus I¹ve got a datagrid form with variable control heights that doesn¹t seem to want to draw the contents when I update it. The controls appear to be populated but I don¹t see anything (no matter how long I wait) until I attempt to scroll the apparently empty datagrid. When I do this, the first few records show up OK but the scrollbar is disabled and I can¹t access the remaining records. Each record consists of up to 6 fields that are stacked on top of each other with their heights being determined and set in the layout control handler. Any ideas on what the problem might be. Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ 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 | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Datagrid - chopped off last record
So, my form datagrid has the 'fixed control height' setting unchecked and it's all displaying as expected, except for the last record, which is being only partially displayed, even when the scrollbar is scrolled right to the bottom. The proportion of the last record being displayed also changes according to the height of the datagrid. How do I get the entire last record to be displayed? Terry... ___ 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: Drag drop reordering of a DataGrid form
On Mon, Oct 4, 2010 at 3:40 PM, Trevor DeVore li...@mangomultimedia.com wrote: On Sat, Oct 2, 2010 at 9:32 AM, zryip theSlug zryip.thes...@gmail.comwrote: Just to clarify, this is a change in the datagrid library itself not in the LiveCode engine. I have tried this by using the revdatagridlibrary stack from the LiveCode 4.5 into my version of Revolution 4.5 dp2 and now I have to set the dragAction to make the reorder perform. In the dgDragMove handler update the code that sets the dragAction to this: ## Make sure data grid control will accept drop if the dragSource contains the long ID of me and (the mouseControl is not empty and the long id of the mouseControl contains the long ID of me) then set the dragAction to move end if Thanks Trevor 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid option menu initialisation
On Mon, Oct 4, 2010 at 1:18 PM, Peter Haworth p...@mollysrevenge.comwrote: I have a datagrid table with two option menu columns in it. It's OK to initialise the first one per your reply but the contents of the second one need to be set differently depending on the currently selected value in the first option menu. Any recommendations as to how to do that? You will need to populate the menu in the FillInData message in this case. Just fetch the value of the column that dictates the values and then populate. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7313-How-Do-I-Get-Data-Associated-With-a-Row-or-Column- -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Default Column Behavior
On Mon, Oct 4, 2010 at 3:44 PM, Peter Haworth p...@mollysrevenge.comwrote: I guess I'm not understanding this correctly. Here's what I did, assuming the column with the option menu in it is named OptionColumn On the Datagrid Templates card, I see a button named OptionColumn Behavior. I deleted all the lines from the script for that button then hit Apply. Then I opened the card containing my datagrid but still my default column script is only executed for columns that have not been customised. Deleting the script doesn't change the fact that the button is assigned as the behavior for the OptionColumn column. You need to set the behavior property of the OptionColumn group on you template card to empty. Otherwise you have a column template with no script at all (because you deleted the script in OptionColumn Behavior). -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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: Drag drop reordering of a DataGrid form
On Mon, Oct 4, 2010 at 1:15 PM, Peter Haworth p...@mollysrevenge.comwrote: Maybe I'm misunderstanding something but I don't see any code for handling drag/drop in the default datagrid behavior script I got when I installed LiveCode 4.5 The code is in the data grid behavior script: edit script of btn Data Grid of stack revDataGridLibrary Our good friend the Slug posted some links to some example stacks I've made showing how to use it. The code snippet I posted for Monte and Monsieur Le Slug was to fix an issue with setting the dragAction. The code snippet goes in the Data Grid button script. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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: Drag drop reordering of a DataGrid form
On Mon, Oct 4, 2010 at 1:15 PM, Peter Haworth p...@mollysrevenge.comwrote: Maybe I'm misunderstanding something but I don't see any code for handling drag/drop in the default datagrid behavior script I got when I installed LiveCode 4.5 The code is in the data grid behavior script: edit script of btn Data Grid of stack revDataGridLibrary Our good friend the Slug posted some links to some example stacks I've made showing how to use it. The code snippet I posted for Monte and Monsieur Le Slug was to fix an issue with setting the dragAction. The code snippet goes in the Data Grid button script. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Default Column Behavior
OK, got it, misunderstood what to clear out. All works fine now. Pete Haworth On Oct 5, 2010, at 9:22 AM, use-revolution-requ...@lists.runrev.com wrote: Message: 20 Date: Tue, 5 Oct 2010 08:37:07 -0400 From: Trevor DeVore li...@mangomultimedia.com Subject: Re: Datagrid Default Column Behavior To: How to use Revolution use-revolution@lists.runrev.com Message-ID: aanlktimjlfqoz6eod_lbkxpqnjes2iz0c4gxrj5gu...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Mon, Oct 4, 2010 at 3:44 PM, Peter Haworth p...@mollysrevenge.comwrote: I guess I'm not understanding this correctly. Here's what I did, assuming the column with the option menu in it is named OptionColumn On the Datagrid Templates card, I see a button named OptionColumn Behavior. I deleted all the lines from the script for that button then hit Apply. Then I opened the card containing my datagrid but still my default column script is only executed for columns that have not been customised. Deleting the script doesn't change the fact that the button is assigned as the behavior for the OptionColumn column. You need to set the behavior property of the OptionColumn group on you template card to empty. Otherwise you have a column template with no script at all (because you deleted the script in OptionColumn Behavior). -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Default Column Behavior
On Sun, Oct 3, 2010 at 9:06 PM, Peter Haworth p...@mollysrevenge.comwrote: What is the correct way to set the default column behavior of a datagrid so that the script is entered for columns which have been customised to contain option menus? I have set the default column behavior property for the datagrid but suing debug shows that the script is only executed for columns that hve not been customised in some way. When you create a custom column the behavior script of the column template is assigned to the behavior that is created alongside the column template. The default column behavior only applies to column templates that do not have a behavior assigned. Just set the behavior of your new column template to empty and then it will inherit the default behavior. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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: LiveCode Datagrid Questions
On Sat, Oct 2, 2010 at 2:29 AM, Peter Haworth p...@mollysrevenge.comwrote: I'm having a number of issues with datagrids created in LiveCode 4.5. Datagrids created by Revolution 4.0 still work fine. I am unable to create custom column behaviors for any columns using the recommended method. I click the plus sign for the column, the card with the row template is displayed, I select the row template group but the Edit Group button in the toolbar or on the Object menu is greyed out and doesn't function. If I select the card containing the template for the datagrid, then select the Row Template group, the Edit Group command is available to me. Hi Peter, Are you sure you are selecting the row template group? By chance do you have Select Grouped active in the toolbar? If it is then you are selecting one of the controls in the group and not the group itself. I have a default column behavior script which I use for all my datagrids. Those created under 4.0 correctly execute the various handlers in that script but any created under 4.5 never execute any of the handlers in that script (the default column behavior is set to the correct button). Hard to say without knowing more details. What troubleshooting steps have you taken thus far? I see two new handlers in the default column behavior supplied with LiveCode - PreFillinData and ResetData. What are some uses for these handlers? These two messages are for advanced use cases where you need to know that data is being unloaded from a row/column. For example, let's say you dynamically create player objects in rows of a data grid when the user clicks a play button to sample a song. If the user then scrolls that row out of view you might want to do something with the player object you created dynamically. PreFillinData would allow you to do that. I also saw a recent post to this list regarding some new built in drag and drop reordering handlers in the default script - they don't appear in my default script. There is no code that goes in the default script. I haven't documented the drag/drop routines officially but I have posted examples of using it to the list. I have yet to go through the routines and ensure that I'm completely happy with the API so they remain undocumented until I do so. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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: Drag drop reordering of a DataGrid form
On Sat, Oct 2, 2010 at 9:32 AM, zryip theSlug zryip.thes...@gmail.comwrote: Just to clarify, this is a change in the datagrid library itself not in the LiveCode engine. I have tried this by using the revdatagridlibrary stack from the LiveCode 4.5 into my version of Revolution 4.5 dp2 and now I have to set the dragAction to make the reorder perform. In the dgDragMove handler update the code that sets the dragAction to this: ## Make sure data grid control will accept drop if the dragSource contains the long ID of me and (the mouseControl is not empty and the long id of the mouseControl contains the long ID of me) then set the dragAction to move end if -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid option menu initialisation
On Sat, Oct 2, 2010 at 12:22 PM, Peter Haworth p...@mollysrevenge.comwrote: I have defined an option menu in a datagrid column whose contents are created by reading data from an SQLite database - the contents will be the same for each instance of the option menu and should be loaded when the card containing the datagrid is opened. Where should I put the code to create the option menu contents? In the card that contains the data grid :-) In the preopencard or openCard message query the database, update the menu button text in the data grid template and then load the data grid. Since the template has the updated menu text all instances of your column will contain the updated menu text. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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: Drag drop reordering of a DataGrid form
Maybe I'm misunderstanding something but I don't see any code for handling drag/drop in the default datagrid behavior script I got when I installed LiveCode 4.5 Pete Haworth On Oct 4, 2010, at 10:00 AM, use-revolution-requ...@lists.runrev.com wrote: Message: 3 Date: Mon, 4 Oct 2010 09:40:47 -0400 From: Trevor DeVore li...@mangomultimedia.com Subject: Re: Drag drop reordering of a DataGrid form To: How to use Revolution use-revolution@lists.runrev.com Message-ID: aanlktiknk=kzhhcl5bbtpdecy1dpaexe37tww=r7q...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Sat, Oct 2, 2010 at 9:32 AM, zryip theSlug zryip.thes...@gmail.comwrote: Just to clarify, this is a change in the datagrid library itself not in the LiveCode engine. I have tried this by using the revdatagridlibrary stack from the LiveCode 4.5 into my version of Revolution 4.5 dp2 and now I have to set the dragAction to make the reorder perform. In the dgDragMove handler update the code that sets the dragAction to this: ## Make sure data grid control will accept drop if the dragSource contains the long ID of me and (the mouseControl is not empty and the long id of the mouseControl contains the long ID of me) then set the dragAction to move end if -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid option menu initialisation
Thanks Trevor, that works great. Follow up question for you. I have a datagrid table with two option menu columns in it. It's OK to initialise the first one per your reply but the contents of the second one need to be set differently depending on the currently selected value in the first option menu. Any recommendations as to how to do that? Pete Haworth On Oct 4, 2010, at 10:00 AM, use-revolution-requ...@lists.runrev.com wrote: Message: 4 Date: Mon, 4 Oct 2010 09:42:59 -0400 From: Trevor DeVore li...@mangomultimedia.com Subject: Re: Datagrid option menu initialisation To: How to use Revolution use-revolution@lists.runrev.com Message-ID: aanlktimob-tivaybneta-qqdoawv-ahkyoh0vec8f...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Sat, Oct 2, 2010 at 12:22 PM, Peter Haworth p...@mollysrevenge.comwrote: I have defined an option menu in a datagrid column whose contents are created by reading data from an SQLite database - the contents will be the same for each instance of the option menu and should be loaded when the card containing the datagrid is opened. Where should I put the code to create the option menu contents? In the card that contains the data grid :-) In the preopencard or openCard message query the database, update the menu button text in the data grid template and then load the data grid. Since the template has the updated menu text all instances of your column will contain the updated menu text. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Default Column Behavior
I guess I'm not understanding this correctly. Here's what I did, assuming the column with the option menu in it is named OptionColumn On the Datagrid Templates card, I see a button named OptionColumn Behavior. I deleted all the lines from the script for that button then hit Apply. Then I opened the card containing my datagrid but still my default column script is only executed for columns that have not been customised. Any ideas? Pete Haworth On Oct 4, 2010, at 10:00 AM, use-revolution-requ...@lists.runrev.com wrote: Message: 5 Date: Mon, 4 Oct 2010 09:45:02 -0400 From: Trevor DeVore li...@mangomultimedia.com Subject: Re: Datagrid Default Column Behavior To: How to use Revolution use-revolution@lists.runrev.com Message-ID: aanlktimf1et1p5pfc_g-vpemmpd7hf2txg+-xsbq-...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Sun, Oct 3, 2010 at 9:06 PM, Peter Haworth p...@mollysrevenge.comwrote: What is the correct way to set the default column behavior of a datagrid so that the script is entered for columns which have been customised to contain option menus? I have set the default column behavior property for the datagrid but suing debug shows that the script is only executed for columns that hve not been customised in some way. When you create a custom column the behavior script of the column template is assigned to the behavior that is created alongside the column template. The default column behavior only applies to column templates that do not have a behavior assigned. Just set the behavior of your new column template to empty and then it will inherit the default behavior. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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: Drag drop reordering of a DataGrid form
In the dgDragMove handler update the code that sets the dragAction to this: ## Make sure data grid control will accept drop if the dragSource contains the long ID of me and (the mouseControl is not empty and the long id of the mouseControl contains the long ID of me) then set the dragAction to move end if Thanks Trevor, that did the job. -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Datagrid Default Column Behavior
What is the correct way to set the default column behavior of a datagrid so that the script is entered for columns which have been customised to contain option menus? I have set the default column behavior property for the datagrid but suing debug shows that the script is only executed for columns that hve not been customised in some way. This is with LiveCode 4.5 Pete Haworth ___ 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
LiveCode Datagrid Questions
I'm having a number of issues with datagrids created in LiveCode 4.5. Datagrids created by Revolution 4.0 still work fine. I am unable to create custom column behaviors for any columns using the recommended method. I click the plus sign for the column, the card with the row template is displayed, I select the row template group but the Edit Group button in the toolbar or on the Object menu is greyed out and doesn't function. If I select the card containing the template for the datagrid, then select the Row Template group, the Edit Group command is available to me. I have a default column behavior script which I use for all my datagrids. Those created under 4.0 correctly execute the various handlers in that script but any created under 4.5 never execute any of the handlers in that script (the default column behavior is set to the correct button). I see two new handlers in the default column behavior supplied with LiveCode - PreFillinData and ResetData. What are some uses for these handlers? I also saw a recent post to this list regarding some new built in drag and drop reordering handlers in the default script - they don't appear in my default script. I have been using the Data Group Handler plugin. I have removed it from the Plugins folder in the Application bundle but these problems did not go away. Any answers much appreciated. Pete Haworth ___ 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: LiveCode Datagrid Questions
On Sat, Oct 2, 2010 at 8:29 AM, Peter Haworth p...@mollysrevenge.com wrote: I'm having a number of issues with datagrids created in LiveCode 4.5. Datagrids created by Revolution 4.0 still work fine. I am unable to create custom column behaviors for any columns using the recommended method. I click the plus sign for the column, the card with the row template is displayed, I select the row template group but the Edit Group button in the toolbar or on the Object menu is greyed out and doesn't function. If I select the card containing the template for the datagrid, then select the Row Template group, the Edit Group command is available to me. I have a default column behavior script which I use for all my datagrids. Those created under 4.0 correctly execute the various handlers in that script but any created under 4.5 never execute any of the handlers in that script (the default column behavior is set to the correct button). I see two new handlers in the default column behavior supplied with LiveCode - PreFillinData and ResetData. What are some uses for these handlers? I also saw a recent post to this list regarding some new built in drag and drop reordering handlers in the default script - they don't appear in my default script. I have been using the Data Group Handler plugin. I have removed it from the Plugins folder in the Application bundle but these problems did not go away. Any answers much appreciated. Peter, To clarify things about DGH (Data Grid Helper): 1) About interaction with the IDE. - DGH traps double click and click ONLY on datagrid groups. - it interacts with the LiveCode's inspector ONLY for the objects in its template area. 2) About scripts - DGH build scripts to fill column behaviors but it is not able to change how the datagrid library performs. 3) About templates - DGH uses its own way to edit the templates of a datagrid in a special area and never directly in the datagrid template it edits. - DGH not uses the IDE to edit templates. So DGH is not capable to generate the issues you describe: - group capability disable in the IDE (menu and toolbar) - handlers not working in a behavior script Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Drag drop reordering of a DataGrid form
On Fri, Oct 1, 2010 at 2:23 PM, Monte Goulding mo...@sweattechnologies.com wrote: Hold the phone. Looking at the data grid behavior script this might already be a feature but I can't find any docs about enabling it. Trevor? Talking to myself here but the blog post has been updated with a drag and drop script using the inbuilt support that seems to be undocumented. Scroll to the bottom but I'm leaving my original script as it still might be worthwhile for people that want to give their drag and drop a customised look. http://goulding.ws/consulting/blog/ Cheers Hi Monte, You are correct and Trevor could confirm that: for now there is no documentation about the drag drop features of a datagrid. Concerning Drag drop, Trevor has shared different links. 1) An example with a mp3 library: http://tr.im/data_grid This example shows how reorder lines in a DG or copy lines from a DG table to a DG form 2) A sample stack http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip The code used in the DG group is similar to the script you shared in your blog excepted the dragMove handler is missing. I shared also a small lab stack one or two weeks ago, to demonstrate how drag drop lines from a DG table to another DG table. http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=11:experiment-15-drag-drop-in-dgid=7:data-gridItemid=63 You have found your way with that so I posted this in case it could be useful for someone in the list. Anyway the Trevor's mp3 library still interesting to study. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Drag drop reordering of a DataGrid form
2) A sample stack http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip The code used in the DG group is similar to the script you shared in your blog excepted the dragMove handler is missing. Ah, this stack would have been handy. It doesn't work unless you set the dragAction in dragMove though. Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ 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: Drag drop reordering of a DataGrid form
On Sat, Oct 2, 2010 at 2:51 PM, Monte Goulding mo...@sweattechnologies.com wrote: 2) A sample stack http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip The code used in the DG group is similar to the script you shared in your blog excepted the dragMove handler is missing. Ah, this stack would have been handy. It doesn't work unless you set the dragAction in dragMove though. Monte, Right. It seems necessary to set the dragAction in the dragMove handler since LiveCode 4.5. When I'm running the same stack with Revolution 4.5 dp2 all works like a charm without the dragMove handler. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Drag drop reordering of a DataGrid form
On Sat, Oct 2, 2010 at 2:51 PM, Monte Goulding mo...@sweattechnologies.com wrote: 2) A sample stack http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip The code used in the DG group is similar to the script you shared in your blog excepted the dragMove handler is missing. Ah, this stack would have been handy. It doesn't work unless you set the dragAction in dragMove though. Monte, Right. It seems necessary to set the dragAction in the dragMove handler since LiveCode 4.5. When I'm running the same stack with Revolution 4.5 dp2 all works like a charm without the dragMove handler. Just to clarify, this is a change in the datagrid library itself not in the LiveCode engine. I have tried this by using the revdatagridlibrary stack from the LiveCode 4.5 into my version of Revolution 4.5 dp2 and now I have to set the dragAction to make the reorder perform. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: LiveCode Datagrid Questions (zryip theSlug)
I understand. I wasn't placing any blame on DGH. I always de-install any third party products when trying to troubleshoot weird issues like this and the problems still exist when DGH is not installed so no blame on DGH. Pete Haworth On Oct 2, 2010, at 7:09 AM, use-revolution-requ...@lists.runrev.com wrote: Peter, To clarify things about DGH (Data Grid Helper): 1) About interaction with the IDE. - DGH traps double click and click ONLY on datagrid groups. - it interacts with the LiveCode's inspector ONLY for the objects in its template area. 2) About scripts - DGH build scripts to fill column behaviors but it is not able to change how the datagrid library performs. 3) About templates - DGH uses its own way to edit the templates of a datagrid in a special area and never directly in the datagrid template it edits. - DGH not uses the IDE to edit templates. So DGH is not capable to generate the issues you describe: - group capability disable in the IDE (menu and toolbar) - handlers not working in a behavior script ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Datagrid option menu initialisation
I have defined an option menu in a datagrid column whose contents are created by reading data from an SQLite database - the contents will be the same for each instance of the option menu and should be loaded when the card containing the datagrid is opened. Where should I put the code to create the option menu contents? Pete Haworth ___ 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
Drag drop reordering of a DataGrid form
Hi Everyone I've got a blog up for reordering DataGrid forms by drag and drop. Doesn't work for tables and you must cache controls. http://goulding.ws/consulting/blog/ Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ 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: Drag drop reordering of a DataGrid form
Hold the phone. Looking at the data grid behavior script this might already be a feature but I can't find any docs about enabling it. Trevor? Hi Everyone I've got a blog up for reordering DataGrid forms by drag and drop. Doesn't work for tables and you must cache controls. http://goulding.ws/consulting/blog/ Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ 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: Drag drop reordering of a DataGrid form
Hold the phone. Looking at the data grid behavior script this might already be a feature but I can't find any docs about enabling it. Trevor? Talking to myself here but the blog post has been updated with a drag and drop script using the inbuilt support that seems to be undocumented. Scroll to the bottom but I'm leaving my original script as it still might be worthwhile for people that want to give their drag and drop a customised look. http://goulding.ws/consulting/blog/ Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: (DataGrid) one datagrid can't find the stack when its name is changed
On Sat, Sep 25, 2010 at 11:03 PM, Andre.Bisseret andre.bisse...@inria.fr wrote: Le 25 sept. 10 à 22:00, zryip theSlug a écrit : On Sat, Sep 25, 2010 at 9:29 PM, Andre.Bisseret andre.bisse...@inria.fr wrote: Bonjour, I have an app. with a main stack which is use to keep one' accounts. 13 cards, on for each month and the last of the year'recapitulation. On each cards, one data grid, which has been installed with: --- copy group DataGrid of group Templates of stack revDataGridLibrary to this card - Worked as expected up to now. Now, I want to be able to create new stacks (for each years) Up to now my stack was named, say annual accounts. I just tried to replace the current name with annual accounts 2010. Then, all works normally, (the datagrids of the 12 months are working normally) EXCEPT the data grid on the year card; when I go to the year card, I got the following answer message: - An error has occured in behavior for the column template; Chunk: can't find stack with OK or Edit Script - The same when I click on the button which calculates the data for the year and populates the datagrid: the handler is interrupted and I got several successive such messages. What am I missing here? I would like to be able, for example, to simply clone the stack 2010 (or a model stack) and only change the name to annual accounts 2011 Thanks a lot in advance for any help Best regards from Grenoble André Bonjour André Have you a default column behavior for this dg? You can check with your copy of DGH by selecting the dg in the year card, then open the Behaviors / Templates topic of DGH. If the default column behavior field is filled, when you click on the 3 dots button, you will obtain an error message from DGH. A behavior points to the long id of a btn, so the name of the stack which contain the behavior btn is store in the behavior. When you change the name of a stack the link with the behavior is broken. Bonsoir TheSlug, Yes I have a default column behavior Oouuups! indeed, I was completely forgetting that the name of the stack was hidden there!! So I have to reset the behavior of the dataGrid when a new stack is created for a new year Magnifique your DGH! a very useful tool indeed! Thanks André, I'm glad that you find DGH useful. Thanks a lot for your quick and helpful answer; much appreciated ;-)) You're welcome André! 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
(DataGrid) one datagrid can't find the stack when its name is changed
Bonjour, I have an app. with a main stack which is use to keep one' accounts. 13 cards, on for each month and the last of the year'recapitulation. On each cards, one data grid, which has been installed with: --- copy group DataGrid of group Templates of stack revDataGridLibrary to this card - Worked as expected up to now. Now, I want to be able to create new stacks (for each years) Up to now my stack was named, say annual accounts. I just tried to replace the current name with annual accounts 2010. Then, all works normally, (the datagrids of the 12 months are working normally) EXCEPT the data grid on the year card; when I go to the year card, I got the following answer message: - An error has occured in behavior for the column template; Chunk: can't find stack with OK or Edit Script - The same when I click on the button which calculates the data for the year and populates the datagrid: the handler is interrupted and I got several successive such messages. What am I missing here? I would like to be able, for example, to simply clone the stack 2010 (or a model stack) and only change the name to annual accounts 2011 Thanks a lot in advance for any help Best regards from Grenoble André ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: (DataGrid) one datagrid can't find the stack when its name is changed
On Sat, Sep 25, 2010 at 9:29 PM, Andre.Bisseret andre.bisse...@inria.fr wrote: Bonjour, I have an app. with a main stack which is use to keep one' accounts. 13 cards, on for each month and the last of the year'recapitulation. On each cards, one data grid, which has been installed with: --- copy group DataGrid of group Templates of stack revDataGridLibrary to this card - Worked as expected up to now. Now, I want to be able to create new stacks (for each years) Up to now my stack was named, say annual accounts. I just tried to replace the current name with annual accounts 2010. Then, all works normally, (the datagrids of the 12 months are working normally) EXCEPT the data grid on the year card; when I go to the year card, I got the following answer message: - An error has occured in behavior for the column template; Chunk: can't find stack with OK or Edit Script - The same when I click on the button which calculates the data for the year and populates the datagrid: the handler is interrupted and I got several successive such messages. What am I missing here? I would like to be able, for example, to simply clone the stack 2010 (or a model stack) and only change the name to annual accounts 2011 Thanks a lot in advance for any help Best regards from Grenoble André Bonjour André, Have you a default column behavior for this dg? You can check with your copy of DGH by selecting the dg in the year card, then open the Behaviors / Templates topic of DGH. If the default column behavior field is filled, when you click on the 3 dots button, you will obtain an error message from DGH. A behavior points to the long id of a btn, so the name of the stack which contain the behavior btn is store in the behavior. When you change the name of a stack the link with the behavior is broken. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: (DataGrid) one datagrid can't find the stack when its name is changed
Le 25 sept. 10 à 22:00, zryip theSlug a écrit : On Sat, Sep 25, 2010 at 9:29 PM, Andre.Bisseret andre.bisse...@inria.fr wrote: Bonjour, I have an app. with a main stack which is use to keep one' accounts. 13 cards, on for each month and the last of the year'recapitulation. On each cards, one data grid, which has been installed with: --- copy group DataGrid of group Templates of stack revDataGridLibrary to this card - Worked as expected up to now. Now, I want to be able to create new stacks (for each years) Up to now my stack was named, say annual accounts. I just tried to replace the current name with annual accounts 2010. Then, all works normally, (the datagrids of the 12 months are working normally) EXCEPT the data grid on the year card; when I go to the year card, I got the following answer message: - An error has occured in behavior for the column template; Chunk: can't find stack with OK or Edit Script - The same when I click on the button which calculates the data for the year and populates the datagrid: the handler is interrupted and I got several successive such messages. What am I missing here? I would like to be able, for example, to simply clone the stack 2010 (or a model stack) and only change the name to annual accounts 2011 Thanks a lot in advance for any help Best regards from Grenoble André Bonjour André Have you a default column behavior for this dg? You can check with your copy of DGH by selecting the dg in the year card, then open the Behaviors / Templates topic of DGH. If the default column behavior field is filled, when you click on the 3 dots button, you will obtain an error message from DGH. A behavior points to the long id of a btn, so the name of the stack which contain the behavior btn is store in the behavior. When you change the name of a stack the link with the behavior is broken. Bonsoir TheSlug, Yes I have a default column behavior Oouuups! indeed, I was completely forgetting that the name of the stack was hidden there!! So I have to reset the behavior of the dataGrid when a new stack is created for a new year Magnifique your DGH! a very useful tool indeed! Thanks a lot for your quick and helpful answer; much appreciated ;-)) Have a good night André Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: [ANN] The SbS 02 - Introduction to the datagrid is on the road again in version 1.1
On Wed, Sep 22, 2010 at 12:30 AM, zryip theSlug zryip.thes...@gmail.com wrote: Dear List, The Slug is pleased to announce the availability of a new version of the Introduction to the datagrid tutorial. The content is unchanged but we added new capabilities to the tutorial: - we can now print a topic - we can now search all the occurrences of a word in a topic. The search is launched during the input of the letters and the found words are instantly highlighted in yellow. Plus we fixed an odd crashing bug in the selection of the content of a topic. The SbS 02 - Introduction to the datagrid 1.1.0 is now available on revOnline (liveOnline??) and in the download section of the Slug's site. Even if there is nothing very revolutionary, the new code is free to use if you need it. 8-) We have updated the tutorial: The tutorial stack is now modeless to prevent the save message on close after the using of the search box. This should give you the better experience in the using of the tutorial. Thanks to update! All the best, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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
[ANN] The SbS 02 - Introduction to the datagrid is on the road again in version 1.1
Dear List, The Slug is pleased to announce the availability of a new version of the Introduction to the datagrid tutorial. The content is unchanged but we added new capabilities to the tutorial: - we can now print a topic - we can now search all the occurrences of a word in a topic. The search is launched during the input of the letters and the found words are instantly highlighted in yellow. Plus we fixed an odd crashing bug in the selection of the content of a topic. The SbS 02 - Introduction to the datagrid 1.1.0 is now available on revOnline (liveOnline??) and in the download section of the Slug's site. Even if there is nothing very revolutionary, the new code is free to use if you need it. 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Tooltip
On Mon, Sep 20, 2010 at 2:34 AM, Peter Haworth p...@mollysrevenge.com wrote: I see there is a dgColumnTooltip property for datagrids that sets the tooltip displayed when the mouse is over the column header. Is there a way to set the tooltip when the mouse is over a data row in the datagrid, not the column header? Pete Haworth Hi Pete, As pointed out by Shadow Slash you can associate a tooltip in each field of a row by using the FillInData handler located in the default column behavior script. I have just uploaded a new experiment stack in my lab: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=14:experiment-016-tooltips-for-rows-in-a-dgid=7:data-gridItemid=63 This lab stack shows how using an invisible column to have a different tooltip for each rows. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
Eheh! Eheh! He said Cheese! BAN HIM! ;-) Bob On Sep 18, 2010, at 4:54 PM, zryip theSlug wrote: On Sun, Sep 19, 2010 at 1:05 AM, Monte Goulding mo...@sweattechnologies.com wrote: Because I have not totally understood Monte's arguments, that I consider destructives. LOL Monte lol? LOL?? Have you already seen a slug armed with a cheese, hum? Prepare yourself! -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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
Re: DataGrid Optimization question
Bob- Monday, September 20, 2010, 10:11:54 AM, you wrote: Eheh! Eheh! He said Cheese! BAN HIM! ;-) Oops - so did you... we're going to be losing members rapidly at this rate. And notice that I managed to say that without once typing the word Cheese. -- -Mark Wieder mwie...@ahsoftware.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
Re: DataGrid Optimization question
I was one of the most vocal proponents of some kind of table object, because making one from scratch was sooo much trouble, and anything purporting to be database capable just HAD to have one! So I for one am very thankful for the Datagrid, although learning to work with them properly was almost as much trouble as learning Revolution itself. I am still constantly going back and referring to documentation on how to do one thing or another, and work with behaviors in general. Powerful, but very non-intuitive. Still, a data grid is way better than what we had before, a text field that could be kludged into some kind of table looking (but not behaving) sort of object that was really just a tab delimited list. So Thanks Rev for the Data Grid. And yes I agree that a table display object that was as native as a field or a button would have been nicer. Bob snip THis evolution started with the more frequent usage of properties as data containers away from the hypercard metaphore (all the data is in fields within cards and find finds it all..). 2) it is a big step AWAY from the hypercard metaphore, because for the first time... the find does not work anymore on data that is created using a standard object palette.. whouaouu... that is bgg! 4) so to move ahead and stay coherent with the hypercard metaphor, runrev does need a dataObject which is CONSISTENT (visible like datagrids, or not visible like datagrids without the group fields overhead, working with find). What do people around think about that?? (I can only hope that runrev listens to that if I'm not alone thinking that aloud..) snip ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Tooltip
Thanks Zryip and Shadow Slash. Looks like this will work fine. I need to format the tooltip from data in an Sqlite database but the principal should be the same. Pete Haworth On Sep 20, 2010, at 9:24 AM, use-revolution-requ...@lists.runrev.com wrote: Hi Pete, As pointed out by Shadow Slash you can associate a tooltip in each field of a row by using the FillInData handler located in the default column behavior script. I have just uploaded a new experiment stack in my lab: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=14:experiment-016-tooltips-for-rows-in-a-dgid=7:data-gridItemid=63 This lab stack shows how using an invisible column to have a different tooltip for each rows. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On Mon, Sep 20, 2010 at 7:11 PM, Bob Sneidar b...@twft.com wrote: Eheh! Eheh! He said Cheese! BAN HIM! ;-) Argh! But I did not combined cheese with sex or religion! On Sep 18, 2010, at 4:54 PM, zryip theSlug wrote: On Sun, Sep 19, 2010 at 1:05 AM, Monte Goulding mo...@sweattechnologies.com wrote: Because I have not totally understood Monte's arguments, that I consider destructives. LOL Monte lol? LOL?? Have you already seen a slug armed with a cheese, hum? Prepare yourself! -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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 -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On Mon, Sep 20, 2010 at 7:19 PM, Bob Sneidar b...@twft.com wrote: Bob, Feel free to download and try the DGH's open beta version. It's free for 20 days and could change your mind about the non-intuitivity of the datagrid object ;) I was one of the most vocal proponents of some kind of table object, because making one from scratch was sooo much trouble, and anything purporting to be database capable just HAD to have one! So I for one am very thankful for the Datagrid, although learning to work with them properly was almost as much trouble as learning Revolution itself. I am still constantly going back and referring to documentation on how to do one thing or another, and work with behaviors in general. Powerful, but very non-intuitive. Still, a data grid is way better than what we had before, a text field that could be kludged into some kind of table looking (but not behaving) sort of object that was really just a tab delimited list. So Thanks Rev for the Data Grid. And yes I agree that a table display object that was as native as a field or a button would have been nicer. Bob -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
zryip- Monday, September 20, 2010, 10:37:48 AM, you wrote: On Mon, Sep 20, 2010 at 7:11 PM, Bob Sneidar b...@twft.com wrote: Eheh! Eheh! He said Cheese! BAN HIM! ;-) Argh! But I did not combined cheese with sex or religion! ...but now you've used all three words together, and separated by a bare minimum of other letters. You're treading on thin ice, my friend. -- -Mark Wieder mwie...@ahsoftware.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
Re: DataGrid Optimization question
On Mon, Sep 20, 2010 at 7:51 PM, Mark Wieder mwie...@ahsoftware.net wrote: zryip- Monday, September 20, 2010, 10:37:48 AM, you wrote: On Mon, Sep 20, 2010 at 7:11 PM, Bob Sneidar b...@twft.com wrote: Eheh! Eheh! He said Cheese! BAN HIM! ;-) Argh! But I did not combined cheese with sex or religion! ...but now you've used all three words together, and separated by a bare minimum of other letters. You're treading on thin ice, my friend. Hopefully, Heather seems very busy at this moment. She'll never catch me! -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On 09/20/2010 10:25 PM, zryip theSlug wrote: On Mon, Sep 20, 2010 at 7:51 PM, Mark Wiedermwie...@ahsoftware.net wrote: zryip- Monday, September 20, 2010, 10:37:48 AM, you wrote: On Mon, Sep 20, 2010 at 7:11 PM, Bob Sneidarb...@twft.com wrote: Eheh! Eheh! He said Cheese! BAN HIM! ;-) Argh! But I did not combined cheese with sex or religion! ...but now you've used all three words together, and separated by a bare minimum of other letters. You're treading on thin ice, my friend. Hopefully, Heather seems very busy at this moment. She'll never catch me! Why do I think that several people are going do be curded-off when they awake from their Revolutionary reverie to find they have been LiveCoding all along? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
Richmond- Monday, September 20, 2010, 12:29:40 PM, you wrote: Why do I think that several people are going do be curded-off when they awake from their Revolutionary reverie to find they have been LiveCoding all along? 's fine by me. I never know what I've been doing all along anyway... -- -Mark Wieder mwie...@ahsoftware.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
Re: DataGrid Optimization question
.. and as you mention such a datagrid dataObject should allow the standard find to find it's elements.. or provide an extended find function, like the one I put up on revOnline (which only works for datagrids with cached mode turned on). The way datagrids are being used is interesting. 1) datagrids are the most tangible evolution of the runrev IDE and that was needed to stay in touch with what other modern languages are providing THis evolution started with the more frequent usage of properties as data containers away from the hypercard metaphore (all the data is in fields within cards and find finds it all..). 2) it is a big step AWAY from the hypercard metaphore, because for the first time... the find does not work anymore on data that is created using a standard object palette.. whouaouu... that is bgg! 4) so to move ahead and stay coherent with the hypercard metaphor, runrev does need a dataObject which is CONSISTENT (visible like datagrids, or not visible like datagrids without the group fields overhead, working with find). What do people around think about that?? (I can only hope that runrev listens to that if I'm not alone thinking that aloud..) 5) and Yes, I heard you.. think aloud.. but that is 4D and runrev is not 4D nor fileMaker. why not??? Would it be SO DIFFICULT to implement a minimal data object that would work like BENTO, but right inside runrev??? is'nt it already nearly there with datagrids??? I wonder if any of us tried doing some relationnal dbase kind of stuff with datagrids!!!??? P.S : Josh : what sepearate data source do you use to feed datagrids with?? thanks Josh Mellicker wrote: On Sep 17, 2010, at 4:39 PM, Robert Mann r...@free.fr wrote: So it would be interesting I thing if actually Datagrids were split into A) the datagrid dataObject and B) the datagrid viewer... so you could have several views of the same datas... I have thought exactly the same thing... The first thing I do with most data grids is add a live search box which of course requires a separate data source to get data from, filter, then display in the grid. ___ 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://runtime-revolution.278305.n4.nabble.com/DataGrid-Optimization-question-tp2544336p2545759.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: DataGrid Optimization question
On Sep 19, 2010, at 2:45 AM, Robert Mann r...@free.fr wrote: P.S : Josh : what sepearate data source do you use to feed datagrids with?? thanks A remote MySQL database. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Datagrid Tooltip
I see there is a dgColumnTooltip property for datagrids that sets the tooltip displayed when the mouse is over the column header. Is there a way to set the tooltip when the mouse is over a data row in the datagrid, not the column header? Pete Haworth ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Tooltip
If you are only going to need a static single tooltip, you can just edit the DataGrid Template connected to your datagrid. If you need it to have custom tooltips for each, you can code that into the FillInData handler of the Behavior Script. Hope this helps... :) --- On Mon, 20/9/10, Peter Haworth p...@mollysrevenge.com wrote: From: Peter Haworth p...@mollysrevenge.com Subject: Datagrid Tooltip To: use-revolution@lists.runrev.com Date: Monday, 20 September, 2010, 12:34 AM I see there is a dgColumnTooltip property for datagrids that sets the tooltip displayed when the mouse is over the column header. Is there a way to set the tooltip when the mouse is over a data row in the datagrid, not the column header? Pete Haworth ___ 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
Re: DataGrid Optimization question
On Sat, Sep 18, 2010 at 12:55 AM, Monte Goulding mo...@sweattechnologies.com wrote: Am I adding overhead to redraw a grid that no one sees? I can't work out what the data grids are for if no one sees them? Why not just use custom properties? Or better yet SQLite? On Sat, Sep 18, 2010 at 12:58 AM, Bob Sneidar b...@twft.com wrote: I was going to suggest that very thing, but stopped myself by thinking, He probably has reasons for using datagrids that I am not aware of. But if you do not have needs for your invisible data that only a data grid can supply, yes you would be better off using a custom property. Monte, Bob Where the data of a datagrid are stored? In a custom property... I give you two alternatives: - store a data formatted for datagrids in a custom property of a stack, a card, an object, etc - store a data formatted for datagrids in a special object which display the data in a snap if you need it as parameters behind the scene and has is own API to manipulate your data easily: a datatagrid What will be your best choice? Andrew has made his choice, and I think that is far to be stupid. Use SQLite to store the temporary data is a choice but I think not the best in all the cases. If you have other tables to manage in your stack, probably. If you have to manage only a few things, why not use another datagrid as a database? A datagrid is composed by columns (the fields) and by rows (the records) Plus it's really handy to copy the content of a datagrid in another. With this trick you can create different views of the same datagrid. You need only two datagrids: one behind the scene which contains all your data and one used as a viewer. If you are not convinced, I invite you to download the Step by Step N#2 tutorial I wrote about datagrids or join the open beta of the Data Grid Helper to download the plugin. The visible datagrids of those stacks are able to display different contents and data trees. How do you think I'm doing that with no database? Yes I'm using custom properties, the custom properties nested in the datagrids. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On Fri, Sep 17, 2010 at 9:31 PM, Andrew Kluthe and...@rjdfarm.com wrote: Hey revsters, I use datagrids on a hidden card to hold different sets of data that get processed combined into another datagrid for display to the user. I am trying to optimize my script and before fetching the data from the hidden datagrids. Before I fetch the data from the grid I send this to the grid in order to refresh it and make sure it has the latest data. send RefreshList to group EditTickets of card LocalData I noticed from the API Docs for the datagrid that: RefreshList - Redraws the data displayed in the data grid. Does this simply redraw the data and not at all affect the data that I am fetching from the grid with the dgData property? Am I adding overhead to redraw a grid that no one sees? Andrew, The datas are restore when the preopencontrol of the datagrid is invoked, so when you go the first time to the LocalData card. Your data is refreshed by storing a new set with the set dgData... statement. No need here to refresh the datagrid. Personally and for now, I'm using only hidden datagrids which contains parameters I wrote myself by hand. I can sort content of those datagrids, find lines, copy lines and sample columns with no refresh, and all works like a charm. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
Where the data of a datagrid are stored? In a custom property... sure I give you two alternatives: - store a data formatted for datagrids in a custom property of a stack, a card, an object, etc - store a data formatted for datagrids in a special object which display the data in a snap if you need it as parameters behind the scene and has is own API to manipulate your data easily: a datatagrid What about the cost of all the object creation/manipulation that you don't need if you are just using it as data storage. What will be your best choice? Andrew has made his choice, and I think that is far to be stupid. I don't think either of us called it stupid. I'd like to understand why he, now you feel it's necessary. If you are not convinced, I invite you to download the Step by Step N#2 tutorial I wrote about datagrids or join the open beta of the Data Grid Helper to download the plugin. The visible datagrids of those stacks are able to display different contents and data trees. How do you think I'm doing that with no database? Yes I'm using custom properties, the custom properties nested in the datagrids. I downloaded your tutorial and I can't see where it says anything about the use of a hidden datagrid for data storage. I can imagine a very simple application being based around data storage in a visible datagrid but even then I would use custom property sets in an invisible stack saved in an appropriate place to get data to persist over multiple sessions. Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On Sat, Sep 18, 2010 at 1:36 PM, Monte Goulding mo...@sweattechnologies.com wrote: Where the data of a datagrid are stored? In a custom property... sure I give you two alternatives: - store a data formatted for datagrids in a custom property of a stack, a card, an object, etc - store a data formatted for datagrids in a special object which display the data in a snap if you need it as parameters behind the scene and has is own API to manipulate your data easily: a datatagrid What about the cost of all the object creation/manipulation that you don't need if you are just using it as data storage. I speak about something easy to manipulate and you reply with cost. If you starts to think like that you will probably not using the datagrid object and use a simple field where each record is separated by return and each fields by tab. What will be your best choice? Andrew has made his choice, and I think that is far to be stupid. I don't think either of us called it stupid. I'd like to understand why he, now you feel it's necessary. Necessary... Never spoke of necessity here. Spoke about trick or option. Necessity could appears with constraints. We have no constraints here. Or maybe one: that is not handy! Let's put things in context. I take my case: I'm just a rev hobbyist and I start rev in january. A newbie if you prefer. I have to manage parameters to display things in a datagrid. To define a kind of dictionary with no database. I want to be able to update by hand my dictionary anytime I want, add new definitions, new columns, remove things, etc. My two options are: 1) using a custom properties to store my data. I have columns and rows, so I will choose an array. How to fill this array the first time? By code? - In the msg box. Uhm, no! - In a button? I have to keep it outside my project? Okay I need two stacks. One for my visible project, one I will keep for me in my computer, just to define the custom property. Now the code itself. I have to define each values of my array by code? With repetitive lines?? Sorry but this kind of thing makes me sick. Not for me! Even if I have to do that, I open a soft like Excel, define a dictionary, generates the code with formula and I copy paste the code. Crazy no? Okay now I have my array, and I'm choosing to store it in the main stack of my project. And now what, I have to update a definition in my dictionary. I have to do that by code??? Or directly in the custom property by hand??? Okay I'm capable but that is archaic!!! 2) Using a datagrid to define my dictionary. Sorry but here I smile. It's like Excel!! I can add a new column, a new line, duplicate an existing line, update a cell and the array is refreshed with no code. Ohhh happiness!!! With an additive library I wrote, I can copy the necessary keys I need from a datagrid to another just by a detection of the matching names of each. I can copy all the lines or a sample of lines with a custom find command too. Nirvana!!! And now you come with your question: why you feel it's necessary? Do I really have to tell you why? 8-) So yes I have more objects than necessary, but I live very well with that. Terribly well. My library works for me and I have no more code to define. Zen!! And if I have the need of a database, be sure that I will have tables to define the same dictionary and an interface to create new records with no need to do that by a new SQL request. That is the way I'm developing all the time. Sorry. If you are not convinced, I invite you to download the Step by Step N#2 tutorial I wrote about datagrids or join the open beta of the Data Grid Helper to download the plugin. The visible datagrids of those stacks are able to display different contents and data trees. How do you think I'm doing that with no database? Yes I'm using custom properties, the custom properties nested in the datagrids. I downloaded your tutorial and I can't see where it says anything about the use of a hidden datagrid for data storage. I can imagine a very simple application being based around data storage in a visible datagrid but even then I would use custom property sets in an invisible stack saved in an appropriate place to get data to persist over multiple sessions. It's just an example. Do not explain how it works in this tutorial. You manage your invisible stacks with the code you want, I would not see that. 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On 9/18/10 8:56 AM, zryip theSlug wrote: On Sat, Sep 18, 2010 at 1:36 PM, Monte Goulding mo...@sweattechnologies.com wrote: What about the cost of all the object creation/manipulation that you don't need if you are just using it as data storage. I speak about something easy to manipulate and you reply with cost. I think what Monte is saying is that because the datagrid object does all the same manipulations with arrays and custom properties that you could do yourself, using a custom property avoids a lot of code and object overhead. In many cases, data can be stored directly into the stack as a custom property (or property set) where it is easy to update using the same methods as the datagrid. But because your dictionary is displayed on a card, I think your method is good. You can let the datagrid handle the details of managing the data and displaying it. You need to use display fields anyway, so there is only a small extra cost by letting a datagrid create them. But if the data is for storage only, then there is no reason to have all the extra code, libraries, and objects -- updating a custom property set and getting values from it is very easy and quick. You can load the entire data set into a variable with one line of code and access any part of it with another single line. I don't see a need to use a visual datagrid if the data is never displayed. It's much faster to work with a variable. Field access is one of the slowest things in Rev, and avoiding field access and object creation will speed up execution by quite a bit. Each method has advantages, it depends on what you need to do with the data. -- 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
Re: DataGrid Optimization question
On Sep 17, 2010, at 4:39 PM, Robert Mann r...@free.fr wrote: So it would be interesting I thing if actually Datagrids were split into A) the datagrid dataObject and B) the datagrid viewer... so you could have several views of the same datas... I have thought exactly the same thing... The first thing I do with most data grids is add a live search box which of course requires a separate data source to get data from, filter, then display in the grid. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On Sat, Sep 18, 2010 at 7:12 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 9/18/10 8:56 AM, zryip theSlug wrote: On Sat, Sep 18, 2010 at 1:36 PM, Monte Goulding mo...@sweattechnologies.com wrote: What about the cost of all the object creation/manipulation that you don't need if you are just using it as data storage. I speak about something easy to manipulate and you reply with cost. I think what Monte is saying is that because the datagrid object does all the same manipulations with arrays and custom properties that you could do yourself, using a custom property avoids a lot of code and object overhead. In many cases, data can be stored directly into the stack as a custom property (or property set) where it is easy to update using the same methods as the datagrid. But because your dictionary is displayed on a card, I think your method is good. You can let the datagrid handle the details of managing the data and displaying it. You need to use display fields anyway, so there is only a small extra cost by letting a datagrid create them. But if the data is for storage only, then there is no reason to have all the extra code, libraries, and objects -- updating a custom property set and getting values from it is very easy and quick. You can load the entire data set into a variable with one line of code and access any part of it with another single line. I don't see a need to use a visual datagrid if the data is never displayed. It's much faster to work with a variable. Field access is one of the slowest things in Rev, and avoiding field access and object creation will speed up execution by quite a bit. Each method has advantages, it depends on what you need to do with the data. Jacque I'm totally agree. It exists so many ways to solve a problem. I solved this one the way I prefer developing as I explain. Thanks to have clarified things. Because I have not totally understood Monte's arguments, that I consider destructives. In any case I have to regret the way I solve this because I learn a lot about datagrid by using it. As illustration, this is a sample of the DGH dictionary: DGH Dictionary samplehttp://www.aslugontheroad.co.cc/images/dgh_dictionary.png In it I have defined profiles, views, etc and the code manages automatically all of that. I can add a new property, change a row object, an event attached to a button by updating only a parameter. Please, consider this hidden datagrid as a table only visible by the administrator of the stack 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
But because your dictionary is displayed on a card, I think your method is good. The original email was discussing using hidden datagrids with no mention of having them visible to manipulate. -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
What about the cost of all the object creation/manipulation that you don't need if you are just using it as data storage. I speak about something easy to manipulate and you reply with cost. Yes, Did you read the original post? It was about using HIDDEN datagrids! Clearly this is not what you do so why are you getting your back up? Monte___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On Sun, Sep 19, 2010 at 12:23 AM, Monte Goulding mo...@sweattechnologies.com wrote: What about the cost of all the object creation/manipulation that you don't need if you are just using it as data storage. I speak about something easy to manipulate and you reply with cost. Yes, Did you read the original post? It was about using HIDDEN datagrids! Clearly this is not what you do so why are you getting your back up? Hum yes I read the original post and the post you missed of Andrew when he needs help to initialize his hidden datagrid located in an hidden card, two weeks ago. All I try to do is help with thing I have already do, not destroy a solution, not impose a solution. I'm for debating things with arguments, examples. They're is no perfect solution in my knowledge and we can debate of that, friendly and kindly. For example, in applications, a parameter table is often hidden but an administrator can handle it, and can have an interface to set things. It seems that you take my answers wrong, so I'll stop there. See you next time for another debate about development. 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
Because I have not totally understood Monte's arguments, that I consider destructives. LOL Monte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
On Sun, Sep 19, 2010 at 1:05 AM, Monte Goulding mo...@sweattechnologies.com wrote: Because I have not totally understood Monte's arguments, that I consider destructives. LOL Monte lol? LOL?? Have you already seen a slug armed with a cheese, hum? Prepare yourself! -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
DataGrid Optimization question
Hey revsters, I use datagrids on a hidden card to hold different sets of data that get processed combined into another datagrid for display to the user. I am trying to optimize my script and before fetching the data from the hidden datagrids. Before I fetch the data from the grid I send this to the grid in order to refresh it and make sure it has the latest data. send RefreshList to group EditTickets of card LocalData I noticed from the API Docs for the datagrid that: RefreshList - Redraws the data displayed in the data grid. Does this simply redraw the data and not at all affect the data that I am fetching from the grid with the dgData property? Am I adding overhead to redraw a grid that no one sees? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Optimization-question-tp2544336p2544336.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: DataGrid Optimization question
Am I adding overhead to redraw a grid that no one sees? I can't work out what the data grids are for if no one sees them? Why not just use custom properties? Or better yet SQLite? Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Optimization question
I was going to suggest that very thing, but stopped myself by thinking, He probably has reasons for using datagrids that I am not aware of. But if you do not have needs for your invisible data that only a data grid can supply, yes you would be better off using a custom property. Bob On Sep 17, 2010, at 3:55 PM, Monte Goulding wrote: Am I adding overhead to redraw a grid that no one sees? I can't work out what the data grids are for if no one sees them? Why not just use custom properties? Or better yet SQLite? Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ 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
Re: DataGrid Optimization question
Hmmm, the data coming in is from a mySQL database and I have 3 sets of data. Live data, update data, and Added data. Each of these is held in a datagrid simply for the ease at which it can be turned from an array into tab delimited text that can be stored in a flatfile as backup and the ability to search the through the data using the datagrid API. The program works offline most of the time and at the end of the day gets synced with the database. What do you suggest? This datagrid thing leads to so much overhead in that I have to initialize it on the hidden cards before opening the program. Would you recommend I just write search export functions for a custom property? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Optimization-question-tp2544336p2544558.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: DataGrid Optimization question
I usually use the old table field to hold database data on hidden cards, then grab the data from that to populate a datagrid the user sees. The reason for using a field instead of a custom prop is that it's easier during development to see the data. I have handlers that will find and update data in tab delimited fields. If it's a huge dataset a custom prop is faster but usually it's small so the speed loss is a non issue. Cheers, Josh On Sep 17, 2010, at 4:08 PM, Andrew Kluthe and...@rjdfarm.com wrote: Hmmm, the data coming in is from a mySQL database and I have 3 sets of data. Live data, update data, and Added data. Each of these is held in a datagrid simply for the ease at which it can be turned from an array into tab delimited text that can be stored in a flatfile as backup and the ability to search the through the data using the datagrid API. The program works offline most of the time and at the end of the day gets synced with the database. What do you suggest? This datagrid thing leads to so much overhead in that I have to initialize it on the hidden cards before opening the program. Would you recommend I just write search export functions for a custom property? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Optimization-question-tp2544336p2544558.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
Re: DataGrid Optimization question
Maybe he is using datagrids not unlike data objects that rodeo fellows have made. I mean , a simple data container that you can set like a table, and populate, reorder easily and show by connecting to a table or datagrid viewer swiftly. Kind of a minimal database object handy and included in rev... And so far, datagrid is pretty useable for that... So it would be interesting I thing if actually Datagrids were split into A) the datagrid dataObject and B) the datagrid viewer... so you could have several views of the same datas... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Optimization-question-tp2544336p2544578.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: using datagrid with revmobile
Terry, exept the scrolling, all the other feautures of the datagrid library work in the mobile applications? I tryed and seems to work. Thanks a lot, Paolo ___ 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 datagrid with revmobile
I have few questions about using datagrid in mobile applications... In an application for iPhone, can I place a datagrid object ? Datagrid objects work fine in mobile applications created by the present RevMobile plugin? What about next release of the RevMobile plugin? Thanks a lot Paolo ___ 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: using datagrid with revmobile
I couldn't get a datagrid object to scroll (with a scrollbar) in the plugin so perhaps they aren't quite compatible just yet. BTW, has anyone made any progress with emulating an iPhone scrolling field/list/menu object? I got as far as making implementing the top an bottom 'overflow' regions and the scaled scroll indicator but mine doesn't have any momentum action (you can't flick it). Terry... On 15/09/10 10:31 PM, paolo mazza mazzapaoloit...@gmail.com wrote: I have few questions about using datagrid in mobile applications... In an application for iPhone, can I place a datagrid object ? Datagrid objects work fine in mobile applications created by the present RevMobile plugin? What about next release of the RevMobile plugin? Thanks a lot Paolo ___ 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 | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Drag and Drop
Thanks! That's weird, I searched the forum for drag and drop and my thread didn't appear in the results. Got the latest version of DGH by the way, just haven't had time to test it more yet. Pete Haworth On Sep 8, 2010, at 7:45 AM, use-revolution-requ...@lists.runrev.com wrote: Message: 13 Date: Tue, 7 Sep 2010 22:26:28 +0200 From: zryip theSlug zryip.thes...@gmail.com Subject: Re: Datagrid Drag and Drop To: How to use Revolution use-revolution@lists.runrev.com Message-ID: aanlktikwkkh=7xszppvn7zbzgegl73wxctiy6=a2w...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Tue, Sep 7, 2010 at 9:42 PM, Peter Haworth p...@mollysrevenge.com wrote: Months ago, I got some guidance form Trevor on how to drag and drop into and out of a datagrid. I ended up not needing to do it at the time but now I do and I can't find the notes I made on it. I've searched the online datagrid documentation and can't find anything on this subject. Can anyone point me in the right direction? Thanks, Pete Haworth Hi Pete, That is the thread you have opened months ago: http://forums.runrev.com/phpBB2/viewtopic.php?p=17333. For reorder lines in the same Data Grid, install the copy of the Data Grid Helper I sent you today. Select a Datagrid, then go to the Scripts topics of the properties palette. You have a menu Reorder lines. Click on the Install script button to fill the datagrid group with the code you need. This is good opportunity to test this new DGH's feature. ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Drag and Drop
On Wed, Sep 8, 2010 at 6:05 PM, Peter Haworth p...@mollysrevenge.com wrote: Thanks! That's weird, I searched the forum for drag and drop and my thread didn't appear in the results. Got the latest version of DGH by the way, just haven't had time to test it more yet. Pete, No problem with that. Give also a try to the experiment 15 in my lab. Should be a start for your drag drop needs. The link is in my previous reply. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Datagrid Drag and Drop
Months ago, I got some guidance form Trevor on how to drag and drop into and out of a datagrid. I ended up not needing to do it at the time but now I do and I can't find the notes I made on it. I've searched the online datagrid documentation and can't find anything on this subject. Can anyone point me in the right direction? Thanks, Pete Haworth ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Drag and Drop
On Tue, Sep 7, 2010 at 9:42 PM, Peter Haworth p...@mollysrevenge.com wrote: Months ago, I got some guidance form Trevor on how to drag and drop into and out of a datagrid. I ended up not needing to do it at the time but now I do and I can't find the notes I made on it. I've searched the online datagrid documentation and can't find anything on this subject. Can anyone point me in the right direction? Thanks, Pete Haworth Hi Pete, That is the thread you have opened months ago: http://forums.runrev.com/phpBB2/viewtopic.php?p=17333. For reorder lines in the same Data Grid, install the copy of the Data Grid Helper I sent you today. Select a Datagrid, then go to the Scripts topics of the properties palette. You have a menu Reorder lines. Click on the Install script button to fill the datagrid group with the code you need. This is good opportunity to test this new DGH's feature. ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrid Drag and Drop
On Tue, Sep 7, 2010 at 10:26 PM, zryip theSlug zryip.thes...@gmail.com wrote: On Tue, Sep 7, 2010 at 9:42 PM, Peter Haworth p...@mollysrevenge.com wrote: Months ago, I got some guidance form Trevor on how to drag and drop into and out of a datagrid. I ended up not needing to do it at the time but now I do and I can't find the notes I made on it. I've searched the online datagrid documentation and can't find anything on this subject. Can anyone point me in the right direction? Thanks, Pete Haworth Hi Pete, That is the thread you have opened months ago: http://forums.runrev.com/phpBB2/viewtopic.php?p=17333. For reorder lines in the same Data Grid, install the copy of the Data Grid Helper I sent you today. Select a Datagrid, then go to the Scripts topics of the properties palette. You have a menu Reorder lines. Click on the Install script button to fill the datagrid group with the code you need. This is good opportunity to test this new DGH's feature. ;) And it was a good exercise for an experiment stack. 8-) I have just uploaded a new stack in the Slug's lab. You can download this stack here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=11:experiment-15-drag-drop-in-dgid=7:data-gridItemid=63 Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Error: Trying to Load a Grid on Program Start
On Fri, Aug 27, 2010 at 6:49 AM, Andrew Kluthe and...@rjdfarm.com wrote: Zryip! You are a life saver! This makes perfect sense. It was working fine when I was watching the data come in and out by opening the card with the grids on it. Right before my meeting I hid that button because the end user doesn't need to see all of that. Then the program suddenly didn't work anymore about 15 minutes from my meeting! Months ago, I fought hours with that before I understand what happens and how to fix it. In DGH, I'm using dictionaries grids in hidden cards or stacks. One for the properties list and one for the script builder. I will show my sincere gratitude by combing finely through your latest incarnation of DGH this weekend! I have been using it alot this week! Great! I'm glad you found a way to the DGH beta version in your current work. I'm actually working to a new version. I will send you a mail soon. Thanks. thank you thank you thank you You're welcome * 3 ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
DataGrid Error: Trying to Load a Grid on Program Start
Hey all, I have two datagrids that save the data within them to the disk when it is changed and reloads from the file on program start. The files they save are tab delimited lines with the headers in line one. This the output of the grid's dgText. On load, if the files are empty except for headers it sets the dgData to of this grid to empty. The calls to load the files from disk appears in the Stack Script and the grids themselves are on a card called LocalData. I get the following errors whether I set the data to empty or set it to the data that is on the disk. Type: Object: can't set object property Object: group AddTickets of card LocalData of stack C:/FarmOffice/GrainCart/GrainCart.rev Line: set the dgData of me to empty Line Num: 0 Hint: -8 AND 354,0,0,-8 90,4128,20 449,4128,5,-8 535,4128,1,-8 241,4128,1,_table.CreateDefaultHeaderGroup 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev 573,4049,1 253,4048,1 253,4047,1 490,4045,1 241,4045,1,_table.CreateHeaders 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev 573,3951,1 241,3951,1,_table.CreateColumns 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev 573,151,1 253,150,1 253,113,1 241,113,1,_Initialize 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev 573,4512,18 253,4512,1 241,4512,1,dgData 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev 90,3205,36 449,3205,5 535,3205,1 241,3205,1,_table.SetText 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev 573,4442,1 587,4440,1 I have tried two different methods for clearing the data to see if it was how I was doing it that was causing the errors instead of what I was doing: 1. I tried using set the dgData of group AddTickets of card LocalData to empty This failed. 2. I tried putting a command inside of the datagrid that has this code in it. on ClearData set the dgData of me to empty end ClearData The code I used to call the handler inside the grid was: send ClearData to group AddTickets of card LocalData I even tried sending the above command in 3 seconds to see if it was that I had not properly initialized something when it was executed. The bizarre thing is that I have a third datagrid that holds the last Live records in the database and setting it up in all of the above ways mentioned works perfectly. Whats the deal?? I have been pulling my hair out. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Error-Trying-to-Load-a-Grid-on-Program-Start-tp2340227p2340227.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: DataGrid Error: Trying to Load a Grid on Program Start
Another set of attempts were all failures. This time I put the code to load the file into the DataGrid inside of the datagrid. I recieved the same errors when trying to call that handler from the stack or any other card script. So I made a set of buttons on card LocalData to send the data load message to the grids. This works fine. I tried to send a mouseup to these buttons from the stack and card scripts. This returns the same error. I don't get it. Why does this work in a button and not a stack or card script? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Error-Trying-to-Load-a-Grid-on-Program-Start-tp2340227p2340304.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