datagrid: rows disapear when add new row

Trevor DeVore lists at mangomultimedia.com
Tue Feb 1 16:23:44 EST 2011


On Tue, Feb 1, 2011 at 3:57 PM, JosepM <jmyepes at mac.com> wrote:

>
>  on mouseup
>     put the dgNumberOfLines of group "dg_test" of this stack into tFilas
>
>   if tFilas<9 then
>      put "00" & tFilas+1 into tLinea
>   else
>      put "0" & tFilas+1 into tLinea
>   end if
>
>   dispatch "addLine" to group "dg_test" of this stack with tLinea
>
>   dispatch "ResetList" to group "dg_test" of this stack
> end mouseup


I assume this button resides outside of the data grid. So clicking on this
button causes a line to be added and the bug you are seeing to occur?

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
LiveCode Resources for Developers: http://livecode.bluemangolearning.com



More information about the use-livecode mailing list