Search found 34 matches

by hylton
Tue Dec 11, 2012 7:55 pm
Forum: Android Deployment
Topic: First steps into Android development
Replies: 12
Views: 11748

Re: First steps into Android development

Hi Jacqueline Thank you for your reply. Your game is one of the suggestions given to me when I asked this question from RunRev support. Let me guess, this game was inspired by real life experience :) 2. To expand on this question: Is it possible for someone in the community to create a skeleton app ...
by hylton
Tue Dec 11, 2012 9:36 am
Forum: Android Deployment
Topic: First steps into Android development
Replies: 12
Views: 11748

First steps into Android development

Hello, I am busy testing LiveCode for Android development and I need help with the following please: 1. I have not been able to track down one free app (not a game) that has been coded with LiveCode and that runs on my Galaxy Note. Not a single one. Is there anyone out there actually using LiveCode ...
by hylton
Mon Oct 29, 2012 6:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] textColor not responding
Replies: 2
Views: 1940

Re: textColor not responding

Hi Sturgis

Thank you very much!

I had set the colour to black in a handler, which was overriding my choice in Colors & Patterns.

As soon as I commented out that code, textColor worked.

Kind regards
Hylton
by hylton
Sat Oct 27, 2012 2:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] textColor not responding
Replies: 2
Views: 1940

[Solved] textColor not responding

Hello, I am trying to change the colour of the text in a Scrolling List Field to white. It must be something really simple I am missing, but whatever I try, LiveCode ignores. I highlight the field, click on Colors & Patterns, click the button to set the Text colour and my choice is ignored. No matte...
by hylton
Tue Oct 16, 2012 10:40 am
Forum: Windows
Topic: How to listen to keyboard events
Replies: 3
Views: 3697

Re: How to listen to keyboard events

Hi Klaus Yes, the user can be in Word, Excel, Firefox, or any other program that allows text input. The LiveCode application would simply listen to what the keyboard is doing, and it there is a match, replace the text in the active Window. That would require an external. What do you mean, and where ...
by hylton
Tue Oct 16, 2012 9:27 am
Forum: Windows
Topic: How to listen to keyboard events
Replies: 3
Views: 3697

How to listen to keyboard events

Hello, I would like to create a simple application that performs the task of replacing text as the user types. Example: The user types .ty and the program replaces it with Thank you. The program would need to run in the notification area all the time and would need to listen for specific keyboard st...
by hylton
Sat Oct 13, 2012 2:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] How to delete an arbitrary element from an array
Replies: 27
Views: 19052

Re: How to delete an arbitrary element from an array

Mind ... Blown!

Accessing arrays with a variable o_O!

Klaus, your code has worked like a champ!

To update the task list field, I used tKeys in the
repeat for each loop, instead of the keys in the array,
and it has all come together.

Thank you!!
by hylton
Sat Oct 13, 2012 10:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] How to delete an arbitrary element from an array
Replies: 27
Views: 19052

Re: How to delete an arbitrary element from an array

Unfortunately, none of these answers are getting me to a place where I understand how multi-dimensional arrays work. So let me try explain again. My array looks like this in the variable inspector: gTaskArray 1 task title 1 task description 1 2 task title 2 task description 2 3 task title 3 task des...
by hylton
Fri Oct 12, 2012 1:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] How to delete an arbitrary element from an array
Replies: 27
Views: 19052

Re: How to delete an arbitrary element from an array

The order of elements in an array isn't deterministic. If you want to display the elements in order you'd have to sort the keys in gTaskList before the repeat loop. I thought that I had achieved that with Klaus' code, but unfortunately, after looking carefully at the array in the variable inspector...
by hylton
Fri Oct 12, 2012 1:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] How to delete an arbitrary element from an array
Replies: 27
Views: 19052

Re: How to delete an arbitrary element from an array

Hi Sri

Thank you for your suggestion, but I don't understand what I am supposed to do with gKeysList?

If I put your code into my handler and rename it back to gTaskList, nothing happens. If I create 9 tasks and delete a task, I still have 9 tasks.
by hylton
Fri Oct 12, 2012 12:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] How to delete an arbitrary element from an array
Replies: 27
Views: 19052

Re: [SOLVED] How to delete an arbitrary element from an arra

I am sure you mean "per se", right? Thanks for that 8) Something strange is happening. The handler is working and gTaskList is rewritten perfectly, but when I want to display the array in the field, the elements are jumbled up. Example: I create 10 tasks, then after deleting task 5, the list looks ...
by hylton
Thu Oct 11, 2012 11:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Cant make my final decision. Please advise.
Replies: 19
Views: 11833

Re: Cant make my final decision. Please advise.

cylent, You and I sound like we have something in common. We are both technically highly proficient, but programming newbies and we are both new to LiveCode. You have a few weeks under your belt, I have a few days. With that in mind here is my perspective: 1. If you are not a programmer already, the...
by hylton
Thu Oct 11, 2012 10:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] How to delete an arbitrary element from an array
Replies: 27
Views: 19052

Re: How to delete an arbitrary element from an array

Klaus!! Your solution worked!! :D on deleteTask delete variable gTaskList[gHilitedLine] put 0 into tCounter repeat for each key tKey in gTaskList add 1 to tCounter put gTaskList[tkey] into tTaskListTemp[tcounter] end repeat put tTaskListTemp into gTaskList go to card "list" end deleteTask To actuall...
by hylton
Thu Oct 11, 2012 9:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] How to delete an arbitrary element from an array
Replies: 27
Views: 19052

Re: How to delete an arbitrary element from an array

Hi Monte We are getting closer!! My issue is not with line 1 per say. That was where my logic was failing before, but this problem is true for any array ID. If I delete array ID 5, or the fifth element :D it no longer exists and I can't reference the new element which is actually called array ID 6 (...
by hylton
Thu Oct 11, 2012 9:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] How to delete an arbitrary element from an array
Replies: 27
Views: 19052

Re: How to delete an arbitrary element from an array

Hi Mark Thanks for the help, but I am not getting this. I can't get your code to work in the context of my stack. A Message Box (Single Line) pops up and the task list field on card "list" is empty. on deleteTask delete variable gTaskList[gHilitedLine] combine gTaskList by cr split gTaskList by cr p...

Go to advanced search