[JW Lua] 1. FCCtrlDataList (Robert Patterson)

Robert Patterson robert at robertgpatterson.com
Fri Jan 12 23:00:40 CET 2024


The problem with FCCtrlDataList specifically has to do with pre-selecting
the selected item before the dialog is running. This is broken in 0.70,
even for single-select lists.

As for the double click issue, if I understand correctly, it seems you are
seeing the problem even on FCCtrlListBox? If so, the Class Browser now
responds to double-click. Perhaps an examination of that code would
illuminate the issue.



On Fri, Jan 12, 2024 at 3:06 PM carlvine <carlvine at iinet.net.au> wrote:

> The only scripts in the REPO using CreateDataList seem to be my two
> “cue_notes” scripts, to incorporate checkbox list selection. These are
> still working fine on 0.70, including an update to  “cue_notes_overlay.lua”
> (not yet PR’d) using AllowsMultipleSelection.
>
> But I’m working on an upgrade to “hotkey_script_palettes.lua” to access
> the double-click in 0.70. At first I replaced ListBox with DataList but
> this caused a weird error (linked to UI event ordering?) that I still can’t
> trace. Reverted to ListBox but the problem persists - whenever DoubleClick
> detection is used.
>
> Carl
>
> On 12 Jan 2024, at 10:00 pm, jwlua-request at jwmusic.nu wrote:
>
> Send JWLua mailing list submissions to
> jwlua at jwmusic.nu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
> or, via email, send a message with subject or body 'help' to
> jwlua-request at jwmusic.nu
>
> You can reach the person managing the list at
> jwlua-owner at jwmusic.nu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JWLua digest..."
>
>
> Today's Topics:
>
>   1. FCCtrlDataList (Robert Patterson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Jan 2024 08:32:04 -0600
> From: Robert Patterson <robert at robertgpatterson.com>
> To: "The JW Lua script plug-in." <jwlua at jwmusic.nu>
> Subject: [JW Lua] FCCtrlDataList
> Message-ID:
> <CAACnceuPk5ATiFA+weEFhaqRpicPJrn=r1-PEU5s4783c14MFw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I would be interested to know if anyone uses FCCtrlDataList in an existing
> script. (I know there are lots of examples of FCCtrlListBox, but I am
> particularly interested in FCCtrlDataList.)
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20240111/75cb857f/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>
> ------------------------------
>
> End of JWLua Digest, Vol 108, Issue 4
> *************************************
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20240112/ae4fd9e8/attachment.htm>


More information about the JWLua mailing list