|
-
Nov 17th, 2022, 11:46 AM
#41
Junior Member
Re: ucGridPlus
Hi, Leandro!
Category headers - not blocked for input. After entering text and pressing Enter, an error occurs. See screenshot.
Last edited by Visualman; Nov 18th, 2022 at 12:32 AM.
-
Nov 18th, 2022, 12:17 AM
#42
Thread Starter
Hyperactive Member
Re: ucGridPlus
 Originally Posted by Visualman
Hi, Leandro!
Category headers - not blocked for input. After entering text and pressing Enter, an error occurs. See screenshot.
Attachment 186254
Hi, can't see the screenshot
-
Nov 18th, 2022, 12:34 AM
#43
Junior Member
-
Nov 18th, 2022, 05:19 AM
#44
Thread Starter
Hyperactive Member
Re: ucGridPlus
ok, it is only a problem of the example, not of the grid itself, it is solved by checking if the row is a group, do not edit the cell.
vb6 Code:
Private Sub GridProperties_DblClick()
If Combo1.Visible Then
If Combo1.ListIndex = Combo1.ListCount - 1 Then
Combo1.ListIndex = 0
Else
Combo1.ListIndex = Combo1.ListIndex + 1
End If
ElseIf Command1.Visible Then
Command1_Click
Else
If Not GridProperties.RowIsGroup(GridProperties.CurRow) Then '<------- here
GridProperties.CellStartEdit GridProperties.CurRow, 5
End If
End If
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|