Search found 449 matches

by jameshale
Fri Jan 20, 2017 11:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sort multidimensional array
Replies: 87
Views: 54586

Re: Sort multidimensional array

Unfortunately not (certainly for the Data Grid and the few others I have looked through.) :(
by jameshale
Thu Jan 19, 2017 11:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sort multidimensional array
Replies: 87
Views: 54586

Re: Sort multidimensional array

I noticed you referred to the Data Grid lessons on the livecode site.
If you are using version 8 or 9 of livecode the updated Data Grid guide can be found under the "Guides" tab of the Dictionary window. All but one example have been updated and tested to work.
by jameshale
Tue Jan 17, 2017 4:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid Forms: Can't populate them
Replies: 14
Views: 7164

Re: Data Grid Forms: Can't populate them

Once you get your head around it you will be fine.
One of the first things I do when something doesn't work is to simplify it, or failing that, do it again.
And yes, the grouping in the form layout is critical and so easy to mess up.
Glad you have solved this one.
by jameshale
Fri Jan 13, 2017 9:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid Forms: Can't populate them
Replies: 14
Views: 7164

Re: Data Grid Forms: Can't populate them

Cool. Two things. In your initial post you state you made a field "email" yet you are setting the contents of field "email address" in your script. If this is not a typo the you need to set the contents of field "email". Secondly, try commenting out the line setting the avatar to see if there is an ...
by jameshale
Thu Jan 12, 2017 11:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid Forms: Can't populate them
Replies: 14
Views: 7164

Re: Data Grid Forms: Can't populate them

I am a bit confused with you terminology though. You stated you are using a "Form" data grid yet you keep speaking of rows. Anyway, you will notice a layout handler in the form's behaviour. It is called 'LayoutControl'. At the very least you would have done something to this,as it refers to the init...
by jameshale
Thu Jan 12, 2017 3:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid Forms: Can't populate them
Replies: 14
Views: 7164

Re: Data Grid Forms: Can't populate them

Which version of LC are you using. There was a problem with the resfresh button in the early LC8's. Also, are you seeing anything in your data grid. If you have an error in your layout you may see nothing at all. I do not know how you have laid out the fields in your form and whether you adjusted th...
by jameshale
Sun Jan 08, 2017 12:12 am
Forum: Talking LiveCode
Topic: DataGrid Error, Can't add array to scalar
Replies: 9
Views: 5140

Re: DataGrid Error, Can't add array to scalar

?? I read syrup saying the problem was in his Data Grid Helper, nothing to do with LC.
by jameshale
Mon Jan 02, 2017 4:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid Forms: Can't populate them
Replies: 14
Views: 7164

Re: Data Grid Forms: Can't populate them

Oh, we can't do this? So after I've set the dgData property, I then access it through the pDataArray property? (It's strange that it changes names, since it contains the same information...). Could I get the information by using dgData["Avatar"] or something like that? They do not contain the same ...
by jameshale
Mon Jan 02, 2017 12:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid Forms: Can't populate them
Replies: 14
Views: 7164

Re: Data Grid Forms: Can't populate them

Try...

Code: Select all

set the text of field "Email Address" of me to pDataArray["Email"]
set the text of field "Username" of me to pDataArray["Username"]
set the filename of image "Avatar" of me to pDataArray["Avatar"]
by jameshale
Thu Dec 22, 2016 1:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LV behavior
Replies: 10
Views: 4754

Re: LV behavior

Sorry, doesn't seem to be enough information. Your button script hides some objects and shows an object. What do you mean by it works a while then doesn't? Once you run it once nothing else will happen unless you have been doing other things. So I am guessing you are saying you press the button, do ...
by jameshale
Sat Nov 26, 2016 5:24 am
Forum: App Building Course
Topic: Clock App
Replies: 24
Views: 40085

Re: Clock App

Here is how the template should appear in the Project Browser...
Project_Browser_and_Clock__1___.png
controls in group
by jameshale
Sat Nov 26, 2016 5:22 am
Forum: App Building Course
Topic: Clock App
Replies: 24
Views: 40085

Re: Clock App

I downloaded your app and sure enough there was an issue with showing the alarms. The first clue is the list of errors that come up in the message box when you go to the "alarm" card. Message_Box__Single_Line_.png These tell you something is amiss in the template. When I looked at the "alarm" card i...
by jameshale
Tue Nov 01, 2016 10:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Record sound from mic
Replies: 4
Views: 3141

Re: Record sound from mic

This stretch goal was funded.

https://livecode.com/project/infinite-livecode/

We are just waiting for the summer of 2016.
Unfortunately we do not know which summer of 2016 ;-(
by jameshale
Mon Oct 17, 2016 10:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Odd Excel data?
Replies: 23
Views: 8516

Re: Odd Excel data?

At this stage that is not at all clear. While excel may be holding its working version of a document in RAM it seems highly unlikely to me that the device is feeding this. This would imply that excel is talking directly to it which makes no sense if you can set the device to output a cvs file. More ...
by jameshale
Mon Oct 17, 2016 9:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Odd Excel data?
Replies: 23
Views: 8516

Re: Odd Excel data?

If you have not actually played with it perhaps you are jumping ahead a bit. Your description could be interpreted as the device is simply writing and appending to a cvs file which can be used by excel. If this is the actual case then it can also be used by any other program. Can't LC simply read fr...

Go to advanced search