Hi Craig Actually I am very determined to get to a mastery of LC. I understand it takes time. BUT, after 35 plus years working with programming database apps I find it odd that the old HyperCard I used 20 years ago has evolved but not as well documented as was HyperCard of old. Oh yes I know HyperCard was much smaller in scope then, but 30 years have passed since then. I have used a large number of different database programs over the years and judging LC against them I find LC fragmented as to the documentation.
The current database I use is FileMaker Advanced and it is so well documented it is a gem to work with. By the way my expectations was to use LC as a database substitute with IOS and Android. I have had to reassess my goals based on the limits I have seen to date of LC. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Thu, Sep 12, 2013 at 8:42 PM, <dunb...@aol.com> wrote: > Vaughn. > > > I keep hearing a certain tone in all your correspondence, that LC is > flawed in much of its implementation, its documentation and its execution. > It ain't so. It is, rather, a modern miracle of software, and transcends > the programming paradigm common to virtually all other similar packages. > Much of your frustration derives from simple newness. > > > All of your issues are well within the capabilities of LiveCode, and, > forgive me, at a novice/intermediate level. > > > For example, as Stephen mentioned, strip out formatting characters before > you do the math. No program ca directly perform calculations on a string > such as "$45". Internally, the dollar sign (or comma) is stripped and then > reapplied. In LC, this must be managed by you. The good news is that this > process is easy and fun. > > > Your query about card level functionality addresses what Jacque alluded > to, that the message hierarchy is a fundamental, foundational cornerstone > of the structure of the program. It just means to me that you are still > feeling your way forward. This is all to the good.. > > > So. > > > I am gratified that you are doggedly and stubbornly moving forward, in > spite of your frustration. You will quite soon get it. My wager stands. > > > Craig Newman > > > -----Original Message----- > From: Vaughn Clement <vclem...@gmail.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Sent: Thu, Sep 12, 2013 10:18 pm > Subject: Trying a custom handler for several math fields > > > Hi All > > Since my scripts were lost on the update app killer I wanted to try out a > custom handler: > > I wanted to try this out to see how it works for the first time. The > original scripts (lost now) were using a field control to do the math > between 3 to 4 fields. I used the suggested on closeField handler. > It took some time but I had all of the fields doing the correct math. > > 1 Issue: on the card the different sets of field controls would only update > within the set of fields in the script. If a user edited one of the fields > that set would update. What I needed was to have all the fields update > regardless of what set they below too. > I assume that this can be done by passing the handler call up to the card > level? > My questions are as follow: > > 1. Can a custom handler work like "on doMath" and pass script to make it > work from the card level? > 2. The on doMath handler at the card level; can it include all of the > different math scripts in that one handler so they all update at the same > time from any field edited in the sets of fields needing updates. > 3. Can I also include the field format command. > 4. My consideration is that the fields were not updating as a complete > group and that will confuse the user when they now need to re-enter the > other fields to trigger the related changes from the other edits? > > Last concern: I was able to get the format to add the decimal places, but I > needed to have the money symbol in the field also. When the typed in the > field the math script won't run. The same thing happened when I used a > comma for the divider of hundreds. So that kills the scripts. I did not > find anything that tells you how to solve this? I tried the dictionary for > answers but nothing was doing it! > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/* > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclem...@gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > _______________________________________________ > 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