piDogDataView.DataView.CellMouseDrag

Scope: Public
Event CellMouseDrag(row as integer, column as integer, x as integer, y as integer)
The Mouse was dragged after cellClick returned true. X and Y are relative to the top-left of the cell.


Example:

// allow dragging in progressbar cells to adjust values

If Me.CellType(row,column)=Me.TypeProgress Then
If Me.CellValue(row,column)<>x/Me.Column(column).WidthActual Then
Me.Cell(row,column)=x/Me.Column(column).WidthActual
end if
Return
End If


//example showning cells that can be resized by dragging at the edge of the cell
//applies to cells with cellheight

Me.CellHeight(row,column)=y+3