Using a Datagrid as background?

Klaus major-k klaus at major-k.de
Wed Sep 11 10:05:48 EDT 2013


Hi Andrew,

Am 11.09.2013 um 15:54 schrieb Andrew Kluthe <andrew at ctech.me>:

> Yep, and it happens a lot. I usually just ResetList on card open for cards
> with shared datagrids. Usually they work fine once you set the dgData as
> well, I think this calls the ResetList when it does that.

OK, this is no problem to re-fill the dg on every opencard!

> Also, any scripts like mouseDoubleUp don't work correctly if you dont place
> the DataGrid inside another group that is then shared between cards.

This is the case here, looks like I am lucky :-)

...
Yep, just tested and seems to work fine so far, thanks a lot for the hints! 

> On Wed, Sep 11, 2013 at 8:31 AM, Klaus major-k <klaus at major-k.de> wrote:
> 
>> Bonjour André,
>> 
>> Am 11.09.2013 um 15:18 schrieb André Bisseret <andre.bisseret at wanadoo.fr>:
>> 
>>> Guten tag Klaus,
>>> 
>>> Might be another way, but the following seems to do the trick :
>>> You have to refresh your dataGrid after placing it.
>>> In the inspector : button "Refresh Data Grid"
>>> If it is by script then :
>>> dispatch "ResetList" to grp "datagridName"
>> 
>> ah, great, thanks, will try this! :-)
>> 
>>> Best regards
>>> 
>>> André

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list