vb.net - Insert character at cursor position datagridview? -
how insert character gg @ mouse cursor position of datagridview cell when press f9, cursor may in position?
dim c command = me.dgvdetail.editingcontrol if c isnot nil andalso typeof c textbox selectionstart = ctype(c, textbox).selectionstart end if dim text string = cstr(me.dgvdetail.currentcell.value) me.dgvdetail.currentcell.value = text.insert(selectionstart, "gg")
vb.net datagridview
No comments:
Post a Comment