Search found 24 matches

by dpatterson
Tue Jun 13, 2017 9:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Incorrect "Column does not exist" error from dataGrid
Replies: 1
Views: 2248

Re: Incorrect "Column does not exist" error from dataGrid

After much pulling of hair, I finally figured it out.
There was a mysterious numbered group in the card and it contained another group named "vendorsGrid".
I have no idea where either of them came from.
I had to delete it using the message box. The Project Browser wouldn't.

Strange.
by dpatterson
Tue Jun 13, 2017 7:11 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Incorrect "Column does not exist" error from dataGrid
Replies: 1
Views: 2248

Incorrect "Column does not exist" error from dataGrid

I added a new dataGrid to a card, named it, and added my columns to it. When I try to set the alignment of the headers with set the dgHeaderAlignment["id"] of group "vendorsGrid" of card "lists" to "left" LC reports the following error: Message execution error: Error description: Object: object does...
by dpatterson
Thu Jun 08, 2017 10:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: tsNet Sample Stack fails
Replies: 3
Views: 3373

Re: tsNet Sample Stack fails

The sample stack is referenced in the last paragraph here:
https://livecode.com/tsnet-new-networki ... -livecode/

The URL of the sample stack is:
https://downloads.techstrategies.com.au ... k.livecode
by dpatterson
Thu Jun 08, 2017 10:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: tsNet Sample Stack fails
Replies: 3
Views: 3373

tsNet Sample Stack fails

I want to look into the new tsNet functionality. I downloaded the tsNet sample stack linked to from the 8.1 announcement page. When I click the HTTP GET Example button it fails at line 18 in the mouseUp handler for that button with: "button "HTTP GET Example": execution error at line 18 (Handler: ca...
by dpatterson
Tue Feb 14, 2017 1:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Detect window move
Replies: 3
Views: 2854

Re: Detect window move

Thanks for the replies.
So simple once you know how. :wink:
by dpatterson
Tue Feb 14, 2017 12:45 am
Forum: Talking LiveCode
Topic: Why LiveCode can't remember the state of its windows?
Replies: 4
Views: 3343

Re: Why LiveCode can't remember the state of its windows?

Mag, Don't know if you're still looking for a solution for this, but this is working for me: on preOpenStack local filePath # # Special initialization for development mode. # if toLower( char 1 to 3 of environment()) is "dev" then modeless stack "revIDEProjectBrowser" modeless stack "Message Box" en...
by dpatterson
Mon Feb 13, 2017 9:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: No such object error when object does exist
Replies: 3
Views: 2878

Re: No such object error when object does exist

Klaus, Actually, I had to add them because the menu handling code that results in this card being opened is in another card's script. Leaving them out resulted in "no such object" errors. Since you said I didn't really need them, the next question was "Well then, why do I need them?" Backtracking al...
by dpatterson
Mon Feb 13, 2017 6:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: No such object error when object does exist
Replies: 3
Views: 2878

No such object error when object does exist

Okay. I have an openCard handler that references a data grid successfully on one line and then fails a few lines later with: card "cvList": execution error at line 63 (Chunk: no such object), char 7 on openCard local tmp logDebug( "me: " & name of me ) logDebug( the dgData of group "cvGrid" of me ) ...
by dpatterson
Tue Feb 07, 2017 4:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Emacs key bindings
Replies: 1
Views: 1865

Re: Emacs key bindings

Turns out this is a bug.
I filed a report and it has been confirmed.
issue: http://quality.livecode.com/show_bug.cgi?id=19217
by dpatterson
Fri Feb 03, 2017 11:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Emacs key bindings
Replies: 1
Views: 1865

Emacs key bindings

According to the documentation, setting the emacsKeyBindings to true enables a subset of the Emacs key bindings. I would really love to use this feature. I've been using Emacs since the late eighties and have configured all of my other IDEs to behave the same way. Not having the basics (^a, ^e, ^p, ...
by dpatterson
Wed Feb 01, 2017 5:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Detect window move
Replies: 3
Views: 2854

Detect window move

Okay. This must be really simple and just haven't done the correct search.

How do I detect that a window/stack has been/is moving?

TIA
Dave
by dpatterson
Sat Jan 28, 2017 10:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Return going to message box, not caller
Replies: 3
Views: 2804

Re: Return going to message box, not caller

Bernd,

Doh. Of course. Variable name overload. Oops! :oops:
Thanks very much for pointing that out.

I'm still getting used to all of the LiveCode reserved words (and I have a tendency to use their long forms in my source). :D
by dpatterson
Sat Jan 28, 2017 8:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Return going to message box, not caller
Replies: 3
Views: 2804

Return going to message box, not caller

Okay. Color me confused. I have a function that is displaying its return value in the message box instead of returning it to the caller. Calling code: # # Adds the specified text and a return to the log field. # command log msg local lineCount local lineHeight local timestamp local newLine = "<br>" ...
by dpatterson
Fri Jan 27, 2017 6:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stack doesn't come to front upon first go to card
Replies: 2
Views: 2042

Re: Stack doesn't come to front upon first go to card

Hmm. I would hope not since it's a double-click handler.
It shouldn't fire until after the second mouse up.

Besides, as I said in the original post, this only happens if the target stack isn't already visible.
by dpatterson
Thu Jan 26, 2017 8:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stack doesn't come to front upon first go to card
Replies: 2
Views: 2042

Stack doesn't come to front upon first go to card

Hello. I have two substacks. One contains a datagrid with a list of customers. The other contains the fields required to edit a customer. The datagrid has a custom column behavior with a mouseDoubleUp handler for selecting a row. The last thing in that handler is go to card "addEdit" of stack "custo...

Go to advanced search