Tab in datagrid

Hershel Fisch hershrev at syp2u4c.com
Thu Jun 11 17:58:13 EDT 2009


Very good thanks, Hershel


On 6/10/09 5:29 PM, "Josep" <jmyepes at mac.com> wrote:

> 
> Hi,
> 
> Try this.
> 
> on mouseUp      
>    put the dgNumberOfLines of group "dg_detalle" into tFilas
> 
>    if tFilas<10 then
>       put "0" & tFilas+1 into tLinea
>    else
>       put tFilas+1 into tLinea
>    end if
> 
>    dispatch "addLine" to group "dg_detalle" with tLinea
>    dispatch "ResetList" to group "dg_detalle"
> end mouseUp
> 
> I use this to add rows manually, I put the row line but you can change it,
> for each col put one tab.
> 
> put "col1 value" & tab & "col2 value" & tab & "col3 value" into tLinea
> 
> I hope help you.
> 
> Salut,
> Josep





More information about the use-livecode mailing list