Re: clickability in a DataGrid
Thanks, Peter Craig. It appears, Craig, that your solution is just the ticket. With your mouseUp handler in the group script, if I click on a column in the sixth row of the grid, I get the following parseable output: field [column name] 0006 Exactly what I need. Thanks. Minor sidebar question, which isn't remotely relevant for the stack in question: Does this mean DataGrids are limited to rows? Sieg Lindstrom On Jan 22, 2013, at 7:21 PM, Craig Newman wrote: Hi. There are a few ways to do this. The old fashioned way is to write in the group script: on mouseUp put the target end mouseUp You get a result that is easily deconstructed to row and column references. You can also trap the editFieldText message, or any of the row and column properties. Craig Newman ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
Alas, I spoke too soon. The output on this handler correctly identifies the column by column name but the four digit integer that follows does not correspond to the row number. Sieg Lindstrom On Jan 22, 2013, at 7:21 PM, use-livecode-requ...@lists.runrev.com wrote: Hi. There are a few ways to do this. The old fashioned way is to write in the group script: on mouseUp put the target end mouseUp You get a result that is easily deconstructed to row and column references. You can also trap the editFieldText message, or any of the row and column properties. Craig Newman ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
For me mouseUp handler is working correct. Marek ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Filter and the Question Mark (escaping ? in regex)
Hi, I got a var tText that contains: asdf jkl? bcdk I want to do something like this filter tText with *\?* which should leave me with only jkl?. This does not appear to work. Any pointers on how to correctly escape the question mark greatly appreciated. Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Filter and the Question Mark (escaping ? in regex)
Malte, Try this: filter tText with *[?]* Kind regards, Mark On 1/23/2013 11:49 AM, Malte Brill wrote: Hi, I got a var tText that contains: asdf jkl? bcdk I want to do something like this filter tText with *\?* which should leave me with only jkl?. This does not appear to work. Any pointers on how to correctly escape the question mark greatly appreciated. Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Filter and the Question Mark (escaping ? in regex)
Hi Malte, for any position of ? in a line: filter tText with *[?]* for the last char of a line: filter tText with *[?] Regards, Thierry 2013/1/23 Malte Brill revolut...@derbrill.de Hi, I got a var tText that contains: asdf jkl? bcdk I want to do something like this filter tText with *\?* which should leave me with only jkl?. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: More about audio-video
On Jan 23, 2013 12:07 AM, J. Landman Gay wrote: On 1/22/13 10:56 PM, J. Landman Gay wrote: On 1/22/13 9:46 PM, Roger Eller wrote: I think MPEG1 2, as well as AVI. It can't just be MPEG1 and 2, can it? Never mind, I see that's exactly what you meant. MPEG 1 and 2 and AVI. That's pretty bad. -- Jacqueline Landman Gay I don't blame Microsoft though. These were the formats of that time. I believe MetaCard could play them. RunRev has dropped the ball with desktop parity long ago. Of course Linux has fallen farthest behind, requiring Xanim to play the old formats. ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Moving focus between fields
I want the tab key to move the cursor between the fields of a group. I want to restrict this action to that group. Furthermore, when the focus is on the last field in the group, I want the tab key to return the focus to the first field of the group. At first, with the focus on the last field, the tab key focused on a field in a hidden group. Hitting the tab key multiple times eventually returns the focus to the first field in the desired group. However, if I turn the focusable of all hidden fields off and try again, the tab key in the last field does not return the focus to the first field. And repeatedly hitting the tab key never brings the focus back to the first field in the group. What am I missing here? By the way - I usually solve most problems by studying the relevant entries in the the dictionary. But the dictionary doesn't work anymore, that is the dictionary appears with no content/entries? How can I get my dictionary back? Cheers, Lars ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
Hej Sieg, Am 23.01.2013 um 01:09 schrieb Sieg Lindstrom s...@trackandfieldnews.com: I've used LiveCode/RunRev for some time but an new to using DataGrids. What I'd like to do (for Mac/Windows users) is include a DataGrid configured as, say, four columns of data followed by two columns that are the same in each row: one that reads Delete and one that reads Edit. I'd like to set it up so that if the user clicks on Delete or Edit in a given row that then triggers handlers to either delete that row or edit the data contained in the other four columns of that row of the grid. Using a standard text field with tab-delimited data in each row, I'd use the ClickText and the ClickLine in the field script to determine what the user clicked and trigger the appropriate actions. How would one achieve this in a DataGrid? Thanks in advance! well, DataGrids are extremely complex but also extremely powerful once you get to master them (more or less :-) OK, presumed you have a datagrid of type TABLE with a column named delete and when the user clicks on that column you want to delete the complete row of the datagrid, right? Deleting -Put this into the datagrids script: on mouseup ## WHAT column has been clickedß put the dgColumn of the target into tClickedColumnName ## User clicked the column delete: if tClickedColumnName = delete then ## Better ask EVERYTIME! ;-) answer Really delete? with Cancel or OK if it = Cancel then exit to top end if ## get the currently selected row put the dghilitedLines of me into tHL ## Now let the DG do the deletion dispatch DeleteLines to me with tHL end if end mouseup EDITING is definitively implemented in the default datagrid, just check editable in the inspector for the datagridand doubleclick any column to edit iits content. Or did I misunderstand your question about editing? Get the complete datagrid manual as PDF here: http://lessons.runrev.com/m/datagrid Work through the example to get the grips. I must confess that I need to re-read the docs everytime I did not work with DGs for more than one week, just too complex stuff :-D Sieg Lindstrom Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode, stacks and Cloud Storage Services
Hi Simon, As_Simon wrote Actually I was thinking of a different stack that I worked with libS3.rev, I have both but never tried libAws... I don't have high traffic, I use it for it's Edge Locations as my clients are downloading from all over the world. The monthly bills I get are a great laugh as they are for about 48 cents each month. 48 cents monthly? This could be for surpassing your monthly allowance of bandwidth.. but you paid upfront an annual subscription or fee for Amazon services. Or not? I have to investigate more about Amazon services! :-D Have a nice day! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-stacks-and-Cloud-Storage-Services-tp4659286p4659404.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
Hi Colin, For some reason your script now works as predicted instead of giving me a reference to dgalternatingrows so sorry for the confusion. Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 5:55 PM, dunb...@aol.com wrote: Hi. There are a few ways to do this. The old fashioned way is to write in the group script: on mouseUp put the target end mouseUp You get a result that is easily deconstructed to row and column references. You can also trap the editFieldText message, or any of the row and column properties. Craig Newman -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Jan 22, 2013 7:44 pm Subject: Re: clickability in a DataGrid Hi Sieg, I can't think of a way to detect a click in a specific cell of a datagrid. If nobody else can come up with something, a couple of alternatives would be to customize your Edit and Delete columns to contain buttons and put your delete/edit commands in the mouseUp handler for each button, or implement a right click popup menu with delete/edit options on it and put the logic in the menuPick handler for the popup. Would take too much space to describe how to do those things, but check out the datagrid manual for details. Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 4:09 PM, Sieg Lindstrom s...@trackandfieldnews.com wrote: I've used LiveCode/RunRev for some time but an new to using DataGrids. What I'd like to do (for Mac/Windows users) is include a DataGrid configured as, say, four columns of data followed by two columns that are the same in each row: one that reads Delete and one that reads Edit. I'd like to set it up so that if the user clicks on Delete or Edit in a given row that then triggers handlers to either delete that row or edit the data contained in the other four columns of that row of the grid. Using a standard text field with tab-delimited data in each row, I'd use the ClickText and the ClickLine in the field script to determine what the user clicked and trigger the appropriate actions. How would one achieve this in a DataGrid? Thanks in advance! Sieg Lindstrom ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
I think I figured it out - Hard to tell now but I don't think there was any data in the datagrid when I did the original test. Duh!!! Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 7:16 PM, dunb...@aol.com wrote: Peter. Those are the row and column properties I meant. But I do not understand why you cannot get what I got with the mouseUp handler. It is the very first thing I ever did with a dataGrid, before I learned some of the other functionalities. With that handler,I get something like: field Col 1 0001 which can be easily broken out as required. The handler is in the group script, right? Craig -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Jan 22, 2013 9:56 pm Subject: Re: clickability in a DataGrid Hi Craig, I tried your mouseUp Script and all I got was a reference to graphic dgalternatingrows no matter which row or column I click in. The EditFieldText trap would work but he'd have to double click the cell and I don't think that's what he had in mind. However, I think this seems to work as a scrip of the datagrid group (apologies if this ends up with asterisks all over it): *on* mouseUp pMouseBtnNum *if* pMouseBtnNum is 1 *then* *put* the dgColumn of the target,the dghilitedline of me *end* *if* *end* mouseUp lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 5:55 PM, dunb...@aol.com wrote: Hi. There are a few ways to do this. The old fashioned way is to write in the group script: on mouseUp put the target end mouseUp You get a result that is easily deconstructed to row and column references. You can also trap the editFieldText message, or any of the row and column properties. Craig Newman -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Jan 22, 2013 7:44 pm Subject: Re: clickability in a DataGrid Hi Sieg, I can't think of a way to detect a click in a specific cell of a datagrid. If nobody else can come up with something, a couple of alternatives would be to customize your Edit and Delete columns to contain buttons and put your delete/edit commands in the mouseUp handler for each button, or implement a right click popup menu with delete/edit options on it and put the logic in the menuPick handler for the popup. Would take too much space to describe how to do those things, but check out the datagrid manual for details. Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 4:09 PM, Sieg Lindstrom s...@trackandfieldnews.com wrote: I've used LiveCode/RunRev for some time but an new to using DataGrids. What I'd like to do (for Mac/Windows users) is include a DataGrid configured as, say, four columns of data followed by two columns that are the same in each row: one that reads Delete and one that reads Edit. I'd like to set it up so that if the user clicks on Delete or Edit in a given row that then triggers handlers to either delete that row or edit the data contained in the other four columns of that row of the grid. Using a standard text field with tab-delimited data in each row, I'd use the ClickText and the ClickLine in the field script to determine what the user clicked and trigger the appropriate actions. How would one achieve this in a DataGrid? Thanks in advance! Sieg Lindstrom ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please
Re: Moving focus between fields
Hi. The old fashioned way is to place a tabKey handler in the last (frontmost, so tab order hits it last) field of the group, and focus explicitly on the first one. Watch you layers, especially when grouping objects, but if you name your fields, this will not be an issue. Cannot help with the dictionary.No idea about that. Craig Newman -Original Message- From: Lars Brehmer larsbreh...@mac.com To: use-livecode use-livecode@lists.runrev.com Sent: Wed, Jan 23, 2013 7:51 am Subject: Moving focus between fields I want the tab key to move the cursor between the fields of a group. I want to restrict this action to that group. Furthermore, when the focus is on the last field in the group, I want the tab key to return the focus to the first field of the group. At first, with the focus on the last field, the tab key focused on a field in a hidden group. Hitting the tab key multiple times eventually returns the focus to the first field in the desired group. However, if I turn the focusable of all hidden fields off and try again, the tab key in the last field does not return the focus to the first field. And repeatedly hitting the tab key never brings the focus back to the first field in the group. What am I missing here? By the way - I usually solve most problems by studying the relevant entries in the the dictionary. But the dictionary doesn't work anymore, that is the dictionary appears with no content/entries? How can I get my dictionary back? Cheers, Lars ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
Who is Colin? Craig Newman -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Wed, Jan 23, 2013 1:00 pm Subject: Re: clickability in a DataGrid Hi Colin, For some reason your script now works as predicted instead of giving me a reference to dgalternatingrows so sorry for the confusion. Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 5:55 PM, dunb...@aol.com wrote: Hi. There are a few ways to do this. The old fashioned way is to write in the group script: on mouseUp put the target end mouseUp You get a result that is easily deconstructed to row and column references. You can also trap the editFieldText message, or any of the row and column properties. Craig Newman -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Jan 22, 2013 7:44 pm Subject: Re: clickability in a DataGrid Hi Sieg, I can't think of a way to detect a click in a specific cell of a datagrid. If nobody else can come up with something, a couple of alternatives would be to customize your Edit and Delete columns to contain buttons and put your delete/edit commands in the mouseUp handler for each button, or implement a right click popup menu with delete/edit options on it and put the logic in the menuPick handler for the popup. Would take too much space to describe how to do those things, but check out the datagrid manual for details. Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 4:09 PM, Sieg Lindstrom s...@trackandfieldnews.com wrote: I've used LiveCode/RunRev for some time but an new to using DataGrids. What I'd like to do (for Mac/Windows users) is include a DataGrid configured as, say, four columns of data followed by two columns that are the same in each row: one that reads Delete and one that reads Edit. I'd like to set it up so that if the user clicks on Delete or Edit in a given row that then triggers handlers to either delete that row or edit the data contained in the other four columns of that row of the grid. Using a standard text field with tab-delimited data in each row, I'd use the ClickText and the ClickLine in the field script to determine what the user clicked and trigger the appropriate actions. How would one achieve this in a DataGrid? Thanks in advance! Sieg Lindstrom ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
Thanks, Peter. This script works. Thank you and apologies for my earlier confusion. Sieg Lindstrom On Jan 22, 2013, at 7:21 PM, Peter Haworth wrote: Hi Craig, I tried your mouseUp Script and all I got was a reference to graphic dgalternatingrows no matter which row or column I click in. The EditFieldText trap would work but he'd have to double click the cell and I don't think that's what he had in mind. However, I think this seems to work as a scrip of the datagrid group (apologies if this ends up with asterisks all over it): *on* mouseUp pMouseBtnNum *if* pMouseBtnNum is 1 *then* *put* the dgColumn of the target,the dghilitedline of me *end* *if* *end* mouseUp lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
Sorry, Craig is what I meant to type and I can't even blame auto-correct! Pete lcSQL Software http://www.lcsql.com On Wed, Jan 23, 2013 at 10:05 AM, dunb...@aol.com wrote: Who is Colin? Craig Newman -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Wed, Jan 23, 2013 1:00 pm Subject: Re: clickability in a DataGrid Hi Colin, For some reason your script now works as predicted instead of giving me a reference to dgalternatingrows so sorry for the confusion. Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 5:55 PM, dunb...@aol.com wrote: Hi. There are a few ways to do this. The old fashioned way is to write in the group script: on mouseUp put the target end mouseUp You get a result that is easily deconstructed to row and column references. You can also trap the editFieldText message, or any of the row and column properties. Craig Newman -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Jan 22, 2013 7:44 pm Subject: Re: clickability in a DataGrid Hi Sieg, I can't think of a way to detect a click in a specific cell of a datagrid. If nobody else can come up with something, a couple of alternatives would be to customize your Edit and Delete columns to contain buttons and put your delete/edit commands in the mouseUp handler for each button, or implement a right click popup menu with delete/edit options on it and put the logic in the menuPick handler for the popup. Would take too much space to describe how to do those things, but check out the datagrid manual for details. Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 4:09 PM, Sieg Lindstrom s...@trackandfieldnews.com wrote: I've used LiveCode/RunRev for some time but an new to using DataGrids. What I'd like to do (for Mac/Windows users) is include a DataGrid configured as, say, four columns of data followed by two columns that are the same in each row: one that reads Delete and one that reads Edit. I'd like to set it up so that if the user clicks on Delete or Edit in a given row that then triggers handlers to either delete that row or edit the data contained in the other four columns of that row of the grid. Using a standard text field with tab-delimited data in each row, I'd use the ClickText and the ClickLine in the field script to determine what the user clicked and trigger the appropriate actions. How would one achieve this in a DataGrid? Thanks in advance! Sieg Lindstrom ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
No problem Sieg, glad we found a solution for you. Pete lcSQL Software http://www.lcsql.com On Wed, Jan 23, 2013 at 10:29 AM, Sieg Lindstrom s...@trackandfieldnews.comwrote: Thanks, Peter. This script works. Thank you and apologies for my earlier confusion. Sieg Lindstrom On Jan 22, 2013, at 7:21 PM, Peter Haworth wrote: Hi Craig, I tried your mouseUp Script and all I got was a reference to graphic dgalternatingrows no matter which row or column I click in. The EditFieldText trap would work but he'd have to double click the cell and I don't think that's what he had in mind. However, I think this seems to work as a scrip of the datagrid group (apologies if this ends up with asterisks all over it): *on* mouseUp pMouseBtnNum *if* pMouseBtnNum is 1 *then* *put* the dgColumn of the target,the dghilitedline of me *end* *if* *end* mouseUp lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
Hej Klaus, Many thanks for the tip and the link to the datagrid manual as PDF. I used too much shorthand in describing my desire to edit the content of the row. I'm trying to duplicate an admin tool that runs in Javascript on a server. The Javascript is a black box to me; I'm just trying to duplicate the functionality, so I don't want the user to have to edit rows in the datagrid, but rather select a row to edit, and then the editing will take place on a different card set up to mimic fields and buttons in the old admin tool. Now I'm on the right track. Thanks. Sieg Lindstrom On Jan 23, 2013, at 10:00 AM, Klaus on-rev wrote: well, DataGrids are extremely complex but also extremely powerful once you get to master them (more or less :-) OK, presumed you have a datagrid of type TABLE with a column named delete and when the user clicks on that column you want to delete the complete row of the datagrid, right? Deleting -Put this into the datagrids script: on mouseup ## WHAT column has been clicked? put the dgColumn of the target into tClickedColumnName ## User clicked the column delete: if tClickedColumnName = delete then ## Better ask EVERYTIME! ;-) answer Really delete? with Cancel or OK if it = Cancel then exit to top end if ## get the currently selected row put the dghilitedLines of me into tHL ## Now let the DG do the deletion dispatch DeleteLines to me with tHL end if end mouseup EDITING is definitively implemented in the default datagrid, just check editable in the inspector for the datagridand doubleclick any column to edit iits content. Or did I misunderstand your question about editing? Get the complete datagrid manual as PDF here: http://lessons.runrev.com/m/datagrid Work through the example to get the grips. I must confess that I need to re-read the docs everytime I did not work with DGs for more than one week, just too complex stuff :-D Sieg Lindstrom Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: LiveCode, stacks and Cloud Storage Services
HI Al, No, Amazon is pay per usage with alarms that you set. Actually they have started a free tier (new to me). https://aws.amazon.com/free/ But that does not seem to include the Edge Locations https://aws.amazon.com/s3/#pricing And for the Cloudfront (edge locations) https://aws.amazon.com/cloudfront/#pricing Simon From: Alejandro Tejada [via Runtime Revolution] [mailto:ml-node+s278305n4659404...@n4.nabble.com] Sent: Wednesday, January 23, 2013 8:05 AM To: As_Simon Subject: Re: LiveCode, stacks and Cloud Storage Services Hi Simon, As_Simon wrote Actually I was thinking of a different stack that I worked with libS3.rev, I have both but never tried libAws... I don't have high traffic, I use it for it's Edge Locations as my clients are downloading from all over the world. The monthly bills I get are a great laugh as they are for about 48 cents each month. 48 cents monthly? This could be for surpassing your monthly allowance of bandwidth.. but you paid upfront an annual subscription or fee for Amazon services. Or not? I have to investigate more about Amazon services! :-D Have a nice day! Al _ If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/LiveCode-stacks-and-Cloud-Sto rage-Services-tp4659286p4659404.html To unsubscribe from LiveCode, stacks and Cloud Storage Services, click here http://runtime-revolution.278305.n4.nabble.com/template/NamlServlet.jtp?mac ro=unsubscribe_by_codenode=4659286code=c2ltb25AYXNhdG8tbWVkaWEuY29tfDQ2NTk yODZ8LTE0MTg5MTI3MTg= . http://runtime-revolution.278305.n4.nabble.com/template/NamlServlet.jtp?mac ro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.names paces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.we b.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.nam l-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.n aml NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-stacks-and-Cloud-Storage-Services-tp4659286p4659414.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Controls in a stack
Cheap education. ;-) A lunch is always worth learning something new. Bob On Jan 22, 2013, at 3:17 PM, J. Landman Gay wrote: On 1/22/13 3:16 PM, Robert Sneidar wrote: I don't think it will. Behaviors expect a long ID don't they? What would the long ID of a non-placed background look like? I will bet lunch the next time I see you at any LC conference it will not work. I just tried it, and it works. You owe me lunch. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Filter and the Question Mark (escaping ? in regex)
It's my understanding that * means 0 to any number of characters, in which case these are both the same thing. I might be wrong though. Might explain why some of my filtering is not working as expected. :-) Bob On Jan 23, 2013, at 3:30 AM, Thierry Douez wrote: Hi Malte, for any position of ? in a line: filter tText with *[?]* for the last char of a line: filter tText with *[?] Regards, Thierry 2013/1/23 Malte Brill revolut...@derbrill.de Hi, I got a var tText that contains: asdf jkl? bcdk I want to do something like this filter tText with *\?* which should leave me with only jkl?. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Filter and the Question Mark (escaping ? in regex)
I just checked this, and Malte is correct. I see now why the second example would only select lines ending in ?. I should probably remove expert in regex from my resume? ;-) Bob On Jan 23, 2013, at 3:30 AM, Thierry Douez wrote: Hi Malte, for any position of ? in a line: filter tText with *[?]* for the last char of a line: filter tText with *[?] Regards, Thierry 2013/1/23 Malte Brill revolut...@derbrill.de Hi, I got a var tText that contains: asdf jkl? bcdk I want to do something like this filter tText with *\?* which should leave me with only jkl?. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Filter and the Question Mark (escaping ? in regex)
I mean Thierry I just checked this, and Malte is correct. I see now why the second example would only select lines ending in ?. I should probably remove expert in regex from my resume? ;-) Bob On Jan 23, 2013, at 3:30 AM, Thierry Douez wrote: Hi Malte, for any position of ? in a line: filter tText with *[?]* for the last char of a line: filter tText with *[?] Regards, Thierry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: More about audio-video
I think poor Jacque is in one of those situations where the requirements for her project are self contradictory. An extreme example might be if someone wanted me to write a game that was completely portable, and required advanced 3D graphics capabilities, but had to work without requiring the use of a 3D graphics card. I would have to find a polite way to say, You people are out of your minds. To say it needs to be portable, play audio and video, and you cannot require the installation of any software is perhaps a bridge to far. Does any other development environment have the capability to natively embed audio and video codecs in a portable app and use them even if they are not installed in a system? I think this is a limitation of making something portable, and not a deficiency of LC proper. my 2 ¢. Bob On Jan 23, 2013, at 4:37 AM, Roger Eller wrote: On Jan 23, 2013 12:07 AM, J. Landman Gay wrote: On 1/22/13 10:56 PM, J. Landman Gay wrote: On 1/22/13 9:46 PM, Roger Eller wrote: I think MPEG1 2, as well as AVI. It can't just be MPEG1 and 2, can it? Never mind, I see that's exactly what you meant. MPEG 1 and 2 and AVI. That's pretty bad. -- Jacqueline Landman Gay I don't blame Microsoft though. These were the formats of that time. I believe MetaCard could play them. RunRev has dropped the ball with desktop parity long ago. Of course Linux has fallen farthest behind, requiring Xanim to play the old formats. ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Moving focus between fields
Can't you just set the traversal of all other objects to false? This will prevent the other objects from receiving the focus, which is what tabbing actually does. An easy way to accomplish this is to show all hidden objects on a card, enable select grouped controls, select all, pull up the property inspector, turn off traversal, select only the objects in your group, turn on traversal, hide objects again. As with all my advice, use at your own peril. :-) Bob On Jan 23, 2013, at 4:50 AM, Lars Brehmer wrote: I want the tab key to move the cursor between the fields of a group. I want to restrict this action to that group. Furthermore, when the focus is on the last field in the group, I want the tab key to return the focus to the first field of the group. At first, with the focus on the last field, the tab key focused on a field in a hidden group. Hitting the tab key multiple times eventually returns the focus to the first field in the desired group. However, if I turn the focusable of all hidden fields off and try again, the tab key in the last field does not return the focus to the first field. And repeatedly hitting the tab key never brings the focus back to the first field in the group. What am I missing here? By the way - I usually solve most problems by studying the relevant entries in the the dictionary. But the dictionary doesn't work anymore, that is the dictionary appears with no content/entries? How can I get my dictionary back? Cheers, Lars ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: clickability in a DataGrid
What if the selection is not changing? On Jan 22, 2013, at 8:19 PM, Peter Haworth wrote: Yep, in the group script. You could probably do it in a selectionChanged handler as well. Pete On Tuesday, January 22, 2013, dunb...@aol.com wrote: Peter. Those are the row and column properties I meant. But I do not understand why you cannot get what I got with the mouseUp handler. It is the very first thing I ever did with a dataGrid, before I learned some of the other functionalities. With that handler,I get something like: field Col 1 0001 which can be easily broken out as required. The handler is in the group script, right? Craig -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Jan 22, 2013 9:56 pm Subject: Re: clickability in a DataGrid Hi Craig, I tried your mouseUp Script and all I got was a reference to graphic dgalternatingrows no matter which row or column I click in. The EditFieldText trap would work but he'd have to double click the cell and I don't think that's what he had in mind. However, I think this seems to work as a scrip of the datagrid group (apologies if this ends up with asterisks all over it): *on* mouseUp pMouseBtnNum *if* pMouseBtnNum is 1 *then* *put* the dgColumn of the target,the dghilitedline of me *end* *if* *end* mouseUp lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 5:55 PM, dunb...@aol.com wrote: Hi. There are a few ways to do this. The old fashioned way is to write in the group script: on mouseUp put the target end mouseUp You get a result that is easily deconstructed to row and column references. You can also trap the editFieldText message, or any of the row and column properties. Craig Newman -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Jan 22, 2013 7:44 pm Subject: Re: clickability in a DataGrid Hi Sieg, I can't think of a way to detect a click in a specific cell of a datagrid. If nobody else can come up with something, a couple of alternatives would be to customize your Edit and Delete columns to contain buttons and put your delete/edit commands in the mouseUp handler for each button, or implement a right click popup menu with delete/edit options on it and put the logic in the menuPick handler for the popup. Would take too much space to describe how to do those things, but check out the datagrid manual for details. Pete lcSQL Software http://www.lcsql.com On Tue, Jan 22, 2013 at 4:09 PM, Sieg Lindstrom s...@trackandfieldnews.com wrote: I've used LiveCode/RunRev for some time but an new to using DataGrids. What I'd like to do (for Mac/Windows users) is include a DataGrid configured as, say, four columns of data followed by two columns that are the same in each row: one that reads Delete and one that reads Edit. I'd like to set it up so that if the user clicks on Delete or Edit in a given row that then triggers handlers to either delete that row or edit the data contained in the other four columns of that row of the grid. Using a standard text field with tab-delimited data in each row, I'd use the ClickText and the ClickLine in the field script to determine what the user clicked and trigger the appropriate actions. How would one achieve this in a DataGrid? Thanks in advance! Sieg Lindstrom ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list -- Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: More about audio-video
On 1/23/13 3:31 PM, Robert Sneidar wrote: To say it needs to be portable, play audio and video, and you cannot require the installation of any software is perhaps a bridge to far. Given the nature of the software though, the requirement is legitimate. Does any other development environment have the capability to natively embed audio and video codecs in a portable app and use them even if they are not installed in a system? Actually, Alejandro suggested a clever app that can embed QT (or other things) into your software, but I'm hesitant to use a solution that I have no control over. Since the client will be creating the video, my current thinking is to create two versions, one in WMP native format and another in QT format. The software will download the right one according to platform. That seems the simplest way. The player object works on Windows with movies in WMP format, though there are some bugs that need to be fixed regarding scripted playback. I got excited yesterday when I found that my Mac could also play WMP movies, until I remembered I had Flip4Mac installed. It was a short-lived high. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: More about audio-video
J. Landman Gay wrote Since the client will be creating the video, my current thinking is to create two versions, one in WMP native format and another in QT format. The software will download the right one according to platform. That seems the simplest way. The player object works on Windows with movies in WMP format, though there are some bugs that need to be fixed regarding scripted playback. This is the conclusion I came to for my flash drive stored apps. MPEG2 was the most modern cross platform CODEC. Which you still might consider if it's for your flash drive project as people tend to walk around with the drive and just plug it in anywhere. Yes, I know the quality is not that great compared to modern CODECs, but it's a balance with portability. Our high end luxury goods clients decided to force download of both WMP and QT in the end. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/More-about-audio-video-tp4659056p4659424.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: More about audio-video
That might be an option. Tell them, I can do this, but if you want the best quality, then I need to ensure that certain codecs are installed. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Jan 23, 2013, at 14:44, As_Simon si...@asato-media.com wrote: J. Landman Gay wrote Since the client will be creating the video, my current thinking is to create two versions, one in WMP native format and another in QT format. The software will download the right one according to platform. That seems the simplest way. The player object works on Windows with movies in WMP format, though there are some bugs that need to be fixed regarding scripted playback. This is the conclusion I came to for my flash drive stored apps. MPEG2 was the most modern cross platform CODEC. Which you still might consider if it's for your flash drive project as people tend to walk around with the drive and just plug it in anywhere. Yes, I know the quality is not that great compared to modern CODECs, but it's a balance with portability. Our high end luxury goods clients decided to force download of both WMP and QT in the end. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/More-about-audio-video-tp4659056p4659424.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Moving focus between fields
Lars Brehmer wrote By the way - I usually solve most problems by studying the relevant entries in the the dictionary. But the dictionary doesn't work anymore, that is the dictionary appears with no content/entries? How can I get my dictionary back? Possibly you have one of the left hand column menus selected? Select All not Library,Object,Language. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Moving-focus-between-fields-tp4659402p4659427.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: More about audio-video
On 1/23/13 4:44 PM, As_Simon wrote: J. Landman Gay wrote Since the client will be creating the video, my current thinking is to create two versions, one in WMP native format and another in QT format. The software will download the right one according to platform. That seems the simplest way. The player object works on Windows with movies in WMP format, though there are some bugs that need to be fixed regarding scripted playback. This is the conclusion I came to for my flash drive stored apps. MPEG2 was the most modern cross platform CODEC. Which you still might consider if it's for your flash drive project as people tend to walk around with the drive and just plug it in anywhere. Yup, flash drive, and that's exactly what will happen. Who knows what computer they'll be on. I'll ask about MPEG2 though in case the client is willing to compromise a little. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: XFS: RevServer, web hosts, and you
Richard, Thanks for this useful (and strategic in about preventing problems) HOWTO alert. Pierre Le 22 janv. 2013 à 20:33, Richard Gaskin a écrit : I recently had occasion to learn a bit more about file systems than I had intended, and will share what I've learned here because it may affect some RevServer or Rev CGI installations on third-party hosts: PROBLEM: Some file I/O operations fail under XFS Dreamhost and some other web hosting companies have begun rolling out new servers which use the XFS file system. XFS is said to have better performance than EXT3 and even EXT4 used on most Linux systems, but apparently this comes with a risk of compatibility issues. With LiveCode I've found two specific issues, though there may be others: 1. put url (file:PathToLocalFile) This fails, with sysError reporting 75. Oddly, using open.../read.../close... works fine. 2. put the files This also fails, always returning empty even when you know there are files there. While researching this I found some comments in the RealBASIC list archives suggesting that the RB engine also has problems with the XFS file system, so this is not solely a LiveCode issue. In fact, it seems there may be a few other programs that have also experienced problems with XFS. DIAGNOSIS - You can determine which file system your host is using by logging into the system via SSH and running this command: df -T This will produce a columnar output which lists the various volumes and their file systems available to your account. Note the second column on the line for /home (often the last line of the output). It's usually either EXT3, EXT4, or XFS. If it's XFS you may want to try a quick script to verify that your system is having the same limitations I had, either attempting to get a list of files using the files or reading a local file using put url REMEDY: Short-term -- If your system is using XFS, the quickest short-term solution is to ask your web hosting company to move your account to a system that is both 32-bit compatible and also uses either EXT3 or EXT4. With Dreamhost, it took a little back-and-forth via email, but as with the RealBASIC user I'd come across they eventually offered to move my accounts to a compatible system. Hopefully your web host will be able to do the same. REMEDY: Long-term - With the apparent growing popularity of XFS on web servers, clearly any long-term solution will require a version of the LiveCode engine which is compatible with XFS. I've been using my Dev Program Quick Incident benefits to enlist the assistance of David Williams at RunRev, who's been enormously helpful in going through the code to try to pinpoint the underlying cause. His diagnosis is still ongoing at the moment, and as I learn more I'll report back. If we're lucky we'll find that there are alternative API calls that RunRev could use for XFS which will take care of this. If so, we can then expect a future version of LiveCode to be compatible with XFS. We may also find that the issue may be a bug in the driver or other component in the system, in which case we'll have to monitor progress on that and see how it goes. Hopefully one way or another we'll have a good long-term solution in place soon. The RunRev team is putting in an admirable effort toward this, and in the meantime if you experience file I/O issues on your web server and can verify that your host is using XFS, you may want to contact your hosting company to see if they can move your account to a machine using a different file system. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Mobile Browser overlays
I am trying to overlay a field on a browser control. It's my LC version of Android toast. I can't see the field even if I set its layer to top. Both Android and iOS do the same thing. Did I miss something or this not possible? Thanks. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mobile Browser overlays
Do you mean a livecode field or a native one? All livecode objects are in a view that is below the native views. You can layer multiple native views on top though. Cheers Monte On 24/01/2013, at 3:16 PM, Ralph DiMola rdim...@evergreeninfo.net wrote: I am trying to overlay a field on a browser control. It's my LC version of Android toast. I can't see the field even if I set its layer to top. Both Android and iOS do the same thing. Did I miss something or this not possible? Thanks. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: Mobile Browser overlays
Monte, I was using a livecode field object. This worked on every card except for the one with the native browser. I will use a native input object and set to read-only. Is the layer position determined solely by the order they are created? And I guess there is no transparency possible either. Thanks! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Monte Goulding Sent: Wednesday, January 23, 2013 11:35 PM To: How to use LiveCode Subject: Re: Mobile Browser overlays Do you mean a livecode field or a native one? All livecode objects are in a view that is below the native views. You can layer multiple native views on top though. Cheers Monte On 24/01/2013, at 3:16 PM, Ralph DiMola rdim...@evergreeninfo.net wrote: I am trying to overlay a field on a browser control. It's my LC version of Android toast. I can't see the field even if I set its layer to top. Both Android and iOS do the same thing. Did I miss something or this not possible? Thanks. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Challenging new property inspector in LC6 dp4
Rather than get any real work done this evening, I've been dutifully trying to describe a bunch of issues with the property inspector in LC6.0 dp4 through the quality control center. However, the last straw was the QCC demanding in bold letters on a blood red background that A value must be set for the 'Desktop OS' field. when there was no such field on the preceding form, try as I might to find it. And if that data is missing, why can't it ask, What is your desktop OS? It's not like there are that many required fields. And I had already recorded that info in my report. If anyone knows where to enter my desktop OS, please let me know. I looked in a lot of places in the QCC, didn't see it. So, here's my list of problems with the PI. If anyone knows how to circumvent them, please share. Anyone who can get this to RunRev's attention please feel free, I need to invest my time elsewhere at this point. And please, RunRev, can the feedback loop be a little more gracious? REPORT The LC 6.0 dp4 new property inspector is practically unusable for me in multiple regards: 1. Any object selected with the pointer tool changes content of the new property inspector, but I cannot use the pointer tool to browse or adjust anything in the new property inspector, I just wind up selecting objects in the inspector. So I try switching to the browse tool, and the new property inspector immediately changes focus to inspect itself: stack idePropertyInspector. It seems to work to pointer-click an object in my stack, pointer-click a field in the inspector, and then choose the browse tool. The inspector then displays information about the last selected object in my stack (even though that object is now deselected), and it is possible to browse. 2. If it is closed, the new property inspector pops up with every object selection using the pointer tool, and gets in front of the stack I am trying to edit. In fact, if I point at an object in my stack so that the new property inspector comes to the fore, and then go to the tools palette and double click on a button, the newly created button will appear in the property inspector, not my stack. This is extremely unexpected and disconcerting, especially given how hard it is to get the inspector out of the way for any length of time. Shouldn't it be acting more like a palette and less like a stack in development? 3. I have not found a way to suppress the new property inspector: it appears, in front of my stack, with any double click of the pointer tool, and with any single click of the pointer tool if the inspector has been closed. If this is going to be released, opting for the old property inspector needs to be an setting, IMO. 4. On one occasion that I cannot reproduce yet, turning on suppress messages and then clicking on an object caused a function call to ideMessagesSuppress() to hang with an effective freeze of Livecode - unresponsive to command-period, quit, escape, etc. I had to force-quit LiveCode, although it was still responsive in the opinion of the Activity Monitor. I often have freezes that appear related to browsing the documentation or manipulating the new property inspector but that can be escaped with control-period to abort some script. This was different. 5. A lot of the text settings in the new prop inspector change the settings of all of the fields in the prop inspector, which is very effective visual feedback, but I don't know that I want all of the labels and contents in the new PI struck through just because I want the field in my stack to display struck through text, for instance. These behaviors were not an issue for me with LC 6 dp1, the version I had been using until today. There are still issues with forcing custom property saves after manual edits of the old property inspector. Computer: Model Name: MacBook Pro Model Identifier: MacBookPro4,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 3 MB Memory: 2 GB Bus Speed: 800 MHz Boot ROM Version: MBP41.00C1.B03 SMC Version (system): 1.27f3 Serial Number (system): W8823. Hardware UUID: E39105FB-.. Sudden Motion Sensor: State: Enabled OSX 10.5.8 /REPORT /RANT Thanks, Walt Sumner ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Challenging new property inspector in LC6 dp4
On 01/24/2013 07:50 AM, Sumner, Walt wrote: Rather than get any real work done this evening, I've been dutifully trying to describe a bunch of issues with the property inspector in LC6.0 dp4 through the quality control center. However, the last straw was the QCC demanding in bold letters on a blood red background that A value must be set for the 'Desktop OS' field. when there was no such field on the preceding form, try as I might to find it. And if that data is missing, why can't it ask, What is your desktop OS? It's not like there are that many required fields. And I had already recorded that info in my report. If anyone knows where to enter my desktop OS, please let me know. I looked in a lot of places in the QCC, didn't see it. So, here's my list of problems with the PI. If anyone knows how to circumvent them, please share. Anyone who can get this to RunRev's attention please feel free, I need to invest my time elsewhere at this point. And please, RunRev, can the feedback loop be a little more gracious? REPORT The LC 6.0 dp4 new property inspector is practically unusable for me in multiple regards: 1. Any object selected with the pointer tool changes content of the new property inspector, but I cannot use the pointer tool to browse or adjust anything in the new property inspector, I just wind up selecting objects in the inspector. So I try switching to the browse tool, and the new property inspector immediately changes focus to inspect itself: stack idePropertyInspector. It seems to work to pointer-click an object in my stack, pointer-click a field in the inspector, and then choose the browse tool. The inspector then displays information about the last selected object in my stack (even though that object is now deselected), and it is possible to browse. 2. If it is closed, the new property inspector pops up with every object selection using the pointer tool, and gets in front of the stack I am trying to edit. In fact, if I point at an object in my stack so that the new property inspector comes to the fore, and then go to the tools palette and double click on a button, the newly created button will appear in the property inspector, not my stack. This is extremely unexpected and disconcerting, especially given how hard it is to get the inspector out of the way for any length of time. Shouldn't it be acting more like a palette and less like a stack in development? 3. I have not found a way to suppress the new property inspector: it appears, in front of my stack, with any double click of the pointer tool, and with any single click of the pointer tool if the inspector has been closed. If this is going to be released, opting for the old property inspector needs to be an setting, IMO. 4. On one occasion that I cannot reproduce yet, turning on suppress messages and then clicking on an object caused a function call to ideMessagesSuppress() to hang with an effective freeze of Livecode - unresponsive to command-period, quit, escape, etc. I had to force-quit LiveCode, although it was still responsive in the opinion of the Activity Monitor. I often have freezes that appear related to browsing the documentation or manipulating the new property inspector but that can be escaped with control-period to abort some script. This was different. 5. A lot of the text settings in the new prop inspector change the settings of all of the fields in the prop inspector, which is very effective visual feedback, but I don't know that I want all of the labels and contents in the new PI struck through just because I want the field in my stack to display struck through text, for instance. These behaviors were not an issue for me with LC 6 dp1, the version I had been using until today. There are still issues with forcing custom property saves after manual edits of the old property inspector. Computer: Model Name: MacBook Pro Model Identifier: MacBookPro4,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 3 MB Memory: 2 GB Bus Speed: 800 MHz Boot ROM Version: MBP41.00C1.B03 SMC Version (system): 1.27f3 Serial Number (system): W8823. Hardware UUID: E39105FB-.. Sudden Motion Sensor: State: Enabled OSX 10.5.8 /REPORT /RANT Thanks, Walt Sumner ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode I have a funny feeling this should be on the developer list, and NOT here. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mobile Browser overlays
I will use a native input object and set to read-only. Is the layer position determined solely by the order they are created? Yep And I guess there is no transparency possible either. Yes, backgroundColor has an alpha channel. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode