Search found 472 matches

by AxWald
Wed Nov 25, 2020 12:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I cannot connect my database - sqlite to my andriod phone
Replies: 9
Views: 315

Re: I cannot connect my database - sqlite to my andriod phone

Hi, an easy way to see what's actually in your documents folder on mobile: on mouseUp put the defaultFolder into mySavedPath set the defaultFolder to specialFolderPath("documents") answer "Files in documents:" & CR & the files set the defaultFolder to mySavedPath end mouseUp Put this into a button. ...
by AxWald
Wed Nov 18, 2020 4:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
Replies: 11
Views: 572

Re: Using a text field with date formated content in a WHERE clause of a SELECT statement

Hi, At this point I'm not getting an error but tRecords is blank when I say it doesn't work. If "revDataFromQuery" returns empty then your query resulted in an empty data set. If I reverse the order of the WHERE conditions it still works ... There is a mistake somewhere in the SQL string - just reve...
by AxWald
Tue Nov 17, 2020 1:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
Replies: 11
Views: 572

Re: Using a text field with date formated content in a WHERE clause of a SELECT statement

Hi, omitting error handling isn't the best of ideas: put revDataFromQuery(x,y,z,tSQL) into whatEver if whatEver begins with "revdberr" then set the ClipBoardData["text"] to "Error: " & \ whatEver & CR & "tSQL:" & CR & tSQL answer error whatEver & CR & \ "Error message copied & ready to paste." title...
by AxWald
Sun Nov 15, 2020 11:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
Replies: 11
Views: 572

Re: Using a text field with date formated content in a WHERE clause of a SELECT statement

Hi, why so convoluted? Try this: function makeSQLDate theDate, theTime, dayToAdd, theFormat /* Converts a dateTime to SQL format, adds days if needed. # "theDate": a date formatted according to your system settings # "theTime": a time formatted according to your system settings (default: "0:00") # "...
by AxWald
Sat Nov 07, 2020 3:07 pm
Forum: Android Deployment
Topic: Visual effects are laggy on android
Replies: 3
Views: 371

Re: Visual effects are laggy on android

Hi, Is there a way to "clean" or reset the visual effect after using and then use it again? To be honest - no idea. I use visuals on very sparsely, they tend to become annoying quickly. Depending on the LC version you use, it may be that's just a bug in the version - I notice (rarely, but sometimes)...
by AxWald
Fri Nov 06, 2020 3:59 pm
Forum: Android Deployment
Topic: LC 6.7.*: SA survives background, open stack doesn't
Replies: 6
Views: 727

Re: LC 6.7.*: SA survives background, open stack doesn't

Hi, My own test app just uses "go stack". Just did a quick test with the demo: "Go stack X" behaves exactly like "go stack X in new window" - both result in 2 stacks in "the openStacks", and when you activate "acceleratedRendering", then switch out & back in, crash. Interesting, these seem to be syn...
by AxWald
Fri Nov 06, 2020 3:32 pm
Forum: Android Deployment
Topic: Visual effects are laggy on android
Replies: 3
Views: 371

Re: Visual effects are laggy on android

Hi,

try:

Code: Select all

   set the effectRate to 300          --  Hint: effectRate is in millisecs
   lock screen for visual effect      --  Hint: visual effects seems not to work w/o accelRend
   ...
   unlock screen with visual effect "scroll up" very slow  --  Hint: "very slow" = use effectRate!
Have fun!
by AxWald
Thu Nov 05, 2020 4:46 pm
Forum: Android Deployment
Topic: LC 6.7.*: SA survives background, open stack doesn't
Replies: 6
Views: 727

Re: LC 6.7.*: SA survives background, open stack doesn't

Thx, Jacqueline. Seems not many are among us coding for the most used OS at all :/ Anyways, guess I've found the culprit. In my case it is: The Android StandAlone has been compiled with LC 6.7.10. LC 9.6.1 doesn't have this behavior, dunno when it changed between these. You use the classic "go stack...
by AxWald
Sun Nov 01, 2020 4:59 pm
Forum: Android Deployment
Topic: LC 6.7.*: SA survives background, open stack doesn't
Replies: 6
Views: 727

LC 6.7.*: SA survives background, open stack doesn't

Hi, strange behavior: When using LC 6.7.10, a StandAlone on Android will happily survive being sent to background, or to sleep. (Assuming the "allow background" setting of the gadget is active) But when this SA opens another stack, and this one is shown, each "going to background" will kill the whol...
by AxWald
Thu Oct 15, 2020 2:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Livecode tools menu won't open
Replies: 9
Views: 720

Re: Livecode tools menu won't open

Hi,

you may as well trying to rename your preferences file - LC occasionally corrupts it.
This is a bug as old as LiveCode itself ;-)

You'll find it here:

Code: Select all

C:\Users\[UserName]\AppData\Roaming\RunRev\Preferences\livecode7.rev
Have fun!
by AxWald
Wed Oct 14, 2020 6:59 pm
Forum: Talking LiveCode
Topic: Broadcast to all stacks?
Replies: 10
Views: 629

Re: Broadcast to all stacks?

Craig, this is meant to run on Win & Android, both. The same program. On Win, it's easy - this is rock solid. Stacks rarely ever crash, as long as you use a stable version for development & test sufficiently. Basically all of my customers will have Win10 meanwhile, and I haven't had a reported crash...
by AxWald
Wed Oct 14, 2020 4:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fullscreen on Windows
Replies: 3
Views: 413

Re: Fullscreen on Windows

Hi,

you forgot this line following:

Code: Select all

set the fullscreen of this stack to true
That actually activates the fullScreenMode.

Have fun!
by AxWald
Wed Oct 14, 2020 4:22 pm
Forum: Talking LiveCode
Topic: Broadcast to all stacks?
Replies: 10
Views: 629

Re: Broadcast to all stacks?

Hi, Craig, maintaining a list of stacks I have opened doesn't make much sense to me: Such a list must be correct, else it causes mistakes - what if for whatever reason a stack in background dies quietly? So this list would need to be periodically verified. At each "Open" I had to add, at each "Close...
by AxWald
Wed Oct 14, 2020 11:16 am
Forum: Talking LiveCode
Topic: Broadcast to all stacks?
Replies: 10
Views: 629

Re: Broadcast to all stacks?

Yes, I could loop through the openStacks, ignore all that aren't mine, determine which of mine can respond & dispatch explicitly to each of those. And thus create a "hickUp" each time this happens. Guess I should explain more: My "mainStack" has a handler running that periodically calls itself (send...
by AxWald
Wed Oct 14, 2020 9:53 am
Forum: Talking LiveCode
Topic: Broadcast to all stacks?
Replies: 10
Views: 629

Broadcast to all stacks?

Hi, seems I got a knot in my brain again. Maybe someone can help? I have a "mainStack" as a standalone. There's a number of other stacks, opened by the mainStack as required. These are plain LC stacks, no subStacks. Now I want to dispatch/ send/ push/ whatever a message from the mainStack to every o...

Go to advanced search