[Gambas-user] FileChooser doubleclick on filename - BUG?

Charlie Ogier charlie at cogier.com
Fri Nov 6 17:23:56 CET 2020


I can't get many of the mouse and keyboard events to work with 
FileChooser, is this a bug?


Code to test: -

'***********************************
FileChooser1 As FileChooser

Public Sub Form_Open()

   With Me
     .Padding = 5
     .Arrangement = Arrange.Vertical
     .W = 1000
     .H = 600
   End With

   With FileChooser1 = New FileChooser(Me) As "FileChooser1"
     .Expand = True
   End With

End

Public Sub FileChooser1_DblClick()

   Stop

End

Public Sub FileChooser1_KeyRelease()

   Stop

End

Public Sub FileChooser1_KeyPress()

   Stop

End

Public Sub FileChooser1_MouseDown()

   Stop

End

Public Sub FileChooser1_MouseUp()

   Stop

End
'***********************************

Charlie

On 06/11/2020 13:32, KKing wrote:
> Yes, but on LXDE unit that doesn't seem to work. In form design the 
> right mouse click does not yield popup menu on FileChooser to select 
> events. Putting the below in for either Click or DblClick never gets 
> trapped
>
>> Do you mean like...
>>
>> Public Sub FileChooser1_DblClick()
>> btnOK_Click()
>> End
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----



More information about the User mailing list