Search found 2607 matches

by stam
Sun May 19, 2024 2:14 pm
Forum: Databases
Topic: Which database
Replies: 6
Views: 171

Re: Which database

Non-SQL database are suitable? Hi Oliver, LiveCode has drivers for SQLite, MySQL, PostgreSQL and ODBC. I think it's possible to use MariaDB as well and Valentina provides drivers if you want to see Valentina server instead... noSQL databases are by-and-large online entities and you would usually co...
by stam
Sun May 19, 2024 2:09 pm
Forum: Talking LiveCode
Topic: Is a good idea?
Replies: 5
Views: 143

Re: Is a good idea?

Hi Oliver, I think most here would agree that LiveCode lets you be extremely productive off the bat. While other languages have their niceties and benefits, LC does let you be productive right away and has an elegance of it's own, which becomes more apparent the more you use the language. I too woul...
by stam
Sun May 19, 2024 1:52 pm
Forum: Databases
Topic: Database using only native Livecode?
Replies: 6
Views: 445

Re: Database using only native Livecode?

Just to expand on this, I would suggest differentiating a datastore from a general use database . Using LC's built in objects as a datastore is eminently feasible, quick and easy. We all do this. However almost always, this will be tailored to the solution, and using this in other situations in ways...
by stam
Thu May 16, 2024 4:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to print a line (row) of a dg table
Replies: 28
Views: 976

Re: how to print a line (row) of a dg table

The image above shows how you can just added to a card as a convenience. But this is just a normal text field. Any text field can do this, just go to the 'table' section in the property inspector: Screenshot 2024-05-16 at 16.26.25.png To adjust the widths of the columns you need to set the tabStops ...
by stam
Thu May 16, 2024 3:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to print a line (row) of a dg table
Replies: 28
Views: 976

Re: how to print a line (row) of a dg table

CAsba wrote:
Thu May 16, 2024 3:02 pm
Thanks for that Craig, but
how do I 'make a tablefield' ?
tablefield.jpg
by stam
Thu May 16, 2024 1:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to print a line (row) of a dg table
Replies: 28
Views: 976

Re: how to print a line (row) of a dg table

Hi Craig, I took a look at tablefield, but I was not able to understand it, how to get data into it programmatically. I never heard of it before, (I am a beginner !) A tableField is just a normal field with the difference that it treats tab-separated-values (TSV) as spreadsheet data. If data items ...
by stam
Tue May 14, 2024 5:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to print a line (row) of a dg table
Replies: 28
Views: 976

Re: how to print a line (row) of a dg table

dunbarx wrote:
Tue May 14, 2024 3:15 pm
Klaus, what are you trying to say here?

Set?

Craig
Set a property
Put into a variable
Mixing these is recipe for an unhappy life ;)
by stam
Mon May 13, 2024 8:36 pm
Forum: Talking LiveCode
Topic: Can't maintain textSize properties
Replies: 12
Views: 389

Re: Can't maintain textSize properties

Well your answers point to this being an issue with your specific app/stack/collection of stacks. No one would want to recreate 21,000 lines of code, so with you there ;) But errant code does not mean erroneous code; but rather than some unforeseen compound effect that has come in at some point duri...
by stam
Mon May 13, 2024 7:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to print a line (row) of a dg table
Replies: 28
Views: 976

Re: how to print a line (row) of a dg table

Unless you know an easier way... OK, so more the last option then... Do I understand from your last post that you used a tableField and that's what isn't behaving? Or did you just use a normal field? I presume that data is exported as TSV (ie the dgText)? I can't see how a tableField wouldn't work ...
by stam
Mon May 13, 2024 6:24 pm
Forum: Talking LiveCode
Topic: Can't maintain textSize properties
Replies: 12
Views: 389

Re: Can't maintain textSize properties

Three questions then: 1. Have you experienced anything like this with other stacks/applications (eg trying to rebuild a portion of this app from scratch)? 2. Has anyone else had this issue or is it just you? (I certainly haven't heard of this before or seen it posted on the forums, but then you have...
by stam
Mon May 13, 2024 5:20 pm
Forum: Talking LiveCode
Topic: Can't maintain textSize properties
Replies: 12
Views: 389

Re: Can't maintain textSize properties

Stam. What do I look like, a power user??? :roll: No, though. :cry: Craig It was just a random thought... but yes you are a power user ;) I can only the imagine the issue is some weird inheritance from some parent object or that you have some code somewhere that is unintentionally doing this. I tak...
by stam
Mon May 13, 2024 5:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to print a line (row) of a dg table
Replies: 28
Views: 976

Re: how to print a line (row) of a dg table

Hi Stam, that's what I've done, but the resulting text is a mess, as it doesn't show the text in columns, as, depending on the width of text in each column of the dg, the lines are too messy to present to the user. I was looking for a way to keep each dataset in a column in the field. Hi Craig, as ...
by stam
Mon May 13, 2024 4:42 pm
Forum: Talking LiveCode
Topic: Can't maintain textSize properties
Replies: 12
Views: 389

Re: Can't maintain textSize properties

Just a thought - you haven't used responsiveLayout at some point previously on the stack?
by stam
Mon May 13, 2024 4:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to print a line (row) of a dg table
Replies: 28
Views: 976

Re: how to print a line (row) of a dg table

My practice with any any kind of list (tableField, data grid, polygrid, etc) is to store the full data set in a custom property of the object in question. This allows me to filter the list to only show the records I'm looking for (I guess in your case the lines you want to print) and and having the ...
by stam
Sat May 11, 2024 1:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can You do this?
Replies: 26
Views: 1001

Re: Can You do this?

If you don't care why did you bother to point something out. Give it a rest. I'm pointing it out because it's not just about you. This is a public forum read by all, and every post here should be to show the best possible answer, to help all. If there is a better answer, I'm happy to be corrected, ...

Go to advanced search