Search found 9451 matches

by dunbarx
Tue May 21, 2024 8:30 pm
Forum: Talking LiveCode
Topic: Is a good idea?
Replies: 11
Views: 304

Re: Is a good idea?

It is true that LC does not run as quickly as other lower level languages. But as a benchmark, consider this code: on mouseUp put the ticks into tStartTime --This puts a system time stamp (the "ticks") into a variable I just created, "tStartTime" put 0 into tCounter -- put a zero into another variab...
by dunbarx
Tue May 21, 2024 6:25 pm
Forum: Talking LiveCode
Topic: Is a good idea?
Replies: 11
Views: 304

Re: Is a good idea?

Oliver. Make an address book stack using a separate card for each person. That will take time, and will likely not be pretty. Do not worry about pretty. Yet. Now embellish it with gadgetry, sorting, finding, adding attributes to each entry so that you can isolate, say, family members or people you d...
by dunbarx
Sun May 19, 2024 5:23 am
Forum: Databases
Topic: Database using only native Livecode?
Replies: 6
Views: 492

Re: Database using only native Livecode?

Stam makes two valid points: 1- The built-in tools have their own learning curve apart from "basic" LC, but are already designed and optimized to do such tasks. That makes sense. 2- Rolling your own is certainly workable, more fun, and a far better learning tool, since you will be working with LC "i...
by dunbarx
Sun May 19, 2024 5:11 am
Forum: Talking LiveCode
Topic: Is a good idea?
Replies: 11
Views: 304

Re: Is a good idea?

Oliver. It sounds like LC is perfect for you. Do try it. Ask your questions here; we all race to answer first and best. I am fond of telling new users to build an address book, simple game or any sort of calculator. The final product will likely be of little value, maybe apart from the address book,...
by dunbarx
Thu May 16, 2024 2:47 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. What I meant was something like this. In a button script: on mouseUp put "X" & tab & "Y" & tab & "Z" & return & "A" & tab & "B" & tab & "C" & return & "A" & tab & "S" & tab & "D" into temp set the itemDel to tab repeat for each line tLine in temp put item 2 of tLine & return after columnData ...
by dunbarx
Thu May 16, 2024 2:37 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. The "DGText" from a dataGrid is a tab and return delimited dataSet, just like Excel. A table field is just a LC field with certain properties built to emulate a spreadsheet. So if you simply put the DGText into a table field, it will appear already and properly formatted. The table field has ...
by dunbarx
Wed May 15, 2024 10:29 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. Your comment: to make each line of fields approximate to columns for the fields. Makes me think you have separate fields for each column, and you have ganged those fields side by side to create the whole package. That will work, but is not the best way to do this. So I ask again about using a...
by dunbarx
Tue May 14, 2024 10:47 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

Stam, Klaus.

Yes, I know. :roll:

I was only playing around with the 150 point word "set" in Cossack Pogrom ultra-bold that Klaus posted, trying, I assume, to make his point loud and clear.

Sheesh.

Craig
by dunbarx
Tue May 14, 2024 3:15 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

Klaus, what are you trying to say here?

Set?

Craig
by dunbarx
Tue May 14, 2024 3:14 pm
Forum: Talking LiveCode
Topic: Can't maintain textSize properties
Replies: 12
Views: 433

Re: Can't maintain textSize properties

Sparkout.

I have only one plug-in, which contains several shortcut gadgets for my development life.

Never touched the responsive layout library.

Never did a thing with the html Answer dialog.

Thanks for thinking of me. I will go down with my ship.

Craig
by dunbarx
Mon May 13, 2024 10:51 pm
Forum: Talking LiveCode
Topic: Can't maintain textSize properties
Replies: 12
Views: 433

Re: Can't maintain textSize properties

Stam, Since I did admit I only write errant code I went through all of the project looking for the string "textSize". There were a few here and there, all in report handlers, all isolated to those handlers. Recall that the issue I have is that handfuls of disparate fields on multiple cards suddenly ...
by dunbarx
Mon May 13, 2024 10:40 pm
Forum: Talking LiveCode
Topic: Can't maintain textSize properties
Replies: 12
Views: 433

Re: Can't maintain textSize properties

Stam. Thanks for taking the time to think about this. I never write erroneous code, only errant code. But I simply do not deal with changing font properties anywhere in the program. And I know how easy it is to believe that no tiny forgotten snippet can possibly exist to rear its head. It would be t...
by dunbarx
Mon May 13, 2024 8:20 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)? Nope. 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 yo...
by dunbarx
Mon May 13, 2024 8:11 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.

Just something of interest to me. Did you extract the data from certain columns by setting the itemDel to "tab", looping through each line in the dgText and collecting only the same single item in each line? If so, you have come a long way. :wink:

Craig
by dunbarx
Mon May 13, 2024 8:07 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

I am with Stam. Are you using a table field ? And are the text properties constant throughout that field? That is, the textSize of one line is not different than any other? Stam mentions a point, but I assume that if you get the dgText, then you are getting just that, the text of the DG. So there sh...

Go to advanced search