Search found 132 matches

by montymay
Thu Apr 05, 2018 4:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Use of Mac OS in developing app for a Windows network
Replies: 5
Views: 619

Re: Use of Mac OS in developing app for a Windows network

Thanks, Craig, for your reply. If I understand the term "deploy" correctly, it means in the IDE you can convert the application to a standalone for a selected platform, but I know you can do that. My question is different. If I am just developing in the IDE, before deployment to a standalone, and, u...
by montymay
Thu Apr 05, 2018 1:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Use of Mac OS in developing app for a Windows network
Replies: 5
Views: 619

Use of Mac OS in developing app for a Windows network

I must replace my Windows 10 laptop with a new laptop. I am writing an application that will be deployed to a Windows network. Before my laptop became unavailable, I worked in the IDE both at home (Windows 10) and at work (Windows 7). I sync'd the files daily with an external hard drive so that I co...
by montymay
Sat Feb 10, 2018 4:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Populating a Form Datagrid with Records from a Database
Replies: 9
Views: 1134

Re: Populating a Form Datagrid with Records from a Database

Thanks Klaus and Bogs, Enjoyed the wordplay, especially Bogs first post, and, newly confident that using a FORM would be trivially simple, I searched the User Guide harder and found the answer on p. 166 of my edition: If you set the dgText property of a data grid form then the data will be imported,...
by montymay
Fri Feb 09, 2018 10:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Populating a Form Datagrid with Records from a Database
Replies: 9
Views: 1134

Populating a Form Datagrid with Records from a Database

Hello LC forum, I have learned out to programmatically populate a datagrid TABLE with the results of a SELECT query that returns tab- and return-delimited text, but I can find nothing in the User Guide or this forum on how to programmatically populate a datagrid FORM that contains just text fields w...
by montymay
Tue Jan 09, 2018 7:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding Numbered Line to a Numbered List and Renumbering List
Replies: 4
Views: 812

Adding Numbered Line to a Numbered List and Renumbering List

Hello If you have a list of numbered lines in a field, numbered 1 through x, and you want to add numbered line i, where i =< x, what would be the method for renumbering the list? For example, you want to add the line "3) Oranges" to the following field: 1) Apples 2) Pears 3) Peaches 4) Cherries so t...
by montymay
Wed Jan 03, 2018 8:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: NULL character, cause of
Replies: 12
Views: 2283

Re: NULL character, cause of

Thanks, MaxV, for your post. Just two points. I was aware of the URL method but used the alternative because the URL method did not work for me when I used the following syntax: put URL "file:"&tFolder&tTitle&".txt" into fld "text" After many tweaks the solution for me was putting the URL into paren...
by montymay
Tue Jan 02, 2018 10:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: NULL character, cause of
Replies: 12
Views: 2283

Re: NULL character, cause of

Perhaps I have found the cause of the empty first line in the way I wrote the write to file command. My script read: open file tFolder&tTitle&".txt" for write write tNewText to file tFolder&tTitle&".txt" at 0 close file tFolder&tTitle&".txt" set the HTMLtext of fld "text" to it When I deleted the "a...
by montymay
Fri Dec 29, 2017 11:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: NULL character, cause of
Replies: 12
Views: 2283

Re: NULL character, cause of

Hello MaxV, Richmond62, -hh, and others In response to Richmond62, I choose the word "NULL" as the description of the topic because when I populate a text field with the file that my script creates, it has an empty first line. When I open the file in Notepad++, it represents the empty line with a NU...
by montymay
Wed Dec 27, 2017 8:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: NULL character, cause of
Replies: 12
Views: 2283

Re: NULL character, cause of

Thanks for your reply. tText2 is the variable that contains all the text that follows the right brace character, which is used to mark the end of what is intended to be a footnote, from there to the last character in the text contained in the tText2 variable. As far as a I know, and I know very litt...
by montymay
Wed Dec 27, 2017 5:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: NULL character, cause of
Replies: 12
Views: 2283

NULL character, cause of

I hope there is a simple explanation for some behavior that I do not understand. I am developing on the Windows platform. My script puts a text field with some interior text marked with braces into a variable and parses it with the following code: put the htmltext of fld "text" into tText put offset...
by montymay
Fri Dec 08, 2017 7:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Updating Footnoted Text
Replies: 12
Views: 1797

Re: Updating Footnoted Text

Thank you Jacque for your note. Sorry to be a bother, buI I used sentenceOffset and right away I found a problem in using the sentence chunk: any period punctuation mark will be treated as the end of a sentence, e.g., the initials of a name, such as "Sons and Lovers was written by D. H. Lawrence." T...
by montymay
Wed Dec 06, 2017 8:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Updating Footnoted Text
Replies: 12
Views: 1797

Re: Updating Footnoted Text

Hello Dunbarx and others Just a followup to my request for help. The meaning of the only reply so far has eluded me. As I said, I don't want anyone to write the code, just hoping that an experienced programmer could share a little pointer or clue to the algorithm that could be used. The function see...
by montymay
Mon Nov 27, 2017 9:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Updating Footnoted Text
Replies: 12
Views: 1797

Updating Footnoted Text

Hello Dear Reader I am seeking a pointer or a little guidance on the code for updating a text field that has footnotes as numbered links. For example: Hitchhiker's Guide to the Universe was written by Douglas Adams. FN1 Towel Day is celebrated on May 25 in Innsbruck, Austria. FN2 Using read from fil...
by montymay
Sat Nov 04, 2017 7:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to put multiple images in the same row of a datagrid form
Replies: 3
Views: 608

Re: How to put multiple images in the same row of a datagrid form

Hi Klaus

Thank you for your quick reply and the code. You understood what I meant and the code works perfectly. (Of course, the typo in the last line of the behavior script was obvious.) I've yet to understand "[Image URL]", but enlightenment will come in time. :D

Monty
by montymay
Sat Nov 04, 2017 9:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to put multiple images in the same row of a datagrid form
Replies: 3
Views: 608

How to put multiple images in the same row of a datagrid form

I have studied the lesson on how to put different images in a datagrid form, but the lesson uses only one image. put "Jane" into theDataA[x]["FirstName"] put "Blue" into theDataA[x]["LastName"] put "Secret Agent" into theDataA[x]["Title"] put theImageFolder & "monkey.jpg" into theDataA[x]["Image URL...

Go to advanced search