Search found 28 matches

by Lance
Tue Jul 15, 2025 1:51 pm
Forum: Made With LiveCode
Topic: how to manage data in LiveCode when working with multiple cards?
Replies: 12
Views: 309

Re: how to manage data in LiveCode when working with multiple cards?

Stam,

Understood, I retract my suggestion.

Thanks.
by Lance
Tue Jul 15, 2025 1:06 pm
Forum: Made With LiveCode
Topic: how to manage data in LiveCode when working with multiple cards?
Replies: 12
Views: 309

Re: how to manage data in LiveCode when working with multiple cards?

Hi mallwrithing, So I suspect their are folks that will say this is a bad practice, but I have been using a "$" global variable for years and it works great and I do not have to do anything special. It is available anywhere in my app I am working on. I call my global "$X". I put data into the global...
by Lance
Sat Dec 07, 2024 6:54 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: LC 10 install on Windows 11
Replies: 4
Views: 10651

Re: LC 10 install on Windows 11

Hello, I just installed 10.0 on my new Windows 11 laptop, it seemed slow so found this thread but then it finished fine, took about 10 minutes.
by Lance
Mon Nov 25, 2024 2:38 pm
Forum: Talking LiveCode
Topic: Accordion for LC
Replies: 13
Views: 14744

Re: Accordion for LC

Hello Bernd, thanks for the sample stack, pretty neat and nice that you put all the extra controls. Very easy to see how it works. Worked great for me in ver 9.6.13.
by Lance
Fri Jun 28, 2024 2:28 pm
Forum: Talking LiveCode
Topic: Format a number to show in answer
Replies: 26
Views: 8359

Re: Format a number to show in answer

Sort of related to this thread. I created a field with number formatting and I added it to my object library so I can place the object on any new card I am working on. Think it works pretty well and I am in US, so that is what I use it for. So thought I would share it, may be helpful to some. Lance
by Lance
Wed Apr 17, 2024 10:47 pm
Forum: Talking LiveCode
Topic: PolyGrid Direct Cell Editing?
Replies: 16
Views: 19371

Re: PolyGrid Direct Cell Editing?

Hello Bernd,

Your improvements keep coming. Put your updates into the sample and worked great. Attaching an updated zip file with 'our' work:).

Cheers.
by Lance
Tue Apr 16, 2024 5:10 pm
Forum: Talking LiveCode
Topic: PolyGrid Direct Cell Editing?
Replies: 16
Views: 19371

Re: PolyGrid Direct Cell Editing?

Bernd, nice improvement. Thanks for sharing.

Lance
by Lance
Tue Apr 16, 2024 2:08 pm
Forum: Talking LiveCode
Topic: PolyGrid > multi line headers & background colors
Replies: 0
Views: 12940

PolyGrid > multi line headers & background colors

Hello, So for my purposes to use PolyGrid vs DataGrid there are two things i have not been able to figure out how to do, perhaps one of you have? 1. How to get a multiple line column header? I can only get a single line to work. In DataGrid I can type multiple lines in a text editor and copy>paste a...
by Lance
Tue Apr 16, 2024 2:06 pm
Forum: Talking LiveCode
Topic: PolyGrid Direct Cell Editing?
Replies: 16
Views: 19371

Re: PolyGrid Direct Cell Editing?

So I had put PolyGrid in the closet for some time and decided to take another look at using it more as it is so fast. I went back to direct cell editing and have a very simple sample where if you click on a cell a field is sized the same as the cell and allows you to update the cell content. Works p...
by Lance
Mon Apr 08, 2024 5:18 pm
Forum: Talking LiveCode
Topic: An event trigger when data is added to a field
Replies: 15
Views: 7878

Re: An event trigger when data is added to a field

Mark > thanks for reviewing for me and Heather for the post.

Stam > thanks for the suggestion, that looks like it could work well. Will give it a go.

Lance
by Lance
Fri Apr 05, 2024 6:27 pm
Forum: Talking LiveCode
Topic: An event trigger when data is added to a field
Replies: 15
Views: 7878

Re: An event trigger when data is added to a field

Some good points RIchard. It potentially could cause issues in terms of backwards compatibility. I wonder if you could simple add some sort of command in the main open stack event like "set fieldTextChangedEvent to true" if you wanted this this new trigger to work?

Lance
by Lance
Fri Apr 05, 2024 4:16 pm
Forum: Talking LiveCode
Topic: An event trigger when data is added to a field
Replies: 15
Views: 7878

Re: An event trigger when data is added to a field

Thanks for all the replies, appreciate it. The "dispatch" idea from Stam looks like my most likely solution. Sounds like everyone would really like a textChanged to be trigged when setting text by code. Seems logical to me. I may be in a position to at least get this in front of the LC team. I have ...
by Lance
Thu Apr 04, 2024 5:30 pm
Forum: Talking LiveCode
Topic: An event trigger when data is added to a field
Replies: 15
Views: 7878

An event trigger when data is added to a field

Is there a way to trigger a function when I add data to a field with code? Something like "on textChanged" ?

put "test data" into field "Data"

then i want that event to trigger another function to update some buttons that become enabled with there is data available in field "Data"

thanks.
Lance
by Lance
Wed Apr 03, 2024 3:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where are the newbies?
Replies: 139
Views: 1368974

Re: Where are the newbies?

Hello, Just thought I would add a comment. I have not done many posts as most of the time I either do not have the answer or the core group has jumped on responses and it appears solved. I do however read my digest email every morning. I enjoy seeing what others are working on and I have gained know...
by Lance
Tue Jan 09, 2024 4:16 pm
Forum: Windows
Topic: launch an ".EXE (command line program)" silent.
Replies: 2
Views: 37960

Re: launch an ".EXE (command line program)" silent.

I have had very good luck using "launch document tFileName" running on Windows 10. I use this line after the launch document command to show me errors. "if the result is not empty then answer the result"