Home > Software engineering >  Vsflexgrid has entered into the edit edit box, mouse click trigger events?
Vsflexgrid has entered into the edit edit box, mouse click trigger events?

Time:10-02

Vsflexgrid has entered into the edit edit box, mouse click trigger events?

CodePudding user response:

Very few people vsflexgrid use? How no one know!!!

CodePudding user response:

BeforeEdit (ByVal Row As Long, ByVal Col As Long, Cancel the As Boolean)
General judgment which column can be edited in this event
For example: in the case of have a regular column, column 2 can't edit
If col=1 then cancel=true

CodePudding user response:

The mouse click events
Private Sub vsflexgrid_DblClick ()

End sub

And click event
Private Sub Vsflexgrid_Click ()

End Sub

Go through control of events, scan the name, you can see,

CodePudding user response:

reference chncoder reply: 3/f
BeforeEdit (ByVal Row As Long, ByVal Col As Long, Cancel the As Boolean)
General judgment which column can be edited in this event
For example: in the case of have a regular column, column 2 can't edit
If col=1 then cancel=true

Before you speak is into the editor, I said after entering editor!
  • Related