Questions tagged [livecode]

The LiveCode programming language (formerly the "Revolution" programming language) is a cross-platform rapid application development language.

LiveCode allows developers to create applications that run in any of the supported environments, using a compile-free workflow. The scripting language is based on the Hypertalk language originally developed by Apple for Hypercard. Since version 6 an open source version (GPL) is available.

644 questions
3
votes
2 answers

In Livecode, how would one go about including Android launcher icon sizes besides the hdpi 72x?

After compiling an app with a 72x icon, The scaling on several devices of differing dpi makes the icon appear slightly blurry. I have icons of different sizes (xhdpi 96x, mdpi 48x, and ldpi 36x) but have not yet found out how to include them or…
3
votes
3 answers

What is a good way to indicate that data has changed, but not updated?

Once a record has been saved to the database, I want to have any field change color to indicate that the user has made uncommitted changes if they type into that field. Is it best to just set the foreColor on closeField, or is it better to track…
Roger Eller
  • 113
  • 1
  • 6
3
votes
2 answers

LiveCode negative "firstIndent" - or other way to achieve the effect ("hanging indent")?

Using the firstIndent property on a field, I can make the start of a paragraph indent relative to the standard margin, so that if the line wraps, the continuation starts to the left of the first character on the line above. But if I set a negative…
3
votes
8 answers

Phonegap, Livecode, etc - pros and cons for a newbie? Should I still to learning Objective-C?

There seem to be quite a lot of "Build your iPhone app quickly" 3rd party solutions to Objective-C but am not sure if there is an advantage to any of them. I am learning Objective-C through tutorials and creating example apps. I feel I am learning…
Alvysyngr
  • 31
  • 1
  • 2
2
votes
1 answer

How to delete multiple characters from a string in livecode

I am trying to work with a string, and delete the last 2 characters. Normally the code would look like this: delete char -1 to -2 of openprice but that doesn't work, so I need to resort to doing this: delete char -1 of openprice delete char -1 of…
Normy Haddad
  • 181
  • 9
2
votes
1 answer

How do LiveCode developers simulate multiple open documents from a standard template?

We need to create a text-editor type app that can open multiple text windows at the same time. The windows should all use the same stack layout. Is it possible to open one stack several times as if the stack were a template or "stationery"? If so,…
Tacitus
  • 23
  • 6
2
votes
0 answers

Not able to make mergDatagridScroller running

sorry for asking this question which seems perhaps stupid to the one or other... As I need a native-scrolling Datagrid on iOS and Android, I downloaded mergDatagridScroller 1.3 and started to try it out, but did not come over the fourth hurdle. I…
UKMC
  • 21
  • 1
2
votes
1 answer

Livecode error -231 starting recording

I am trying to record audio files for an experiment that I am creating. Here is the code I am using: global gSubjectID global recordcount on mouseUp set the recordFormat to "wave" -- or "wave" or "ulaw" set the recordCompression to "raw " set the…
2
votes
1 answer

How can I check if a char is in the alphabet?

I've been researching the keyDown operator and I can't seem to find anywhere if its possible to write a program with on keyDown key without having to deal with non alphabetic chars. Hopefully someone with a bit more experience could let me know how…
notHalfBad
  • 213
  • 2
  • 9
2
votes
2 answers

Livecode colorNames() function?

I am trying to write a program that gets rid of all of the colors with numbers in their names and then puts them into a field. I am running into problems with line 4. Any suggestions? on mouseup global choice put colorNames() into…
hopeitup
  • 23
  • 2
2
votes
2 answers

Deleting The Last Character in A String Livecode Language

I need to delete last character in a string Livecode. I have wrote this below in English. on mouseUp replace last character with Backspace in field"dialed" end mouseUp I am a newbie, so please use simple answers :) Thank you.
Jason
  • 57
  • 8
2
votes
2 answers

How much information can be stored in an array before performance degrades?

for simplicity, say we have an array of personal contacts, the first key is the contact name, and there are subkeys which include phone number, address, email, notes and date of birth how many contacts could be held in an array in memory without…
MadPink
  • 294
  • 1
  • 10
2
votes
1 answer

SELECT * FROM giving other result then SELECT 2010,2011 FROM

when i try to get the values from some columns and use SELECT 2010,2011 FROM blablatable then i get only the table names(checked in a browser). When i use SELECT * FROM blablatable then i get (of course everything) but then the content of the…
JeeJee Studio
  • 57
  • 1
  • 10
2
votes
1 answer

Livecode: Detect cursor position inside the field

Is there a way to detect if the user has move the cursor somewhere in the field? Looks like the field does not trigger any mouseDown or mouseUp event when I click the edit field. Also, can we return the position of the cursor inside the field when…
JunM
  • 7,040
  • 7
  • 37
  • 58
2
votes
1 answer

How to Get/Read Error Log Information from Android (Not ACRA)

I have an android app that is deployed to .apk file. I tested my app to the android device and it froze and closed. I want to know why is that happening even though my app worked on the PC so I think I need something that can report some error logs…
Mai
  • 363
  • 3
  • 16
1 2
3
42 43