EuGrid Not Returning Row

new topic     » topic index » view thread      » older message » newer message

How do I get EuGrid to return the row number of the currently selected cell?
Here's what I try but it always returns zero:

procedure bttn_RemoveAttr_onClick (integer self, integer event, sequence
params)--params is ()
 junk = EGW_GetCurrentCell ( grid1 )
 junk = EGW_GetCellProperty (grid1, junk[1] , EGW_CELL_ROW) -- get index of
selected attribute item
 removeAttr( junk )
end procedure
setHandler( bttn_RemoveAttr, w32HClick,
routine_id("bttn_RemoveAttr_onClick"))

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu