Search found 11764 matches

by Klaus
Mon Jul 13, 2020 2:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: codePointToNum Hex
Replies: 2
Views: 20

Re: codePointToNum Hex

Hi Richmond,

use the baseconvert() function.

Code: Select all

...
put codePointToNum("ך") into tDecimalNum
put baseconvert(tDecimalNum,10,16) into tHexNum
## -> 5E8
...
Best

Klaus
by Klaus
Sun Jul 12, 2020 11:40 pm
Forum: Feature Proposals
Topic: would be great if navigation bars sent MouseUp messages
Replies: 1
Views: 67

Re: would be great if navigation bars sent MouseUp messages

Hi Fun days,

you can prevent this unwanted behavior by:

Code: Select all

...
lock messages
set the hiliteditem of widget "your navbar here..." to "I'm a lumberjack..."
unlock messages
...
Et voila! :D


Best

Klaus
by Klaus
Sun Jul 12, 2020 7:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] LC Syntax
Replies: 9
Views: 175

Re: LC Syntax

Hi Linda, LC sees everything inside of quotes as a string! So you need to build your script this way: set the script of button "theNewButton" to "on mouseUp" & CR & "go to card" && QUOTE & "firstCard" & QUOTE & CR & "end mouseUp" No TAB neccessary, that is only added in the editor to make the script...
by Klaus
Sun Jul 12, 2020 3:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Inspector bug - on mouseUp not showing
Replies: 1
Views: 56

Re: Inspector bug - on mouseUp not showing

Hi Bill,

welcome to the forum!

I don't think this is a bug, LC just does not update the list "on keydown/up" nor on "on deletekey" etc.!
After deleting the mouseup handler in your script, hit ENTER once and it will re-appear in the list. :D

Best

Klaus
by Klaus
Sat Jul 11, 2020 4:55 pm
Forum: Talking LiveCode
Topic: Nothing new here
Replies: 12
Views: 267

Re: Nothing new here

In the dictionary for "create": Synonyms -> new
by Klaus
Sat Jul 11, 2020 12:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Visual effects going to substack?
Replies: 13
Views: 2864

Re: Visual effects going to substack?

Well, you quoted my "stack" trick! 8)
Sorry, no idea why this does not works in the simulator.
by Klaus
Sat Jul 11, 2020 12:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Visual effects going to substack?
Replies: 13
Views: 2864

Re: Visual effects going to substack?

It not only seems to! :D
Since we can only have one stack/window open at a time, this does not work on mobile at all.
by Klaus
Thu Jul 09, 2020 7:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Passing mouse clicks up the object heirarchy
Replies: 48
Views: 1106

Re: Passing mouse clicks up the object heirarchy

richmond62 wrote:
Thu Jul 09, 2020 7:24 pm
...
2. Cannot work out how to disable an image.
Use the message box, the inspector does not provide this setting!
by Klaus
Thu Jul 09, 2020 5:15 pm
Forum: Talking LiveCode
Topic: closestack handler wait 1 second error
Replies: 12
Views: 221

Re: closestack handler wait 1 second error

After reading up the dictionary, I am not sure if this is not desired behavior!?
Could you do this on closestackrequest?
That seems to be the right message for this.
by Klaus
Thu Jul 09, 2020 5:01 pm
Forum: Talking LiveCode
Topic: closestack handler wait 1 second error
Replies: 12
Views: 221

Re: closestack handler wait 1 second error

Sure, since QUIT will close all stacks and they receive a "closestack" message.

BUT I raised the WAIT to 4 seconds and now I also see this error! :shock:
by Klaus
Thu Jul 09, 2020 4:45 pm
Forum: Talking LiveCode
Topic: closestack handler wait 1 second error
Replies: 12
Views: 221

Re: closestack handler wait 1 second error

Maybe just QUIT? 8)
by Klaus
Thu Jul 09, 2020 4:30 pm
Forum: Talking LiveCode
Topic: closestack handler wait 1 second error
Replies: 12
Views: 221

Re: closestack handler wait 1 second error

Aha, OK, just tested and still no error!?
by Klaus
Thu Jul 09, 2020 4:12 pm
Forum: Talking LiveCode
Topic: closestack handler wait 1 second error
Replies: 12
Views: 221

Re: closestack handler wait 1 second error

Just made a fresh new stack with no controls, added your script and closed it without any error.
macOS 10.14.6, LC 9.6
by Klaus
Thu Jul 09, 2020 1:14 pm
Forum: HTML5
Topic: Does anyone have a any good resources on learning HTML5?
Replies: 4
Views: 256

Re: Does anyone have a any good resources on learning HTML5?

Hi vishalbotri,

welcome to the forum!
(Personal note: A little "Hello" or something would not have hurt for the very first posting.)

This forum is labeled "Developer Services Marketplace", so I will move this thread to the HTML5 section. 8)


Best

Klaus
by Klaus
Thu Jul 09, 2020 11:48 am
Forum: Talking LiveCode
Topic: Save variables after closing the app
Replies: 24
Views: 593

Re: Save variables after closing the app

You really should start with some error checking! :D 1. Check if file is really present: on openStack put specialFolderPath("documents") & "/test.txt" into tFile IF THERE IS A FILE TFILE then put URL ("file:" & tFile") into tSec ELSE put "No file yet!" into tSec end if put tSec into field "fsField" ...

Go to advanced search