Tab in datagrid

Josep jmyepes at mac.com
Wed Jun 10 20:29:45 EDT 2009


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
-- 
View this message in context: http://www.nabble.com/Tab-in-datagrid-tp23861351p23973440.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list