Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread Tom Glod via use-livecode
just fyi. i don't know if this is what u need, but you can easily apply
the same datagrid template to more than one data grid object. which could
achieve the same result as a shared group in most use cases.

On Wed, Sep 6, 2017 at 1:57 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Klaus Major wrote:
>
>> Hi Richard,
>>
>> Am 06.09.2017 um 18:39 schrieb Richard Gaskin via use-livecode
>>> :
>>>
>>> Did you also set the backgroundBehavior to true on both the row template
>>> group and the DG group?
>>>
>>
>> yes and yes (via msg), but when I want to group the datagrid with one or
>> two buttons I get:
>> Message execution error:
>> Error description: group: cannot group background or shared groups
>>
>
> That would appear to be a separate issue.  Whether it's an IDE bug or an
> engine bug or a user error would depend on details.
>
> If I get some later today I may try to replicate that, and perhaps even
> try the shared DG grid, but no promises as it's a busy day here today.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.com
> http://post.spmailt.com/f/a/ak_sp4rp-8h6ZyL2mFK9Ag~~/AAGp3AA~/RgRbkYPOP0EIACzYHIgFPDhXA3NwY1gEAFkGc2hhcmVkYQdoZWxsb18xYAszNS4xNjAuNC4xNUIKAABOULBZvkPKvVIddXNlLWxpdmVjb2RlQGxpc3RzLnJ1bnJldi5jb20JUQQARBpodHRwOi8vd3d3LkZvdXJ0aFdvcmxkLmNvbUcCe30~
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://post.spmailt.com/f/a/IxEXIfDR7bY90eAqv4Ia6g~~/AAGp3AA~/RgRbkYPOP0EIACzYHIgFPDhXA3NwY1gEAFkGc2hhcmVkYQdoZWxsb18xYAszNS4xNjAuNC4xNUIKAABOULBZvkPKvVIddXNlLWxpdmVjb2RlQGxpc3RzLnJ1bnJldi5jb20JUQQARDVodHRwOi8vbGlzdHMucnVucmV2LmNvbS9tYWlsbWFuL2xpc3RpbmZvL3VzZS1saXZlY29kZUcCe30~
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread Richard Gaskin via use-livecode

Klaus Major wrote:

Hi Richard,


Am 06.09.2017 um 18:39 schrieb Richard Gaskin via use-livecode :

Did you also set the backgroundBehavior to true on both the row template group 
and the DG group?


yes and yes (via msg), but when I want to group the datagrid with one or two 
buttons I get:
Message execution error:
Error description: group: cannot group background or shared groups


That would appear to be a separate issue.  Whether it's an IDE bug or an 
engine bug or a user error would depend on details.


If I get some later today I may try to replicate that, and perhaps even 
try the shared DG grid, but no promises as it's a busy day here today.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread Klaus major-k via use-livecode
Hi Richard,

> Am 06.09.2017 um 18:39 schrieb Richard Gaskin via use-livecode 
> :
> 
> Did you also set the backgroundBehavior to true on both the row template 
> group and the DG group?

yes and yes (via msg), but when I want to group the datagrid with one or two 
buttons I get:
Message execution error:
Error description: group: cannot group background or shared groups

I was really hoping for a simple solution so I will stop experimenting right 
here! :-)

> -- 
> Richard Gaskin
> Fourth World Systems
> 
> Klaus Major wrote:
> 
>> Hi Richard,
>>> Am 06.09.2017 um 16:37 schrieb Richard Gaskin via use-livecode 
>>> :
>>> Klaus major wrote:
>>> > I just wanted to display the SAME data in the same datagrid on
>>> > more than one card.
>>> > Just like every (background behavior) group would do.
>>> I you set the sharedText of the fields in the row template does the DG turn 
>>> that off?
>> set the sharedtext of the field in the template to true, but no success.
>> Empty fields and even header (column titles) on a new card.
>> I am a afraid a datagrid is not meant to be in a shared bg group.
>> Did not dive into the DG behavior script however, and actually do not feel 
>> to do so...

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread Richard Gaskin via use-livecode
Did you also set the backgroundBehavior to true on both the row template 
group and the DG group?


--
 Richard Gaskin
 Fourth World Systems

Klaus Major wrote:


Hi Richard,


Am 06.09.2017 um 16:37 schrieb Richard Gaskin via use-livecode :

Klaus major wrote:

> I just wanted to display the SAME data in the same datagrid on
> more than one card.
> Just like every (background behavior) group would do.

I you set the sharedText of the fields in the row template does the DG turn 
that off?


set the sharedtext of the field in the template to true, but no success.
Empty fields and even header (column titles) on a new card.

I am a afraid a datagrid is not meant to be in a shared bg group.

Did not dive into the DG behavior script however, and actually do not feel to 
do so...


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread Klaus major-k via use-livecode
Hi Richard,

> Am 06.09.2017 um 16:37 schrieb Richard Gaskin via use-livecode 
> :
> 
> Klaus major wrote:
> 
> > I just wanted to display the SAME data in the same datagrid on
> > more than one card.
> > Just like every (background behavior) group would do.
> 
> I you set the sharedText of the fields in the row template does the DG turn 
> that off?

set the sharedtext of the field in the template to true, but no success.
Empty fields and even header (column titles) on a new card.

I am a afraid a datagrid is not meant to be in a shared bg group.

Did not dive into the DG behavior script however, and actually do not feel to 
do so...

> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread Richard Gaskin via use-livecode

Klaus major wrote:

> I just wanted to display the SAME data in the same datagrid on
> more than one card.
> Just like every (background behavior) group would do.

I you set the sharedText of the fields in the row template does the DG 
turn that off?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread Klaus major-k via use-livecode
Hi Craig,

> Am 06.09.2017 um 15:02 schrieb dunbarx via use-livecode 
> :
> 
> Klaus. 
> 
> Not sure what you mean. Is it that you want specific fields (or all of them)
> in a DG to have their sharedText property set to true? 

no, I just wanted to display the SAME data in the same datagrid on more than 
one card.
Just like every (background behavior) group would do.

> You can do this by hand: 
> set the sharedText of fld "col 1 0001" to "true" 

Yes, but I can also forbear this! :-D

> Craig

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread dunbarx via use-livecode
Klaus. 

Not sure what you mean. Is it that you want specific fields (or all of them)
in a DG to have their sharedText property set to true? 

You can do this by hand: 

set the sharedText of fld "col 1 0001" to "true" 

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread dunbarx via use-livecode
Klaus.

Not sure what you mean. Is it that you want specific fields (or all of them)
in a DG to have their sharedText property set to true?

You can do this by hand:

set the sharedText of fld "col 1 0001" to "true"

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode