Search found 5523 matches

by dunbarx
Tue Sep 18, 2018 4:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resize/move line graph?
Replies: 9
Views: 328

Re: Resize/move line graph?

Hermann. I have never used a widget, but you are right. Messages seem to be blocked in a widget. Even rawKeyDown. So there is no communication between the LC script and LC builder worlds??? Anyone? Does this seem reasonable? I am not able to determine if the cursor simply enters the widget rect itse...
by dunbarx
Tue Sep 18, 2018 1:58 pm
Forum: Feature Requests
Topic: Vertical alignment in text fields
Replies: 2
Views: 79

Re: Vertical alignment in text fields

I vote for this as well. It is tedious to use the margin properties of a field to "find", say, the vertical center of a field's text, and this has to be readjusted if one changes the textSize.

Craig Newman
by dunbarx
Tue Sep 18, 2018 1:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resize/move line graph?
Replies: 9
Views: 328

Re: Resize/move line graph?

Hi.

Do I assume you are speaking of a line graph widget?

If so, what is the issue? The widget is simple to drag and resize. What Hermann has offered seems suited more to a polygon graphic.

Craig Newman
by dunbarx
Mon Sep 17, 2018 8:34 pm
Forum: Converting to LiveCode
Topic: Docs for Table Field?
Replies: 4
Views: 562

Re: Docs for Table Field?

I like table fields a lot, and use them a lot. But there is an anomaly with them that must be addressed. It is if they are ill, but there is a pill that makes them better. See this: http://forums.livecode.com/viewtopic.php?f=7&t=31452&hilit=table+field#p170731 The good news is that once they swallow...
by dunbarx
Mon Sep 17, 2018 6:09 pm
Forum: Talking LiveCode
Topic: Limit stack aspect ratio
Replies: 18
Views: 563

Re: Limit stack aspect ratio

Bernd did one
I would not characterize that as "inelegant". :wink:

That is what I meant, that there are secret pathways within LC to ferret out such gadgetry.

But, pderocco, is that the issue? To determine when the user has stopped resizing, and get LC to take over?

Craig
by dunbarx
Mon Sep 17, 2018 4:06 pm
Forum: Talking LiveCode
Topic: Limit stack aspect ratio
Replies: 18
Views: 563

Re: Limit stack aspect ratio

Hi. I have not played with this, but surely you can (assuming you have a fld 1): on resizeStack put the rect of this stack into fld 1 end resizeStack And with the final rect, you can do the math and resize the stack to the ratio you want, including fitting as best as you can into the screenrect. So ...
by dunbarx
Mon Sep 10, 2018 2:04 pm
Forum: Off-Topic
Topic: Learn Assembler in Ubuntu
Replies: 13
Views: 424

Re: Learn Assembler in Ubuntu

I am so glad I do not have to program in assembly language.

Craig
by dunbarx
Mon Sep 10, 2018 2:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Array average
Replies: 12
Views: 346

Re: Array average

Klaus.

Ah.

Craig
by dunbarx
Sun Sep 09, 2018 2:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Array average
Replies: 12
Views: 346

Re: Array average

I thought the issue was that the OP wanted to get the average of an array. The average function will only work with clear data. Unless I am just not getting it, the array must be converted to an ordinary dataSet with the "combine" command, and then the average function can be used. And yes, an empty...
by dunbarx
Fri Sep 07, 2018 3:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Auto Calculate Text Fields?
Replies: 11
Views: 386

Re: Auto Calculate Text Fields?

Klaus.

You, know, I thought that was it. 8)

After all these years, you did not know about "target"? It goes back to HC v.1. :shock:

It really is a useful gadget. How did you live without it? :wink:

Craig :D
by dunbarx
Thu Sep 06, 2018 8:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Printing delivery note
Replies: 20
Views: 845

Re: Printing delivery note

Bogs.

I know you are LC-old-fashioned, too.

But report builder is no longer around, no?

Craig
by dunbarx
Thu Sep 06, 2018 7:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Printing delivery note
Replies: 20
Views: 845

Re: Printing delivery note

Hypercard had, however old fashioned it seemed, a powerful native report feature, that could accept information in any form, and even use user defined functions, all that to assemble data into a customizable template for printing. I did mention it appeared old-fashioned. This sort of comment has com...
by dunbarx
Thu Sep 06, 2018 7:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Auto Calculate Text Fields?
Replies: 11
Views: 386

Re: Auto Calculate Text Fields?

Bogs wrote:

Code: Select all

 a number or if it was empty t
Good point. Shows how important testing is. (Pseudo)

Code: Select all

  if the short name of the target is in varEtc... and\
 (target is a number or target = "") then
Craig
by dunbarx
Thu Sep 06, 2018 6:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Auto Calculate Text Fields?
Replies: 11
Views: 386

Re: Auto Calculate Text Fields?

Monsieur Klaus

Pourquoi, mon petite chouchou?

Craig
by dunbarx
Thu Sep 06, 2018 2:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Auto Calculate Text Fields?
Replies: 11
Views: 386

Re: Auto Calculate Text Fields?

Hi again. Know that you can insert stuff like: if the short name of the target is in variableContainingTheCorrectFieldNames and\ target is a number then... So that only the two fields of interest with valid text place their sums into that third field. That sort of thing, so that it actually works. C...

Go to advanced search