Search found 516 matches

by mrcoollion
Fri Apr 10, 2020 1:26 pm
Forum: Talking LiveCode
Topic: SubStack messes up put statement
Replies: 12
Views: 729

Re: SubStack messes up put statement

Klaus wrote:
Thu Apr 09, 2020 4:34 pm
REALLY? :shock:
I just tested this here and did not get what I exspected!

As far as I know WINDOWSHAPE only works with images!?
You Are Correct, but it does remove the stack borders.

So here is a sample stack for those who are curious how ....
SubStack_Spinner_V001.zip
(1.55 KiB) Downloaded 17 times
by mrcoollion
Fri Apr 10, 2020 8:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Why Script-only stacks?
Replies: 90
Views: 3371

Re: Why Script-only stacks?

Some questions. - When I work with global / Local variables are those still usable within the script in a script only stack? - Are there any restrictions one needs to take in account? - Can script only stacks be protected from code theft (encrypted)? - What editors work well with LC Scrip only stack...
by mrcoollion
Fri Apr 10, 2020 7:45 am
Forum: Talking LiveCode
Topic: SubStack messes up put statement
Replies: 12
Views: 729

Re: SubStack messes up put statement

Hi Jaque Why not just show the spinner on the card in the main stack? True, I could just show the spinner on the card. But this way I can use the same routine on the other cards very easy. And it was for learning purposes. be aware you can't have two stacks open simultaneously on mobile I am working...
by mrcoollion
Thu Apr 09, 2020 4:17 pm
Forum: Talking LiveCode
Topic: SubStack messes up put statement
Replies: 12
Views: 729

Re: SubStack messes up put statement

Placed the following in the preOpenStack part of the WaitSpinner stack and I got what I was looking for.

Code: Select all

on preopenstack
   set the windowShape of this stack to the id of widget "Spinner" 
   set the style of this stack to palette
   set the blendLevel of this stack to  40
end preopenstack
by mrcoollion
Thu Apr 09, 2020 3:50 pm
Forum: Talking LiveCode
Topic: SubStack messes up put statement
Replies: 12
Views: 729

Re: SubStack messes up put statement

Bedankt Klaus, I have placed the 'set the defaultstack to' line as the last line in the 'StartSpinner' command as well as the last line in the 'StopSpinner' command (to be sure) and I now have no problems anymore. Thanks for your valuable help ( ... again ...) :D PS.. Do you know a trick that remove...
by mrcoollion
Thu Apr 09, 2020 12:26 pm
Forum: Marketing Your Products
Topic: FlowReminder: my new calendar tool standalone
Replies: 11
Views: 3681

Re: FlowReminder: my new calendar tool standalone

Hi Trevix, This is the error I get when I try to download the windows version with the Windows button that redirects to the following URL https://www.flowreminder.it/resources/FlowReminder.rar . Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encount...
by mrcoollion
Thu Apr 09, 2020 12:22 pm
Forum: Talking LiveCode
Topic: SubStack messes up put statement
Replies: 12
Views: 729

Re: SubStack messes up put statement

Hoi Klaus, This is the structure of the code I use for starting and stopping the widget spinner which is on a substack called "WaitSpinner". So in a card "JustACardName" with a field named "FieldnameOnCard" I use the code StartSpinner DoWhatINeedToDo StopSpinner The StartSpinner, StopSpinner and DoW...
by mrcoollion
Thu Apr 09, 2020 11:11 am
Forum: Talking LiveCode
Topic: SubStack messes up put statement
Replies: 12
Views: 729

SubStack messes up put statement

Good afternoon LC friends, I have the following issue and it probably has to do with message paths but I cannot see a solution. I have a substack with a spinner on it that I want to open from a card (in 'On openCard') and show on top before I start a command and close after the command is finished. ...
by mrcoollion
Wed Apr 08, 2020 4:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Bored Games
Replies: 14
Views: 773

Re: Bored Games

Great tutorial :D
by mrcoollion
Fri Apr 03, 2020 9:22 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 1461

Re: Check available connection with tsNet?

Glad you have a working solution... :D
by mrcoollion
Thu Apr 02, 2020 1:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Finding something in a table field
Replies: 2
Views: 302

Re: Finding something in a table field

Another way to do it Put into a button and test. This one also looks for parts of the text. on mouseUp set itemDelimiter to TAB ask "Search item? " put it into SX put lineOffset (SX,fld "tf") into ELEVATOR put itemOffset (SX,line ELEVATOR of fld "tf") into LATERAL put (SX && "in cell" && LATERAL & "...
by mrcoollion
Wed Apr 01, 2020 7:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 1461

Re: Check available connection with tsNet?

Ping for Mac https://ss64.com/osx/ping.html Ping for Linux https://vitux.com/linux-ping-command/ https://linux.die.net/man/8/ping Ping for Windows https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ping You still need to test the response on each platform with and withou...
by mrcoollion
Tue Mar 31, 2020 6:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 1461

Re: Check available connection with tsNet?

This also works On my Windows 10 machine and is much faster than my previous script. on mouseUp if CheckInternetConnection () is true then answer "ok" else answer "No connection" end if end mouseUp function CheckInternetConnection put "ping -n 1 google.com" into pCommandLines set the hideConsoleWind...
by mrcoollion
Tue Mar 31, 2020 10:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 1461

Re: Check available connection with tsNet?

This works for me. Just put it into a button script on mouseup put "www.google.com" into pSelectedURL put checkURLAvailable (pSelectedURL) into tConnectionYN answer tConnectionYN end mouseup ========= function checkURLAvailable pSelectedURL put tsNetHeadSync(pSelectedURL, tSentHeaders, tResult, tByt...

Go to advanced search