Search found 9463 matches

by dunbarx
Sun May 26, 2024 1:36 pm
Forum: Windows
Topic: Standalone (LC Community 9.5) stopped running
Replies: 4
Views: 132

Re: Standalone (LC Community 9.5) stopped running

And if it does, it may be of interest to Scotland. Even though the community versions are no longer supported, that fact may yield important information overall.

Craig
by dunbarx
Sun May 26, 2024 1:27 pm
Forum: Windows
Topic: Standalone (LC Community 9.5) stopped running
Replies: 4
Views: 132

Re: Standalone (LC Community 9.5) stopped running

(except for automatic win updates)
I don't use Windows much but is that a clue? Does it still run in an earlier version?

Craig
by dunbarx
Thu May 23, 2024 5:04 pm
Forum: Android Deployment
Topic: How to create scripts for buttons that execute arithmetic operations
Replies: 5
Views: 350

Re: How to create scripts for buttons that execute arithmetic operations

Richard.

The OP mentioned following a tutorial, though not which one. I suspect that since entry validation was mentioned early on, that the "calculator" is more home-brewed than the ordinary tutorial version.

Craig
by dunbarx
Thu May 23, 2024 3:38 pm
Forum: Talking LiveCode
Topic: LiveCode Button Click Not Updating Label
Replies: 2
Views: 278

Re: LiveCode Button Click Not Updating Label

What Klaus said about the fact that you loaded a variable as opposed to some sort of control. When you say 'myLabelText", do you mean a label field? That is, not a button at all, but a field? If so, you would: put the short date into field "yourFieldHere" We will get together on the proper way to co...
by dunbarx
Thu May 23, 2024 3:33 pm
Forum: Android Deployment
Topic: How to create scripts for buttons that execute arithmetic operations
Replies: 5
Views: 350

Re: How to create scripts for buttons that execute arithmetic operations

Me again. I am not sure how your app is built. For example, if it contains only buttons with numbers labelled on them, and other buttons that only, say, add, there is no need for entry validation. But you yourself raised that point, so perhaps your calculator asks the user to enter numbers, and then...
by dunbarx
Thu May 23, 2024 3:22 pm
Forum: Android Deployment
Topic: How to create scripts for buttons that execute arithmetic operations
Replies: 5
Views: 350

Re: How to create scripts for buttons that execute arithmetic operations

Just read your post again. When you have mastered the sample stack, the answer to your other questions will become pertinent. Write back at that time and we can go through the MANY small tweaks that a reliable calculator should have, like entry validation. It would not be good if the user tried to a...
by dunbarx
Thu May 23, 2024 3:18 pm
Forum: Android Deployment
Topic: How to create scripts for buttons that execute arithmetic operations
Replies: 5
Views: 350

Re: How to create scripts for buttons that execute arithmetic operations

Hi, Welcome to LC and this forum.

Here is a simple stack. Check out the scripts of the "+" button, the "clear" button and the two top fields. This should be enough to finish your app.
simpleAdder.livecode.zip
(1.1 KiB) Downloaded 10 times
Craig
by dunbarx
Wed May 22, 2024 9:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to delete row in the polygrid?
Replies: 10
Views: 618

Re: how to delete row in the polygrid?

So I just played around with a polyGrid. Nice looking, and I answered my own question, they are in between a table field and a DG; the widget API is very friendly. I will consider them the next time I need anything like it. I am less outraged now than a couple of hours ago, except for Taco Bell. Craig
by dunbarx
Wed May 22, 2024 9:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to delete row in the polygrid?
Replies: 10
Views: 618

Re: how to delete row in the polygrid?

Stam.
the developer they purchased this from... FerrusLogic?).
I had no idea (some?) widgets were not home grown. What other widgets come from Taco Bell?

Craig
by dunbarx
Wed May 22, 2024 9:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to delete row in the polygrid?
Replies: 10
Views: 618

Re: how to delete row in the polygrid?

Klaus (and Stam or anyone)... set the pgDeleteRow of widget "pgDetails" to theLine I have never used a widget. But is it true that one can simply refer to a widget by name when setting a property that likely only makes sense to a certain type of widget? You cannot dispatch "deleteLine" to a polygrid...
by dunbarx
Wed May 22, 2024 8:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to delete row in the polygrid?
Replies: 10
Views: 618

Re: how to delete row in the polygrid?

Thanks for that, Stam. It still seems odd to me that a widget, of any kind, strays so far from "standard" LC thinking. Maybe there are performance benefits? Anyway, can you tell me briefly what a polyGrid does that either a table field or a dataGrid does not? Does it lie in the middle of those two i...
by dunbarx
Wed May 22, 2024 3:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to delete row in the polygrid?
Replies: 10
Views: 618

Re: how to delete row in the polygrid?

This makes no sense to me at all. If a polygrid requires that a property of its lines be set to "delete", then what happens if one wants to put something back into that line? Do I assume you set that property back to "false", and THEN place the new data into the line? Oh, wait, I see. I bet you set ...
by dunbarx
Tue May 21, 2024 8:30 pm
Forum: Talking LiveCode
Topic: Is a good idea?
Replies: 11
Views: 552

Re: Is a good idea?

It is true that LC does not run as quickly as other lower level languages. But as a benchmark, consider this code: on mouseUp put the ticks into tStartTime --This puts a system time stamp (the "ticks") into a variable I just created, "tStartTime" put 0 into tCounter -- put a zero into another variab...
by dunbarx
Tue May 21, 2024 6:25 pm
Forum: Talking LiveCode
Topic: Is a good idea?
Replies: 11
Views: 552

Re: Is a good idea?

Oliver. Make an address book stack using a separate card for each person. That will take time, and will likely not be pretty. Do not worry about pretty. Yet. Now embellish it with gadgetry, sorting, finding, adding attributes to each entry so that you can isolate, say, family members or people you d...
by dunbarx
Sun May 19, 2024 5:23 am
Forum: Databases
Topic: Database using only native Livecode?
Replies: 6
Views: 566

Re: Database using only native Livecode?

Stam makes two valid points: 1- The built-in tools have their own learning curve apart from "basic" LC, but are already designed and optimized to do such tasks. That makes sense. 2- Rolling your own is certainly workable, more fun, and a far better learning tool, since you will be working with LC "i...

Go to advanced search