Page 2 of 2 FirstFirst 12
Results 41 to 44 of 44

Thread: ucGridPlus

  1. #41
    Junior Member
    Join Date
    Jul 2020
    Posts
    29

    Re: ucGridPlus

    Hi, Leandro!

    Category headers - not blocked for input. After entering text and pressing Enter, an error occurs. See screenshot.

    Name:  screen.jpg
Views: 779
Size:  45.1 KB
    Last edited by Visualman; Nov 18th, 2022 at 12:32 AM.

  2. #42

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Location
    Argentina
    Posts
    441

    Re: ucGridPlus

    Quote Originally Posted by Visualman View Post
    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
    leandroascierto.com Visual Basic 6 projects

  3. #43
    Junior Member
    Join Date
    Jul 2020
    Posts
    29

    Re: ucGridPlus

    I add screenshot

  4. #44

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Location
    Argentina
    Posts
    441

    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:
    1. Private Sub GridProperties_DblClick()
    2.    
    3.     If Combo1.Visible Then
    4.         If Combo1.ListIndex = Combo1.ListCount - 1 Then
    5.             Combo1.ListIndex = 0
    6.         Else
    7.             Combo1.ListIndex = Combo1.ListIndex + 1
    8.         End If
    9.     ElseIf Command1.Visible Then
    10.         Command1_Click
    11.     Else
    12.         If Not GridProperties.RowIsGroup(GridProperties.CurRow) Then '<------- here
    13.             GridProperties.CellStartEdit GridProperties.CurRow, 5
    14.         End If
    15.     End If
    16. End Sub
    leandroascierto.com Visual Basic 6 projects

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width