Search found 3850 matches

by bn
Mon Nov 27, 2023 7:37 pm
Forum: Talking LiveCode
Topic: Field with placeholder/hint text
Replies: 29
Views: 62506

Re: Field with placeholder/hint text

Hi Stam,
3. Use a 2nd field that overlaps with the main field (ie move from a single control to a group).
That sounds like a good idea to me.

Kind regards
Bernd
by bn
Mon Nov 27, 2023 11:14 am
Forum: Talking LiveCode
Topic: Field with placeholder/hint text
Replies: 29
Views: 62506

Re: Field with placeholder/hint text

Hi Stam, Thanks for putting the new version up on GitHub. Your interface requirements are somewhat special and I have apparently a hard time getting my head around them. However I tested your latest version and still find it needs some additions for the way I would like to use the "Field". I changed...
by bn
Fri Nov 24, 2023 11:26 pm
Forum: Talking LiveCode
Topic: Field with placeholder/hint text
Replies: 29
Views: 62506

Re: Field with placeholder/hint text

if the field text is changed in script is it possible to react automatically to this? (i.e. if the field is showing it's placeholder text and I assign a string to this, how can I get it to trigger an update without firing a second command - in my case exitField - to do this?) If I understand you co...
by bn
Fri Nov 24, 2023 2:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Teardown
Replies: 13
Views: 17483

Re: Teardown

Hi Richmond, Poking around, as one does, among some LiveCode stacks the other day I came across this: setup if the platform is "win32" then test the fontlanguage of "Aharoni" is "Hebrew" test the fontlanguage of "System" is "ANSI" else -- TODO - test font languages on other platforms test false end ...
by bn
Fri Nov 24, 2023 2:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Teardown
Replies: 13
Views: 17483

Re: Teardown

Poking around, as one does, among some LiveCode stacks the other day I came across this: setup if the platform is "win32" then test the fontlanguage of "Aharoni" is "Hebrew" test the fontlanguage of "System" is "ANSI" else -- TODO - test font languages on other platforms test false end if teardown ...
by bn
Thu Nov 23, 2023 7:50 pm
Forum: Talking LiveCode
Topic: Field with placeholder/hint text
Replies: 29
Views: 62506

Re: Field with placeholder/hint text

Hi Stam,

I also gave this a try, I don't know if it meets all your requirements. The whole thing is a bit tricky...

Kind regards
Bernd
by bn
Thu Nov 23, 2023 12:47 pm
Forum: Talking LiveCode
Topic: Field with placeholder/hint text
Replies: 29
Views: 62506

Re: Field with placeholder/hint text

Alas, further testing does not resolve this minor cosmetic issue (cursor/selection showing until mouse is released) I'm not sure there is a way around this to keep the prompt text showing after entering the field but before the user types, without using a 2nd field/label. On the other hand, using a...
by bn
Tue Nov 21, 2023 2:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SystemVersion
Replies: 6
Views: 3192

Re: SystemVersion

Hi Richmond,

The systemversion works correctly for me on MacOS Monterey.

systemversion Mac Monterey.png
You may want to file a bug report if this affects MacOS Sonoma.

Kind regards
Bernd
by bn
Fri Nov 10, 2023 10:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: I have a problem. How can I make the button stop receiving clicks until the action inside it is finished?
Replies: 36
Views: 28004

Re: I have a problem. How can I make the button stop receiving clicks until the action inside it is finished?

so there is a gap in LC in the calculation of seconds and how it serves me hundredths of a second. Does anyone see a solution or should I tell my client that at the moment I cannot continue the development of the program he commissioned me? Hi, Mark Waddingham posted a very nifty solution to your p...
by bn
Wed Nov 08, 2023 6:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Template
Replies: 18
Views: 19200

Re: Template

Richmond, I attach a zipped text file that worked for me. Replace the one of your Livecode.app. You will see that the previous column "Value" for "BackgroundColor" now has a color triplet. When you create a new field (after restart) it affects the small field. Not the other Field types.(Label etc.) ...
by bn
Wed Nov 08, 2023 4:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Template
Replies: 18
Views: 19200

Re: Template

Hi Richmond,

I am currently in a train and have trouble to test my recommendation.

I will try to test it whne I come home tonight. It might well be that I was mistaken with the file I indicated.

Kind regards
Bernd
by bn
Wed Nov 08, 2023 1:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Template
Replies: 18
Views: 19200

Re: Template

I forgot:

TSV is a simple text file with the tabs as separators.

Kind regards
Bernd
by bn
Wed Nov 08, 2023 1:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Template
Replies: 18
Views: 19200

Re: Template

Richmond,

Using a spreadsheet program is probably the easiest way, you would have to save the changes to a "TSV" file.

Kind regards
Bernd
by bn
Wed Nov 08, 2023 1:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Template
Replies: 18
Views: 19200

Re: Template

Thank you, Bernd. Is a .tsv file simply a text file or something more complicated? It is a tab separated value file. All values of a line are separated by a tab. Similar to CSV which uses comma. Every tab separated value goes into the respective column, empty values put empty into the respective co...
by bn
Wed Nov 08, 2023 1:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Template
Replies: 18
Views: 19200

Re: Template

Hi Richmond, You could try to change the file for the field: com.livecode.interface.classic.Field.tsv /Applications/LiveCode 9.X.X.app/Contents/Tools/Toolset/resources/supporting_files/property_definitions/com.livecode.interface.classic.Field.tsv On a Mac you can open Livecode.app by right clicking ...

Go to advanced search