[ANN] This Week in LiveCode 138

2018-07-23 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #138 here: https://goo.gl/TpJVrX This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

LCARS controls as LC widget - Is it possible?

2018-07-23 Thread Eller, Roger via use-livecode
http://lcarssdk.org LCARS SDK lcarssdk.org LCARS SDK | A Functional Implementation of the LCARS Methodology. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and man

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Bob Sneidar via use-livecode
Hi all. With a clearer head I have discovered that indeed setting the behavior in the way prescribed sets it GLOBALLY for ALL grids! That will not do for my purposes, because the grids in my substacks operate a bit differently than the one in the mainstack. Well my workaround before was to p

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > With a clearer head I have discovered that indeed setting the behavior > in the way prescribed sets it GLOBALLY for ALL grids! That will not do > for my purposes, because the grids in my substacks operate a bit > differently than the one in the mainstack. > > Well my workarou

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Bob Sneidar via use-livecode
The Datagrid no longer behaves as such. SelectionChanged never gets triggered. Data doesn't populate. In short, none of the custom props messages seem to arrive at the datagrid library. Bob S > On Jul 23, 2018, at 08:29 , Richard Gaskin via use-livecode > wrote: > > Was your request submit

Re: drawing a Barcode without a Barcode font

2018-07-23 Thread Phil Davis via use-livecode
I wonder what would happen if you turned the bar code by 90 degrees and then printed it? Could it be scanned then? Just a wild thought... Phil Davis On 7/22/18 2:43 PM, Matthias Rebbe via use-livecode wrote: Of course i meant So the code below shows the settings which allow us to scan the l

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Niggemann, Bernd via use-livecode
The problem Bob Sneidar ran into by changing the order of the behaviors of a dataGrid is due to the initialization process of the dataGrid at start-up. The behavior looks for a resourceStack by means of this handler. private function _ResourceStack local theStack, theCharNo put the behavio

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Brian Milby via use-livecode
So that is something that could be fixed pretty easily. I’m thinking a script local to store the value which will offset the additional work to figure it out the first time. Logic would be to check for some key object and if not found then move up the behavior chain a level and look. Could eith

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Bob Sneidar via use-livecode
Thanks for looking into this all. Leave it to me to attempt some edge case scenario. I'm curious how Trevor handles this in his levure framework. There's no way I can see to move current custom code to a stack only script for datagrids. Bob S > On Jul 23, 2018, at 14:01 , Brian Milby via use

Data Persistence

2018-07-23 Thread John McKenzie via use-livecode
Hello, all. I am new to Livecode development but not computing. When I heard of something that was inspired by Hypercard I had to know more. Used Livecode to make a little app on my phone for work but the level of interest this app generated now make me want to finish it, and maybe even share

Re: drawing a Barcode without a Barcode font

2018-07-23 Thread Bob Sneidar via use-livecode
Out of curiosity, does printed barcodes from the laserwriter still work with these settings? Bob S > On Jul 22, 2018, at 14:18 , Matthias Rebbe via use-livecode > wrote: > > I have to add something. > > As I wrote, we were able to successfully scan the labels. This is true as > long as we

Re: Data Persistence

2018-07-23 Thread Brian Milby via use-livecode
I built a time tracking app that had the same type of persistence requirement. I used a text file for the data store. Each time any field had a change, the data was saved again. When loading the app it would import the current data. Data was only cleared on request (and I would only allow that a

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Niggemann, Bernd via use-livecode
my solution would be to change private function _ResourceStack of stack RevDataGridLibraryBehaviorsDataGridButtonBehavior to private function _ResourceStack local theStack, theCharNo put the behavior of me into theStack repeat if trueWord - 1 of theStack is "revDataGridLibrary" or the

Re: drawing a Barcode without a Barcode font

2018-07-23 Thread Jim Lambert via use-livecode
> Matthias wrote: > > If we print the labels with a thermo printer (203 dpi) then the code cannot > be scanned with the values i posted before. > We had set the line thickness of the rectangles to 0 and had to increase the > width of the black bars and decrease the width of the clear ones. I

Re: Data Persistence

2018-07-23 Thread Tom Glod via use-livecode
welcome john.just as a tiparrayencode is very handy for saving whatever you needyou can always also use a sqlite database to store data and load / refresh whenever you needit also also works as in-memory database. On Mon, Jul 23, 2018 at 6:21 PM, Brian Milby via use-livecode < use-

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Bob Sneidar via use-livecode
I tried this, I apparently don't have permission to save the file once edited. It's probably in the Livecode APP bundle. I'll poke around and test this later. Bob S > On Jul 23, 2018, at 15:22 , Niggemann, Bernd via use-livecode > wrote: > > my solution would be to change private function _

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Bob Sneidar via use-livecode
I found and made a copy of the datagrid library stack on my desktop. I still cannot save the modification you proposed to the script of the datagrid button in this stack. It says it can't open stack script file. Well my workaround is functional, so I'm sticking with that. If the devs want to t

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Brian Milby via use-livecode
What OS are you using? It will be inside the IDE, but will get copied into your app as well. You will probably need admin rights to edit. I would do it in an external editor too. It probably would be an enhancement request (therefore 9.1), but I would be happy to submit a PR against a BZ report

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Trevor DeVore via use-livecode
On Mon, Jul 23, 2018 at 4:51 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks for looking into this all. Leave it to me to attempt some edge case > scenario. I'm curious how Trevor handles this in his levure framework. > There's no way I can see to move current cust

Re: Datagrids and Nested Behaviors

2018-07-23 Thread Brian Milby via use-livecode
Here is my slight modification to the suggestion: local sResourceStack private function _ResourceStack local theStack, theCharNo if sResourceStack is empty then put the behavior of me into theStack repeat if trueWord -1 of theStack is "revDataGridLibrary" or theStack i