PlanetSquires Forums

Support Forums => PlanetSquires Software => Topic started by: SeaVipe on August 28, 2018, 01:08:52 PM

Title: WinFBE 1.7.7 - ListBox
Post by: SeaVipe on August 28, 2018, 01:08:52 PM
Hi Paul,

Click Event on an existing listBox works fine. But I have added a new listbox just for 1.7.7 and the Click Event and the DoubleClick Event have no effect. All other Mouse Events work (Hover, Move et cetera).
For the existing listbox this works ok:Function frmMain_lstReasons_Click( ByRef sender As wfxListBox, ByRef e As EventArgs) As LRESULT
    ? "frmMain_lstReasons_Click"
    Function = 0
End Function


For a newly added listbox this doesn't work:
Function frmMain_lstTasks_Click( ByRef sender As wfxListBox, ByRef e As EventArgs ) As LRESULT
    ? "frmMain_lstTasks_Click"
    Function = 0
End Function

''
Function frmMain_lstTasks_MouseDoubleClick( ByRef sender As wfxListBox, ByRef e As EventArgs ) As LRESULT

    ? "frmMain_lstTasks_MouseDoubleClick"
    Function = 0
End Function

(I added a second new listbox with the same result)
FYI, in a new or existing ListBox Event Function wfxListBox "sender" dot does nothing but EventArgs "e" dot works properly.
Title: Re: WinFBE 1.7.7 - ListBox
Post by: Paul Squires on August 28, 2018, 03:18:38 PM
Hi Clive,

I am not seeing this behaviour. Are you using the WinFBE Suite package? (I noticed today that I had not updated the WinFormsX GitHub - so if you had used that code there could be a problem - however, the latest code is always in the WinFBE Suite regardless).

Oh, does your second listbox have actual items in it? The Click and Double click will not fire unless it is clicked on an actual listbox item. Just clicking on an empty listbox will not fire anything.

"sender" dots for ListBoxes... I haven't added the codetips for listboxes yet (other than some base control info).
Title: Re: WinFBE 1.7.7 - ListBox
Post by: SeaVipe on August 28, 2018, 03:39:19 PM
The problem she be solve_ed. The little grey cells where not engaged.
Thanks.