Search found 41 matches

by redfield
Mon Jul 29, 2019 8:22 pm
Forum: Windows
Topic: [SOLVED] Make the cursor move to next field ('select before text' not always working)
Replies: 11
Views: 1263

Re: Make the cursor move to next field ('select before text' not always working)

In fact that works like a charme! The code is now:

Code: Select all

on textChanged
   if length(me) > 1 then
      select text of fld 2
   end if
end textChanged
Cursor is finally responding as it should to my racy typing skills, on both, Linux and Windows :D
by redfield
Sun Jul 28, 2019 7:33 pm
Forum: Windows
Topic: [SOLVED] Make the cursor move to next field ('select before text' not always working)
Replies: 11
Views: 1263

Re: Make the cursor move to next field ('select before text' not always working)

Have tried that too now, but unfortunately it doesn't change anything. The weird 'don't-type-too-fast' behaviour remains (on Windows). :(
by redfield
Thu Jul 25, 2019 1:26 pm
Forum: Windows
Topic: [SOLVED] Make the cursor move to next field ('select before text' not always working)
Replies: 11
Views: 1263

Re: Make the cursor move to next field ('select before text' not always working)

Hi -hh, yes this code works fine (on Linux and Windows): -- script of fld 1 on keyDown k if length(me) > 1 then select text of fld 2 -- put k into fld 2 -- optional else pass keyDown end keyDown Only that it's not exactly what I want. After having entered two digits, the user has to hit a key one mo...
by redfield
Wed Jul 24, 2019 8:25 pm
Forum: Windows
Topic: [SOLVED] Make the cursor move to next field ('select before text' not always working)
Replies: 11
Views: 1263

Re: Make the cursor move to next field ('select before text' not always working)

So I have tried all suggested scripts, but nothing changes. My original script is actually sufficient and does - on Linux - what I want it to do: skip the cursor to field 2 after entering two digits in field 1. On Windows this will only work if the two digits are not entered 'too fast'. Strangely th...
by redfield
Mon Jul 01, 2019 9:05 pm
Forum: Linux
Topic: Ubuntu 18 and HiDPI
Replies: 27
Views: 2386

Re: Ubuntu 18 and HiDPI

Cyberqat wrote:
Sat May 18, 2019 6:57 am
AND Livecode needs to be fixed on HiDPI linux.
Yes please. I have the same issue on Arch.
by redfield
Sun Jun 30, 2019 9:04 pm
Forum: Windows
Topic: [SOLVED] Make the cursor move to next field ('select before text' not always working)
Replies: 11
Views: 1263

Re: Make the cursor move to next field ('select before text' not always working)

Many thanks for your suggestions. I tried them but unfortunately the problem remains: the cursor won't skip to the next field if the text in the first field is input too quickly - this though goes for the Windows standalone only. :?
by redfield
Wed Jun 26, 2019 8:21 pm
Forum: Windows
Topic: [SOLVED] Make the cursor move to next field ('select before text' not always working)
Replies: 11
Views: 1263

[SOLVED] Make the cursor move to next field ('select before text' not always working)

Hi, I have two fields and after a two-digit input in Field1 the cursor should move to Field2, without having to press tab or so. This is the script: on keyUp if length(me) = 2 then select before text of fld "Field2" end if end keyUp This works fine in the Linux standalone. But in the Windows standal...
by redfield
Mon Jun 17, 2019 8:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Questions regarding standalones on Linux
Replies: 18
Views: 1066

Re: Questions regarding standalones on Linux

Well in this case it's Koynacity. The themes seem to have a configuration file, containing the line show_app_icon=(true or false) So if set to true, icons are displayed but it's a puzzle to me, how the theme "knows" which icon to grab for which program. This is probably far too complicated stuff for...
by redfield
Sun Jun 16, 2019 9:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Questions regarding standalones on Linux
Replies: 18
Views: 1066

Re: Questions regarding standalones on Linux

This is XFCE (running on an Arch system).
by redfield
Sun Jun 16, 2019 8:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Questions regarding standalones on Linux
Replies: 18
Views: 1066

Re: Questions regarding standalones on Linux

Thanks both for your replies. so this is normal behavior! Ok. You need to add something like: on preopenstack set the loc of this stack to the screenloc endpreopenstack I will try this, whereas the Dictionary doesn't know 'loc' but only 'location'. you might want to write it's last location to a fil...
by redfield
Sun Jun 16, 2019 12:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Questions regarding standalones on Linux
Replies: 18
Views: 1066

Questions regarding standalones on Linux

Hey All, I have let LC create a Linux standalone of my script. One thing I noticed: the standalone window will always open exactly where the corresponding LC window was placed, while creating the standalone. Is that "correct" behaviour? I have no idea what it usually depends on, where on the screen ...
by redfield
Sun Jun 16, 2019 12:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] Action on return, enter and also on button click
Replies: 4
Views: 380

Re: Action on return, enter and also on button click

Thanks a lot, this is working very well. I put the whole script in a custom handler and then call that handler from different fields and buttons.

(Is there a way here to mark topics as solved??)
by redfield
Fri Jun 14, 2019 6:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] Action on return, enter and also on button click
Replies: 4
Views: 380

[Solved] Action on return, enter and also on button click

Hi guys, probably another silly question of mine: I would like to give the user (which is me :lol: ) the possibility of firing the program action either by mouseclick or by hitting the enter or the return key, after me has entered a value in a field. I am wondering if I have to copy the complete cod...
by redfield
Sat Jun 08, 2019 10:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] Convert with variable
Replies: 10
Views: 627

Re: Convert with variable

Weird, I thought I had checked this but seemingly there were still several carriage returns in one field. Looks okay now. :D
by redfield
Sat Jun 08, 2019 8:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] Convert with variable
Replies: 10
Views: 627

Re: Convert with variable

Thanks guys, can't believe that I didn't see this :? . Have run into my next problem and again not getting it :oops: . Field fHours contains 10 and field fMinutes 15. I am expecting the output: 10:15 AM. But this code is giving me a strange output: put fld "fHours" & ":" & fld "fMinutes" & " AM" int...

Go to advanced search