Search found 445 matches

by CAsba
Fri Aug 29, 2025 10:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Underline first letter
Replies: 8
Views: 520

Underline first letter

Hi all,
Is there a way to underline the first character of a button's label ? In this case, an underlined 'N' at the beginning of 'Next' would indicate to the user that a keyboard shortcut is available (Ctrl + N).
by CAsba
Thu Aug 21, 2025 3:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Re: Problem with date

Hi Klaus, I am a native of the United Kingdom of GREAT (get that ?, GREAT) Britain. Not to be confused (under any circumstances - torture, political waffle) with the European Union. A free-born Englishman, travelled the Orient, Africa, the Middle East, and now safely back home, struggling with syste...
by CAsba
Thu Aug 21, 2025 8:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Re: Problem with date

HI all, I think I finally got it figured with this code if fld "dateready" is 3 then set the itemdelimiter to "/" put word 1 of fld "startday" into sday put word 1 of fld "startyr" into syr put word 1 of fld "startmth" into smth put smth & "/" & sday & "/" & syr into tdate2 put sday & "/" & smth & "...
by CAsba
Wed Aug 20, 2025 8:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Re: Problem with date

Just you I'm guessing,

Code: Select all

fld "dateready" is 3
as in

Code: Select all

fld "dateready" = 3
by CAsba
Wed Aug 20, 2025 6:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Re: Problem with date

Hi Klaus, Here is the code.. if fld "dateready" is 3 then set the itemdelimiter to "/" put word 1 of fld "startday" into sday put word 1 of fld "startyr" into syr put word 1 of fld "startmth" into smth put sday & "/" & smth & "/" & syr into tdate put sday & "/" & smth & "/" & syr into tdate2 convert...
by CAsba
Wed Aug 20, 2025 3:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Re: Problem with date

Klaus,
I forgot to say, the code you sent me didn't do it.
by CAsba
Wed Aug 20, 2025 3:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Re: Problem with date

Hi Klaus,
I don't think I picked up a hint about systemdate in a previous thread..
I'm now trying to find how to change 24/3/25 into a systemdate (?) other than writing some complex script to move the dateitems of it to new positions.
by CAsba
Wed Aug 20, 2025 3:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Re: Problem with date

Hi Klaus,
I didn't get your input until after I sent mine !
Two ships in the night..
by CAsba
Wed Aug 20, 2025 2:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Re: Problem with date

Thinking about this, it occurred to me that maybe, to convert, the date to be converted should be in the american format. I'll try playing with that.
by CAsba
Wed Aug 20, 2025 12:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 5425

Problem with date

Hi again, My euphoria in solving the last date problem was shortlived. I discovered by chance that the convert to seconds command was intermittently failing to work. I isolated the problem in a substack, consisting of two fields, field, and field2, and a button. The button code is convert fld "field...
by CAsba
Wed Aug 13, 2025 9:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert to date
Replies: 24
Views: 8732

Re: convert to date

Hmmm, belittlement, dimunutive, confusion. By comparison, coding is quite straightforward !
by CAsba
Tue Aug 12, 2025 10:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert to date
Replies: 24
Views: 8732

Re: convert to date

Hi Klaus, All I know is when I used "the first word of fld "startyr" instead of just "fld "startyr"" (and similar for day and month) the derived date was able to be converted to seconds. As it was pointed out, there must have been some invisible character in the fields that I wasn't aware of that wa...
by CAsba
Sun Aug 10, 2025 8:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert to date
Replies: 24
Views: 8732

Re: convert to date

Thanks all of you for your interest and insights.
Jacque, I used your suggestion and it works ! Thank you so much for that little wheeze.
So now I can move forward.
by CAsba
Sat Aug 09, 2025 12:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert to date
Replies: 24
Views: 8732

Re: convert to date

Hi Klaus,
Sorry, I don't understand

"please post what's in tDate"
by CAsba
Fri Aug 08, 2025 3:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Option menu query.
Replies: 9
Views: 4315

Re: Option menu query.

Hi Craig, I understand you, and I have done it that way, but in that way, 2025 is hard wired, it doesn't update itself to 2026 when the year changes; the essence of what I'm trying to do is that the menu items will just consist of 2 items, one being the current year, and the other being the current ...