Search found 3875 matches

by bn
Fri May 31, 2024 7:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to use Difference Command with Arrays?
Replies: 4
Views: 170

Re: How to use Difference Command with Arrays?

The Dictionary show: difference targetArray with templateArray [into destinationArray] How do you use the "[into destinationArray]" option? The only example does not show how to use it. If you add "into" and a variable name, you get a compilation error: (split:bad variable) near "destinationArray" ...
by bn
Fri May 31, 2024 3:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Apps not opening
Replies: 12
Views: 457

Re: Apps not opening

oldummy wrote:
Fri May 31, 2024 10:58 am
Uninstalled all except the printer manufacturer's,and that WORKED!
Hi oldummy,

I am glad it worked for you. I felt a bit uneasy because I could not try this in my setting.
But it sure sounded like what people experienced in the bug report.

Kind regards
Bernd
by bn
Fri May 31, 2024 9:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Apps not opening
Replies: 12
Views: 457

Re: Apps not opening

Hi olddummy, If you look at the bug report in detail there are some fixes that worked for the reporters. https://quality.livecode.com/show_bug.cgi?id=23659 Apparently installing the printer drivers from the printer manufacturer instead of a generic printer driver cured the problem. And there was som...
by bn
Thu May 30, 2024 9:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to align the display records in the polygrid?
Replies: 9
Views: 441

Re: How to align the display records in the polygrid?

Hi lemodizon, based from your example your sql-qry has comma but mine has no comma i guess thats why it doesn't display properly I looked at your sql-query and see the the column delimiter is set to tab and the line delimiter is set to return. You should be able to use the code I provided without "r...
by bn
Wed May 29, 2024 7:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to align the display records in the polygrid?
Replies: 9
Views: 441

Re: How to align the display records in the polygrid?

Hi lemondizon, It all depends how the data you get from the sql-query. How are the columns delimited? By comma, by tab or what delimiter. Here I assume that they are comma delimited rigtest,10.5 r4,4.5 r4,4.5 IronMan,10.5 Captain America,5.5 SpiderMan,5.0 Superman,6.6 put this into a field "fData" #...
by bn
Wed May 29, 2024 10:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Apps not opening
Replies: 12
Views: 457

Re: Apps not opening

Hi,

I do not use Windows but there is a bug described here

https://quality.livecode.com/show_bug.cgi?id=23659

that could be the problem. It has to do with printer drivers on Windows.

Kind regards
Bernd
by bn
Tue May 28, 2024 5:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to align the display records in the polygrid?
Replies: 9
Views: 441

Re: How to align the display records in the polygrid?

Hi lemodizon, make a stack with a PolyGrid and a button set the script of the button to on mouseUp put the colorNames into tCNames repeat with i = 1 to 20 repeat with j = 1 to 5 put any line of tCNames & tab after tCollect end repeat delete char -1 of tCollect put cr after tCollect end repeat delete...
by bn
Tue May 28, 2024 5:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to use repeat in polygrid?
Replies: 4
Views: 253

Re: how to use repeat in polygrid?

Hi lemodizon, question what is the use of delete char -1? i tried to use the toggle breakpoint so that i can see if there will be changes noting change or i guess i just overlook the code. delete char -1 is the return at the end of tCollect which it puts there in the last iteration. I prefer to take...
by bn
Tue May 28, 2024 10:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to use repeat in polygrid?
Replies: 4
Views: 253

Re: how to use repeat in polygrid?

Hi lemodizon, There is tsvData for the polygrid, you can set and get tsvData of a polygrid. The first line is the column headers. That is one way to get at your data, here it seems to be the easiest way. on mouseUp put the tsvData of widget "pgDetails" into tData set the itemDelimiter to tab repeat ...
by bn
Mon May 27, 2024 12:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to set every 10th and 25th as cut off in a month
Replies: 4
Views: 286

Re: how to set every 10th and 25th as cut off in a month

Hi Lemondizon, I changed the script to make it a bit clearer and it calculates the days to the next 10th and 25th of month from today. I assume you want both results. It should be easier now to adapt the script if needed. on mouseUp put the short date into tConvertDate put tConvertDate into fld "Cur...
by bn
Sun May 26, 2024 4:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to set every 10th and 25th as cut off in a month
Replies: 4
Views: 286

Re: how to set every 10th and 25th as cut off in a month

Hi lemodizon, this does what you want for 1 target day, modify it for 2 on mouseUp put the short date into tConvertDate put tConvertDate into fld "CurrentDate" put tConvertDate into tStart put 15 into tDayOfMonth convert tConvertDate to dateitems put tConvertDate into tFirstTargetDay if item 3 of tC...
by bn
Sun May 19, 2024 11:22 am
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 46
Views: 4689

Re: Code folding for Livecode 9.6.9 and up

Thank you Derrek,

much appreciated.

Kind regards
Bernd
by bn
Wed May 15, 2024 10:25 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 46
Views: 4689

Re: Code folding for Livecode 9.6.9 and up

Hi Bob, Thanks for the observation. I never tried to move a folded handler to another location in the script but that it unfolds is rather a feature. And in trying to reproduce this the folding indicator for the handler was "open". If you see a "closed" indicator a return anywhere should synch the i...
by bn
Wed May 15, 2024 7:26 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 46
Views: 4689

Re: Code folding for Livecode 9.6.9 and up

New and current version of Code Folding I tested Code Folding with Version 9.6.12 (RC 1) and 10.0.0 (DP 8) and the Version I post below works with both. There was no change to the code except for bug fixes. It addresses all known bugs and quirks. Usually RC versions do not change the IDE in a way t...
by bn
Sat May 11, 2024 11:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Color Scripts
Replies: 4
Views: 350

Re: Color Scripts

Hi Zax,

Thank you for this stack. I is very nicely done and comes in handy.

Kind regards
Bernd

Go to advanced search