[Gambas-bugtracker] Bug #1801: Gridview do not update it .Selection array since last commit

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue May 26 22:37:43 CEST 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1801&from=L21haW4-

Comment #2 by Olivier CRUILLES:

Sorry, I made a mistake, it's related to a ColumnView, not a Gridview.

Exemple:

The event raise... but 'ColumnView2.Selection' is alway empty


Public Sub ColumnView2_Select()

  Dim KEYEDIT As Integer

  If ColumnView2.Count > 0 Then
    If ColumnView2.Selection.Count > 0 Then
      KEYEDIT = ColumnView2.Selection[0]

      If ModVar.TableauManifeste.Exist(KEYEDIT) = True Then
        Editor1.Text = ModVar.TableauManifeste[KEYEDIT].Script
        Editor1.Goto(0, 0, True)
        Return
      End If
    End If
  End If

  Editor1.Text = ""

End



Olivier

Olivier CRUILLES changed the state of the bug to: Accepted.




More information about the Bugtracker mailing list