Re: [code][textadept] "standard_dropdown" dialog broken (on W32)

From: Mitchell <m.att.foicica.com>
Date: Mon, 20 Nov 2017 11:20:02 -0500 (EST)

Hi Peter,

On Mon, 20 Nov 2017, Peter Rolf wrote:

> Hi Mitchell,
>
> I tried to replace my old three button dialog with
> "ui.dialogs.standard_dropdown" (I need at least four different values),
> but no success. The attached code snippet shows the problem (resulting
> 'button' values in the comments).

`ui.dialogs.standard_dropdown()` returns two values. It appears your code only asks for the first one (button). Something like:

   local button, result = ui.dialogs.standard_dropdown{...}

should work.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 20 Nov 2017 - 11:20:02 EST

This archive was generated by hypermail 2.2.0 : Tue 21 Nov 2017 - 06:54:24 EST