On Thu, Oct 20, 2011 at 12:34 AM, Mike Doub m...@doub.com wrote:
I am not sure that you can assume that the indexes always going to
correspond to the display order. This is why I decided to use dgIndex
function as it returns the indexes in the display order. I do plan on
having multiple
I am a little bit fuzzy as to why you cannot use the dgindex without the math?
Why get the dgIndexes and subtract 1 from the offset? It seems the only reason
your code works is by happy chance. It just so happens that subtracting 1
from the offset gives you the correct index number in this
On Mon, Oct 24, 2011 at 8:16 PM, Bob Sneidar b...@twft.com wrote:
I am a little bit fuzzy as to why you cannot use the dgindex without the
math? Why get the dgIndexes and subtract 1 from the offset? It seems the only
reason your code works is by happy chance. It just so happens that
On Wed, Oct 19, 2011 at 4:56 PM, Mike Doub m...@doub.com wrote:
on FillInData pDataArray
set the text of field Name of me to pDataArray[LastName] \
comma space pDataArray[FirstName] space
pDataArray[MiddleName]
put char 1 of fld Name of me into field spacerLable of me
put
Subject: Re: Resizable DataGrid Question
On Wed, Oct 19, 2011 at 4:56 PM, Mike Doub m...@doub.com wrote:
on FillInData pDataArray
set the text of field Name of me to pDataArray[LastName] \
comma space pDataArray[FirstName] space
pDataArray[MiddleName]
put char 1 of fld Name of me
Sent: Tuesday, October 18, 2011 3:29 PM
To: How to use LiveCode
Subject: Re: Resizable DataGrid Question
The selectionchanged message sent to the datagrid includes the index of the
current and previous selected datagrid rows as parameters. I'm not sure if
that will help though, since this happens
a difference
end if
end if
end FillInData
-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Pete
Sent: Tuesday, October 18, 2011 3:29 PM
To: How to use LiveCode
Subject: Re: Resizable DataGrid Question
On Wed, Oct 19, 2011 at 10:56 PM, Mike Doub m...@doub.com wrote:
I believe that I have found a way to get the previous grid item, but I must
have the syntax incorrect for getting the dgIndex of me. Nothing is being
returned. Can any DataGrid experts give me any guidance?
Thanks
Mike
On Wed, Oct 19, 2011 at 11:43 PM, zryip theSlug zryip.thes...@gmail.com wrote:
on FillInData pDataArray
put pDataArray[LastName] \
comma space pDataArray[FirstName] space
pDataArray[MiddleName] into tCurrentName
set the text of field Name of me to tCurrentName
put the
, October 19, 2011 5:44 PM
To: How to use LiveCode
Subject: Re: Resizable DataGrid Question
On Wed, Oct 19, 2011 at 10:56 PM, Mike Doub m...@doub.com wrote:
I believe that I have found a way to get the previous grid item, but I
must have the syntax incorrect for getting the dgIndex of me
The selectionchanged message sent to the datagrid includes the index of the
current and previous selected datagrid rows as parameters. I'm not sure if
that will help though, since this happens outside of the custom behavior
where the LayoutControl handler sits.
Another way might be to store the
11 matches
Mail list logo