By the way, this was fixed in 3.18: Fixed: MULTIVALUE and MULTIVALUECOUNT in *IupFileDlg* when only one file is selected.
Maybe you are running an older IUP version? Best, Scuri On Mon, Sep 19, 2016 at 5:06 PM, Antonio Scuri <antonio.sc...@gmail.com> wrote: > Sorry but it works here. I tested under Ubuntu 16 (Linux44_64). > > This test: iup/html/examples/tests/predialogs.c > > When pressing "o" shows a dialog that if I select only one file results: > > OK > File exists - VALUE(/tecgraf/iup/html/examples/tests/button.c) > DIRECTORY(/tecgraf/iup/html/examples/tests/) > MULTIVALUECOUNT(2) > MULTIVALUE0 = /tecgraf/iup/html/examples/tests/ > MULTIVALUE1 = button.c > > Can you test the same code? > > Best, > Scuri > > > > On Sun, Sep 18, 2016 at 10:25 PM, Antonio Scuri <antonio.sc...@gmail.com> > wrote: > >> Ok. I'll try to reproduce the problem here and let you know what's >> going on. >> >> Best, >> Scuri >> >> >> On Sun, Sep 18, 2016 at 9:58 PM, max chen <trls...@gmail.com> wrote: >> >>> sorry >>> IUP version is iup-3.19.1_Linux44_64_lib >>> >>> 2016-09-18 9:31 GMT+08:00 Antonio Scuri <antonio.sc...@gmail.com>: >>> >>>> OK. Which IUP version? >>>> >>>> Em 17/09/2016 22:18, "max chen" <trls...@gmail.com> escreveu: >>>> >>>>> Hi, >>>>> >>>>> I'm using GTK driver in ubuntu 16.04 x64 >>>>> >>>>> >>>>>> Which driver? Windows or GTK? >>>>>> >>>>>> About the colored transparent box, using CD or any other drawing >>>>>> toolkit. >>>>>> But when using CD must use the ContextPlus drivers, because the regular >>>>>> drivers GDI and GTK2 does not have transparency. Only GDI+ and GTK3 using >>>>>> Cairo. >>>>>> >>>>>> Best, >>>>>> Scuri >>>>>> >>>>>> >>>>>> On Tue, Sep 13, 2016 at 11:51 PM, max chen <trlsmax@...> wrote: >>>>>> >>>>>> > Hi, >>>>>> > >>>>>> > I use IupFileDlg to select files, when set MULTIPLEFILES = Yes and only >>>>>> > select only one file, MULTIVALUECOUNT return 0 and MULTIVALUE0 and >>>>>> > MULTIVALUE1 return NULL. >>>>>> > Is this a bug ? >>>>>> > >>>>>> > And, I have another question, how to draw a colored transparent box in >>>>>> > a >>>>>> > canvas ? >>>>>> > >>>>>> > Regards >>>>>> > Max >>>>>> > >>>>>> > ------------------------------------------------------------ >>>>>> > ------------------ >>>>>> > >>>>>> > _______________________________________________ >>>>>> > Iup-users mailing list >>>>>> > Iup-users@... >>>>>> > https://lists.sourceforge.net/lists/listinfo/iup-users >>>>>> > >>>>>> > >>>>>> >>>>>> >>>>> ------------------------------------------------------------ >>>>> ------------------ >>>>> >>>>> _______________________________________________ >>>>> Iup-users mailing list >>>>> Iup-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>>> >>>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> >>>> _______________________________________________ >>>> Iup-users mailing list >>>> Iup-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>> >>>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> >>> _______________________________________________ >>> Iup-users mailing list >>> Iup-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/iup-users >>> >>> >> >
------------------------------------------------------------------------------
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users