Avoid Deselect item with contextualMenuAction

  1. last week

    Arief S

    Feb 10 Bandung - Indonesia

    Hi All,

    I am using xojo 2014. I have a listbox with rows. when I do selecting multiple rows, if I do right-clicked mouse, its deselected the rows, How to avoid this,

    thanks
    regards,
    arief

    Return true from the MouseDown event if it's a right-click:

    Function MouseDown(x As Integer, y As Integer) As Boolean
      If IsContextualClick Then
        Return True
      End If
    End Function
  2. Andrew L

    Feb 10 Answer San Francisco, CA, USA

    Return true from the MouseDown event if it's a right-click:

    Function MouseDown(x As Integer, y As Integer) As Boolean
      If IsContextualClick Then
        Return True
      End If
    End Function
  3. Arief S

    Feb 10 Bandung - Indonesia

    thanks..

    regards,
    arief

  4. Jean-Yves P

    Feb 11 Pre-Release Testers, Xojo Pro Europe (France, Besançon)

    it is a bug that has been corrected in a next version (don't remember 2017 ?)

or Sign Up to reply!