Search found 423 matches
- Tue Jun 10, 2025 8:48 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Screen freezes about 30 seconds after exiting repeat loop
- Replies: 10
- Views: 3243
Re: Screen freezes about 30 seconds after exiting repeat loop
Thanks everyone, I'll check out the 'zero' possibility. I made a workaround having discovered that the 'hang' occurs just before the processing of the last iteration. So I finish the loop before the last iteration, Repeat until check equals one, then do the last processing outside the loop. There wa...
- Mon Jun 09, 2025 1:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Screen freezes about 30 seconds after exiting repeat loop
- Replies: 10
- Views: 3243
Screen freezes about 30 seconds after exiting repeat loop
Hi, I set up a repeat loop, 'repeat until fld "temp56" is 0', with a -1 negative adjustment to the value of fld "temp56" on each repeat. It works fine, negotiating a multitude of conditions, all correctly done. Then, when all is done (the loop moved lines of data from a DG to another DG), the screen...
- Fri May 16, 2025 9:53 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Script to delete unwanted cards.
- Replies: 11
- Views: 2412
Re: Script to delete unwanted cards.
Many thanks both - good to know you're still here !
- Thu May 15, 2025 8:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Script to delete unwanted cards.
- Replies: 11
- Views: 2412
Re: Script to delete unwanted cards.
The script is
Code: Select all
go to cd "template2"
clone cd "template2"
set the name of card "template2" to fld "d" of cd "start here"
go to cd fld "d" of cd "start here"
- Thu May 15, 2025 1:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Script to delete unwanted cards.
- Replies: 11
- Views: 2412
Re: Script to delete unwanted cards.
I certainly haven't written any code to create tyhe second card; I imagined that it was some built in aspect of LC.
- Thu May 15, 2025 1:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Script to delete unwanted cards.
- Replies: 11
- Views: 2412
Script to delete unwanted cards.
Hi, My project includes setting up a new card by copying a card template, then renaming it. LC also creates, at the same time, another, similar card with an id number such as card id 5723439, which can be seen as listed in the project browser. At a later point in my project the user may be wish to d...
- Wed May 14, 2025 9:50 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to programmatically select a datagrid
- Replies: 9
- Views: 2531
Re: How to programmatically select a datagrid
Many thanks.
- Mon May 12, 2025 12:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to programmatically select a datagrid
- Replies: 9
- Views: 2531
How to programmatically select a datagrid
HI all,
I have three dg's on a card. I can select a dg by clicking on it and then using up and down arrows to select a line. But, I want to enable the user to use the keyboard instead of the mouse. Is it possible to programmatically 'click' on the dg to enable the user to use the up and down keys ?
I have three dg's on a card. I can select a dg by clicking on it and then using up and down arrows to select a line. But, I want to enable the user to use the keyboard instead of the mouse. Is it possible to programmatically 'click' on the dg to enable the user to use the up and down keys ?
- Mon Dec 30, 2024 1:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Help !! I cannot access my project
- Replies: 2
- Views: 7460
Help !! I cannot access my project
Hi, I took a break from working on my project 'CAsba' that I started 18 months ago to begin work on a smaller project, 'CAss'. I came upon a problem, moving data from and to a datagrid, that I had sorted in 'CAsba', so I opened CAsba, and copied the line of code. Then I shut down CAsba without savin...
- Tue Dec 10, 2024 8:30 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Changing a project from windows to android
- Replies: 1
- Views: 6615
Changing a project from windows to android
Hi I have a project that I've been making on the windows platform, but I think it will be more appropriately based on android. I have no idea how to achieve this; is it a long and tedious, or difficult undertaking ? How would I begin to know what to do ? Has anyone done this before ? Hope someone ca...
- Fri Nov 08, 2024 1:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Set all columns in a datagrid to "visible"
- Replies: 16
- Views: 20609
Re: Set all columns in a datagrid to "visible"
Hi Klaus,
The error message is
an error has occurred in behaviour for the column template:
Chunk: error in object expression
I played with the datagrid script and found the problem, but thanks for your reassuring intere
The error message is
an error has occurred in behaviour for the column template:
Chunk: error in object expression
I played with the datagrid script and found the problem, but thanks for your reassuring intere
- Thu Nov 07, 2024 2:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Set all columns in a datagrid to "visible"
- Replies: 16
- Views: 20609
Re: Set all columns in a datagrid to "visible"
Hi, In my table datagrid, 36 columns, 54 lines, I have a problem. I have a on/off button script that effects the showing of all columns, then showing just 4 columns. This performs OK for two selections, all - just 4, but the third call for all columns to be shown results in an error message. Similar...
- Fri Oct 18, 2024 7:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Datagrid problem
- Replies: 13
- Views: 12547
Re: Datagrid problem
Hi, Now it's really solved. I set the sort to Empty set the dgProps["sort by column"] of group "datagrid 3" to empty I originally changed the sort to 'Type' as an enabler for the user, when choosing from what could be a long list of components of an assembly (and so, unknowingly, setting myself up w...
- Fri Oct 18, 2024 1:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Datagrid problem
- Replies: 13
- Views: 12547
Re: Datagrid problem
A possibility occurred to me that the problem may involve the DG being siorted on the code column. I may have to return the dg to the default, update the DG, then revert back to sorted by code. Can anyone advise me of the script to sort by index ?
- Fri Oct 18, 2024 10:58 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Datagrid problem
- Replies: 13
- Views: 12547
Re: Datagrid problem
Hi Craig,
I copied the 'backup' field data to the DG.
Unfortunately, the solution only lasted for the one backup; it then reverted to the original problem.
I'm still stabbing in the dark, hoping a lasting solution comes up.
I copied the 'backup' field data to the DG.
Unfortunately, the solution only lasted for the one backup; it then reverted to the original problem.
I'm still stabbing in the dark, hoping a lasting solution comes up.