Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Imran  
#1 Posted : Wednesday, April 10, 2019 4:03:18 PM(UTC)
Imran

Rank: Member

Groups: Registered
Joined: 4/10/2017(UTC)
Posts: 18
Location: Chicago

Was thanked: 1 time(s) in 1 post(s)
I just upgraded to 7.0 and I'm finding that events are not triggering when the grid is referenced from a class module. For example.

On my form with the grid I have:

Code:

Dim moLayoutTool As clsLayoutTool

Set moLayoutTool = New clsLayoutTool
Set moLayoutTool.iGridColumnList = iGridColumnList.Object

Then in my class object I have:

Code:

Public WithEvents iGridColumnList As iGrid

Private Sub iGridColumnList_CellCheckChange( _
        ByVal lRow As Long, _
        ByVal lCol As Long, _
        ByRef eNewCheckState As ECellCheckState, _
        ByRef bCancel As Boolean)

End Sub


But the cell check change event does not fire anymore, it used to in 6.5.

Anyone else experiencing this or have any ideas?

Thanks
Imran

Edited by moderator Thursday, April 11, 2019 11:36:53 AM(UTC)  | Reason: Igor/10Tec cleared the original post status set as 'Issue'

Imran  
#2 Posted : Wednesday, April 10, 2019 4:41:17 PM(UTC)
Imran

Rank: Member

Groups: Registered
Joined: 4/10/2017(UTC)
Posts: 18
Location: Chicago

Was thanked: 1 time(s) in 1 post(s)
Nevermind, I see now that the Event CellCheckChange has been changed to BeforeCellCheckChange. I guess I should read release notes.
Imran
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.