This is a bug.

  I already fixed and committed to the SVN.

  It will take a few weeks to release a new version with binaries.

Best,
Scuri


On Mon, Jun 1, 2015 at 10:55 AM, LELIEVRE Sebastien (SAFRAN ENGINEERING
SERVICES) <[email protected]> wrote:

> Hi,
>
>
>
> I do a unitary test to reproduce the problem :
>
>
>
> require( "iuplua" )
>
> require( "iupluacontrols" )
>
>
>
> mat = iup.matrix {numcol=5, numlin=3,numcol_visible=5, numlin_visible=3,
> widthdef=34}
>
> mat.resizematrix = "YES"
>
> mat:setcell(0,0,"Inflation")
>
> mat:setcell(1,0,"Medicine")
>
> mat:setcell(2,0,"Food")
>
> mat:setcell(3,0,"Energy")
>
> mat:setcell(0,1,"January 2000")
>
> mat:setcell(0,2,"February 2000")
>
> mat:setcell(1,1,"5.6")
>
> mat:setcell(2,1,"2.2")
>
> mat:setcell(3,1,"7.2")
>
> mat:setcell(1,2,"4.6")
>
> mat:setcell(2,2,"1.3")
>
> mat:setcell(3,2,"1.4")
>
>
>
> function mat:edition_cb(lin, col, mode, update)
>
>                 print("edition_cb", lin, col)
>
> end
>
>
>
> function mat:click_cb(lin, col, mode)
>
>                 print("click_cb", lin, col)
>
> end
>
>
>
> dlg = iup.dialog{iup.vbox{mat; margin="10x10"}}
>
>
>
> dlg:showxy(iup.CENTER, iup.CENTER)
>
>
>
> if (iup.MainLoopLevel()==0) then
>
>   iup.MainLoop()
>
> end
>
>
>
>
>
> Test sequence :
>
> -          double click on the cell (2,2)
>
> -          double click on the cell (3,3)
>
> -          double click on the cell (1,5)
>
>
>
> Resultat:
>
> edition_cb    0     0     instead of   edition_cb    2     2
>
> edition_cb    2     2     instead of   edition_cb    3     3
>
> edition_cb    3     3     instead of   edition_cb    1     5
>
>
>
> The parameter lin and col of the edition_cb function are wrong in the
> version 3.14 but good with 3.9.  Is there any regression on this part on
> IUP 3.14?
>
>
>
> Thanks
>
>
>
> Sebastien
>
>
>
> #
> " Ce courriel et les documents qui lui sont joints peuvent contenir des
> informations confidentielles, être soumis aux règlementations relatives au
> contrôle des exportations ou ayant un caractère privé. S'ils ne vous sont
> pas destinés, nous vous signalons qu'il est strictement interdit de les
> divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
> soit le contenu. Toute exportation ou réexportation non autorisée est
> interdite.Si ce message vous a été transmis par erreur, merci d'en informer
> l'expéditeur et de supprimer immédiatement de votre système informatique ce
> courriel ainsi que tous les documents qui y sont attachés."
> ******
> " This e-mail and any attached documents may contain confidential or
> proprietary information and may be subject to export control laws and
> regulations. If you are not the intended recipient, you are notified that
> any dissemination, copying of this e-mail and any attachments thereto or
> use of their contents by any means whatsoever is strictly prohibited.
> Unauthorized export or re-export is prohibited. If you have received this
> e-mail in error, please advise the sender immediately and delete this
> e-mail and all attached documents from your computer system."
> #
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to