Search found 10090 matches

by Klaus
Sun Jul 22, 2018 2:39 pm
Forum: Android Deployment
Topic: Should there be options besides iPhones under File | New Stack?
Replies: 4
Views: 134

Re: Should there be options besides iPhones under File | New Stack?

Hola exmaria, when you say "this will be gone with the next version," what is actually going away, and when is the next version expected, to which you refer? I mean, if you NOW "hack" into the IDE of the current version to have more option in the "New Stack" menu, then this will be gone in the next ...
by Klaus
Sun Jul 22, 2018 10:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Import an image, rotate, save.
Replies: 1
Views: 44

Re: Import an image, rotate, save.

Hi Googie,

do not use rotate but: set the angle of img xyz to ...
Please check the differences in the dictionary.

Code: Select all

...
put specialfolderpath("documents") & "/the_rotated_image.jpg" into tImageFile
set the angle of img "temp" to 90
export img "temp" to file tImageFile as JPEG
...
Best

Klaus
by Klaus
Sat Jul 21, 2018 3:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Option Menu
Replies: 4
Views: 81

Re: Option Menu

I think in case of numbers we could trust our users to enter the number into a field, right?

Or provide a field with the number and one of these tiny scrollbars to de-/increase the
initial number in the field.
by Klaus
Fri Jul 20, 2018 3:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Password Mask in a field
Replies: 2
Views: 85

Re: Password Mask in a field

Hi lemodizon, well, mimicking a password field is not a trivial task, if you want ot make it (more or less) foolproof! Sorry, there is no easy and short way to do so. Check this: In LC, menu "Help", select "Sample stacks" and then enter "password" in the searchfield on the topleft. Then scroll down ...
by Klaus
Fri Jul 20, 2018 2:01 pm
Forum: Talking LiveCode
Topic: [SOLVED] Math - ugh - How to add up fields of strings
Replies: 12
Views: 172

Re: Math - ugh - How to add up fields of strings

Hi Mike, this is VERY strange!? :shock: I can offer to take look at your (stripped down) stack, if you like, just send it to my email address. And here another typing-saving advice: on keyDown pKey if pKey is a number then ## Allow text entry by passing the keyDown message pass keyDown end if end ke...
by Klaus
Fri Jul 20, 2018 1:05 pm
Forum: Talking LiveCode
Topic: [SOLVED] Math - ugh - How to add up fields of strings
Replies: 12
Views: 172

Re: Math - ugh - How to add up fields of strings

Hm, sound like there could be non-numeric content in one of the fields.
Did you double-check their values (in the debugger)?
by Klaus
Fri Jul 20, 2018 12:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Write config File
Replies: 3
Views: 102

Re: Write config File

Hi Steran,

or just don't use LINES but items with an itemdelimiter which is unlikely part of the text
in your fields like the pipe | or whatever, you get the picture! :-)


Best

Klaus
by Klaus
Fri Jul 20, 2018 12:19 pm
Forum: Android Deployment
Topic: CameraControl - Android
Replies: 4
Views: 52

Re: CameraControl - Android

Hi Googie,

no, sorry, no idea.
I do not own a cellphone or tablet, so my knowledge is just theoretical... 8)

Why not use:

Code: Select all

...
mobilepickphoto "camera"
...
?


Best

Klaus
by Klaus
Fri Jul 20, 2018 11:21 am
Forum: Android Deployment
Topic: CameraControl - Android
Replies: 4
Views: 52

Re: CameraControl - Android

Hi Googie, try this: ... cameraControlDo "myFirstCamera", "takePicture" put specialfolderpath("external documents") & "/snapshot.jpg" into tImageFile put the result into url ("file:" & tImageFile) ... I think -> specialfolderpath("external documents") IS in fact -> mnt/sdcard/ but this is official s...
by Klaus
Fri Jul 20, 2018 10:53 am
Forum: iOS Deployment
Topic: Standalone settings screen hidden by menu
Replies: 6
Views: 155

Re: Standalone settings screen hidden by menu

:-)

You can also have lots of fun with the message box
and "the mousecontrol" in some situations! 8)
by Klaus
Fri Jul 20, 2018 10:52 am
Forum: Talking LiveCode
Topic: Android Native Field Return Key
Replies: 5
Views: 118

Re: Android Native Field Return Key

Ah, mobilecontroltarget(), thank you!

Will keep this in mind if I ever get me a cellphone or tablet and start developing for the mobile platform :-)
by Klaus
Fri Jul 20, 2018 8:59 am
Forum: Talking LiveCode
Topic: [SOLVED] Math - ugh - How to add up fields of strings
Replies: 12
Views: 172

Re: Math - ugh - How to add up fields of strings

Hi Mike, another hint which saves a lot of typing: "the value of fld xyz" is not neccessary, only in seldom cases, just do: ... put fld "my field" into tFieldContent ... ## And ## put the value of varPrem1Add+varPrem2Add+varPrem3Add+varPrem4Add into varSubtotal put varPrem1Add + varPrem2Add + varPre...
by Klaus
Fri Jul 20, 2018 7:56 am
Forum: Talking LiveCode
Topic: [SOLVED] Math - ugh - How to add up fields of strings
Replies: 12
Views: 172

Re: Math - ugh - How to add up fields of strings

Hi Mike,

That should definitively work!
What is the error exactly?

Best

Klaus

P.S.
I recommend to take a look at these stacks to get the basics of Livecode, maybe start with "Controls": http://www.hyperactivesw.com/revscriptc ... ences.html
by Klaus
Fri Jul 20, 2018 7:51 am
Forum: Talking LiveCode
Topic: Android Native Field Return Key
Replies: 5
Views: 118

Re: Android Native Field Return Key

Oh, misunderstood your question.
Sorry, no idea.

Go to advanced search