Search found 449 matches

by AxWald
Tue Sep 15, 2020 11:20 am
Forum: Engine Contributors
Topic: the microseconds
Replies: 17
Views: 514

Re: the microseconds

Hi,
Whow! "Long millisecs" actually yields results in LC 6 already!
But they behave a little bizarre - "put (the long milliseconds)":

6.7.10: They show the fractional part only occasionally, and then it's always ".0002".
9.6/ 64bit: They show no fractional part at all.

On Win 10. Have fun!
by AxWald
Mon Sep 14, 2020 10:31 am
Forum: Talking LiveCode
Topic: Get value of function with variable
Replies: 19
Views: 502

Re: Get value of function with variable

Hi,
dunbarx wrote:
Mon Sep 14, 2020 4:21 am
I never knew that extra parameter associated with the "value" function.
Same here. Read it, thought "Huh?" Checked dictionary => :idea: ! :idea: !! :idea: !!!
Fascinating how much it's still possible to learn, just by browsing the forum, after all these years.

Have fun!
by AxWald
Sun Sep 13, 2020 8:14 pm
Forum: Talking LiveCode
Topic: Get value of function with variable
Replies: 19
Views: 502

Re: Get value of function with variable

Hi, try: -- On cd 2, btn "function_btn": function test what return "Test: " & what end test -- On cd 1, button "test_btn": on mouseUp put "passed" into myVar put value("test(" & myVar & ")", btn "function_btn" of cd 2) end mouseUp -- Hit "test_btn", see in msg: "Test: passed" Have fun!
by AxWald
Fri Sep 11, 2020 4:35 pm
Forum: Talking LiveCode
Topic: Scrolling a group with a very long field - basic concept?
Replies: 25
Views: 835

Re: Scrolling a group with a very long field - basic concept?

Hi again :) Craig, the "32,767" are a LC specific limitation for coordinates: "The current architecture uses 16-bit signed integers for all co-ordinates", from the current dict. I assume the mothership thinks that's by far enough for apps. About field limitations, besides what was said elsewhere: Yo...
by AxWald
Thu Sep 10, 2020 4:42 pm
Forum: Talking LiveCode
Topic: Scrolling a group with a very long field - basic concept?
Replies: 25
Views: 835

Re: Scrolling a group with a very long field - basic concept?

Hi, appendum: Adding a border to the scrolling fld doesn't hurt the performance. Adding graphic effects (dropShadow, innerGlow) does - it's noticeable slower then. Adding a group to the field makes no difference now - still speedy! Adding graphic effects/ border to the group gives the same slowdown ...
by AxWald
Thu Sep 10, 2020 9:56 am
Forum: Talking LiveCode
Topic: Scrolling a group with a very long field - basic concept?
Replies: 25
Views: 835

Re: Scrolling a group with a very long field - basic concept?

Hi, progress report: I nearly went mad, couldn't get my head around setting up the dreaded mobile scroller with my work ... So I simplified it, simplified again, simplified once more, finally dropped all & started over with the very basics - and finally got it running. What I have now: A simple text...
by AxWald
Thu Sep 10, 2020 7:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: BackScript problem?
Replies: 9
Views: 286

Re: BackScript problem?

Hi, I just recently started using back- & frontscripts, so I'll try to summarize: BackScripts are used to add functionality . In case of duplicate handler names still the "original handler" will respond - a handler in a backScript only fires if no other object anywhere handles it. . FrontScripts are...
by AxWald
Tue Sep 08, 2020 11:58 am
Forum: Talking LiveCode
Topic: Scrolling a group with a very long field - basic concept?
Replies: 25
Views: 835

Re: Scrolling a group with a very long field - basic concept?

Hi, Have you tried just putting the scroller over a field without the enclosing group? That's what I'm doing atm. I removed the group containing the field, added a scrollbar & rawKeyDown handlers for mouseWheel to it (that was in the grp previously), and on desktop now it works flawlessly. With all ...
by AxWald
Mon Sep 07, 2020 8:32 pm
Forum: Talking LiveCode
Topic: Scrolling a group with a very long field - basic concept?
Replies: 25
Views: 835

Re: Scrolling a group with a very long field - basic concept?

Hi, [...]might it not be possible to remove that 32,767 limit? Guess it's much too un-sexy to fiddle with such boring trivialities like fields ... Note: The current architecture uses 16-bit signed integers for all co-ordinates, which means that the value range is -32768 to 32767. Well, at least we h...
by AxWald
Mon Sep 07, 2020 8:21 pm
Forum: Talking LiveCode
Topic: Scrolling a group with a very long field - basic concept?
Replies: 25
Views: 835

Re: Scrolling a group with a very long field - basic concept?

Hi Craig, I see where you're going. It occurred to me that I'd have to exchange the fields contents as soon as I approach the dreaded 32,767 px limit. But this rather spoils my whole concept - what I'm working on is basically a self contained table field for selecting from or composing data sets. It...
by AxWald
Mon Sep 07, 2020 4:39 pm
Forum: Talking LiveCode
Topic: Scrolling a group with a very long field - basic concept?
Replies: 25
Views: 835

Scrolling a group with a very long field - basic concept?

Hi, looks like I'm blocked - I cannot wrap my brain around this: I have a field with a very long text to scroll. It has a formattedHeight in the 200Ks. Using a normal scrolling field works fine, it scrolls all the 7K+ lines. But this should work on mobile, too, so I need it in a scrolling group. I d...
by AxWald
Fri Sep 04, 2020 11:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Renaming files and overwriting old versions
Replies: 27
Views: 760

Re: Renaming files and overwriting old versions

Hi, running the code from Marks bug report with the debugger quickly shows that the error is thrown only when an existing "help-Completed.txt" would be overwritten. Add this before the "rename" line & all works well: if there is a file "help-Completed.txt" then delete file "help-Completed.txt" So: r...
by AxWald
Thu Aug 20, 2020 8:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I'm Brand New to Livecode and Making a Simple Scipt
Replies: 7
Views: 352

Re: I'm Brand New to Livecode and Making a Simple Scipt

Hi, from the dictionary, bold by me: PreOpenStack: Sent to the destination card when you open a stack. Handle the preOpenStack message to update a card's appearance before the card appears on screen . The preOpenStack message is sent before the openStack message. Unlike openStack, preOpenStack handl...
by AxWald
Wed Aug 19, 2020 9:33 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I'm Brand New to Livecode and Making a Simple Scipt
Replies: 7
Views: 352

Re: I'm Brand New to Livecode and Making a Simple Scipt

Hi, assume here is the error: put "powershell "$(Get-NetAdapter -Name "Ethernet").MacAddress"" into tCom3 You want to put a string into tCom3, but this string contains quotes - this way the interpreter get's confused & throws an error. 2 ways to solve this: 1.) Replace all quotes but the outermost p...
by AxWald
Tue Aug 04, 2020 11:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] Something is not right with my data
Replies: 45
Views: 2314

Re: Something is not right with Livecode Strings

Hi, I tried it this way: put "01/22/2020;January; [...] ; $ 7,302.00" into myData -- = the data you posted -- preparation: put the monthNames into myNames put the short monthnames into myNums repeat with i = 1 to 12 -- prepopulate array put line i of myNums into myArr[(line i of myNames)]["Num"] end...

Go to advanced search