PS - Here are two word problems to view this type of algorithm in a
bigger context beyond just software UI. Not too scary or difficult; our
ancestors could solve similar problems, and so can kids in school.
Older problem:
You are in charge of preparing animal enclosures for a market. The
m
Probably has to do with margins.
Bob S
On Apr 2, 2020, at 11:42 PM, Håkan Liljegren via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:
It works for tables with or without date but doesn’t handle tables with
variable row heights as that was not the case at the moment. To get it
pi
With risk of going slightly off-topic, but also showing yet another code
example. I had exactly this problem some time ago and came up with the
following solution:
getProp clickedRowCol
# calc Row => TODO: Handle row with variable row heights
put the clickV - the top of me - the borderWidt
Thank you. I feel so much Better educated. (Sarcasm intended)!!
Sean Cole
Pi Digital
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runr
Pi:
> you make these statement but give no example code to show it. This
> is damned infuriating as it keeps us hunting around in the dark.
On the contrary, as I've mentioned and as you know, "SEVERAL people
immediately provided sample code." You were using sarcasm at the time to
walk back d
Curry
This winds me up a treat! Your point number 6:
> It has been available as a one-line function call without rolling your own
> since at least 2012 with SpreadLib.
is totally unreasonable if you are claiming there IS a one line use case but
ONLY if we buy into some spreadsheet library. Th
We don't need to confuse people - it DOES cause damage, because readers
often trust confident/prolific statements without realizing which ones
are flawed, and they act upon bad information. It often falls to
consultants and trainers like myself to help individuals fix the
resulting problems
Specialising in missing the point as I do, I've posted something here:
http://forums.livecode.com/viewtopic.php?f=7&t=33859
Richmond.
On 2.04.20 1:52, Pi Digital via use-livecode wrote:
Thanks Bernd.
This only works if there is already data in the field. If you put empty into
the field it pr
Sean,
The idea for the script I posted was to be independent of the Livecode provided
tableField.
My use case was that tab-delimited data was provided in a _regular_ field and
the user clicks on a cell and the developer wants to know which cell was
clicked to take action upon that information.
I made two mistakes there. First:
Put cRevTable[“currentxcell”],cRevTable[“currentycell”] into tCellIndex
Should be:
Put the cRevTable[“currentxcell”] of me , the cRevTable[“currentycell”] of me
into tCellIndex
And:
select nothing
Should be:
select empty
Oops
Sean Cole
Pi Digital Product
Thanks Bernd.
This only works if there is already data in the field. If you put empty into
the field it produces no results. In those instances you are forced to get an
x,y clickLoc and use the tabstops and textHeight to hard code the result.
The revTableLibrary was last modified in 2015 from
There was a long thread regarding the dataGrid which somehow touched getting
the row and column of a basic tableField.
I posted this solution also there. Mike Doub found some problems that turned
out to be due to the fact that "cellEdit" was set to true for the table object.
If "cellEdit" is true
12 matches
Mail list logo