[Iup-users] A problem with IupMatrix

Jeremy Cowgar jeremy at cowgar.com
Wed Apr 30 22:54:47 GMT+2 2008


I've never used FreeBasic, but use IupMatrix all the time w/no problems.
I use it both in C and in Euphoria. I did notice it looks like you have
an unended " in the TITLE?

IupSetAttributes(mainDlg,"TITLE=""Listing ["+List.FileName+"]")

I am not sure how FreeBasic works, but is "" a begining quote? I do not
then, see an ending quote. Again, have no idea if this means anything.
Also, if your just setting 1 attribute, you can use (in C at least):

IupStoreAttribute(mainDlg, "TITLE", "Listing [" + List.FileName + "]")

The same thing for your NUMLIN. In C, we also have:

IupMatStoreAttribute(Cells, "", Row, Col, "Value")

Which might simplify your code further.

In any coding, when I have a problem I cannot explain, I start
simplifying as much as I can, hopefully the problem will disappear
during one change, then I can figure it out, or other times I simply so
much that the problem becomes very apparent.

Sorry I could offer no concrete answer. But I do use IupMatrix all the
time in some pretty heavily used applications w/no problem.

Jeremy




More information about the iup-users mailing list