Search found 2610 matches

by stam
Tue May 21, 2024 7:14 pm
Forum: Talking LiveCode
Topic: Is a good idea?
Replies: 10
Views: 272

Re: Is a good idea?

After researching and trying to create something in LiveCode, I can say that it's very different from C, but in some places, it seems easier to understand, perhaps because it's a high-level language. Yes, very different from any C-style language (which is most of them out there...) Not only is the ...
by stam
Tue May 21, 2024 5:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to delete row in the polygrid?
Replies: 2
Views: 72

Re: how to delete row in the polygrid?

Yeah I was going to say exactly that... New widgets have odd syntax indeed. You seem to be using the datagrid syntax, but polygrid is a completely different thing and has its own syntax. Always look up the dictionary... You cannot dispatch "deleteLine" to a polygrid (or you can, but it will do nothi...
by stam
Tue May 21, 2024 1:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: The best way to print a long table field
Replies: 2
Views: 82

Re: The best way to print a long table field

Glad you solved this! Not being very familiar with printing I was imagining how to do this and it struck me this would be a nice print-preview feature: Ceate a substack, laid out as you would want to print, perhaps with a first/title page and subsequent pages being different cards and just print the...
by stam
Sun May 19, 2024 2:14 pm
Forum: Databases
Topic: Which database
Replies: 6
Views: 284

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: 10
Views: 272

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: 489

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: 29
Views: 1126

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: 29
Views: 1126

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: 29
Views: 1126

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: 29
Views: 1126

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: 433

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: 29
Views: 1126

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: 433

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: 433

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: 29
Views: 1126

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 ...

Go to advanced search