On Mon, Oct 24, 2011 at 8:16 PM, Bob Sneidar 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
> subtracting 1 f
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 spe
On Thu, Oct 20, 2011 at 12:34 AM, Mike Doub 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 sorting optio
How to use LiveCode
Subject: Re: Resizable DataGrid Question
On Wed, Oct 19, 2011 at 4:56 PM, Mike Doub wrote:
>
> on FillInData pDataArray
> set the text of field "Name" of me to pDataArray["LastName"] & \
> comma & space & pDataArray["Fi
On Wed, Oct 19, 2011 at 4:56 PM, Mike Doub 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
, 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 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
On Wed, Oct 19, 2011 at 11:43 PM, zryip theSlug 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 dgInde
Nope, same result.
Thanks just the same.
-= Mike
-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Pete
Sent: Wednesday, October 19, 2011 5:22 PM
To: How to use LiveCode
Subject: Re: Resizable DataGrid Question
On Wed, Oct 19, 2011 at 10:56 PM, Mike Doub 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 Fi
d 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 LiveC
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
The selectionchanged message sent to
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 i
I am trying to use a DataGrid to create a contact list that has a spacer
between each alphabetic grouping of names. I was thinking to use the
non-fixed length attribute of the DataGrid and adjust the size dynamically
in the LayoutControl handler as well as showing a field that would contain
the s
13 matches
Mail list logo