Need Data Grid help

pink nabble at mad.pink
Sun May 5 16:56:30 EDT 2019


Bingo, that works perfectly


JJS via use-livecode wrote
> On Sun, May 5, 2019 at 2:45 PM pink via use-livecode <

> use-livecode at .runrev

>> wrote:
> 
>> Below is the script for a data grid and the stack script.
>>
>> The data grid times certain jobs, so if you press one, it switched to
>> timing
>> that job.
>>
>> The problem is, when I set the dgData for the grid, the rows are blank up
>> to
>> the row that I press, and none of the changed data appears. However, if I
>> just set it again in a different action it shows up correctly. That is,
>> the
>> data doesn't seem to set correctly as part of my activateJob handler. If
>> I
>> then try to set it again in a different mouseUp handler, everything shows
>> up
>> correctly.
> 
> 
> A LiveCode control cannot be deleted while it is running a script. That is
> what I think is happening here. When calling the handler that will refresh
> the data grid try using “send ... in 0 seconds” so that the refresh
> happens
> after the click within the data grid.
> 
> -- 
> Trevor DeVore
> ScreenSteps
> _______________________________________________
> use-livecode mailing list

> use-livecode at .runrev

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





-----
---
Greg (pink) Miller
mad, pink and dangerous to code
--
Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html




More information about the Use-livecode mailing list