[Iup-users] GetParam with %h

2020-03-04 Thread Jane Taubman
I have been trying to workout how to pass the handle into the GetParam dialog when building the string, but I can not work out what it wants, if I give it l it fails concatenation. l = iup.label{size="200x5"} pboolean = 1 ret, pboolean = iup.GetParam("Title", nil, "Bool

Re: [Iup-users] GetParam with %h

2020-03-04 Thread Antonio Scuri
Hi, You miss passing the label to the GetParam. This: *lbl* = iup.label{size="200x5"} iup.GetParam("Title", nil, "Boolean: %s\n%h \n", pboolean, *lbl*) solves the problem. Regarding what you want to do, you will have to use the callback to set the vis

Re: [Iup-users] GetParam with %h

2020-03-05 Thread Jane Taubman
> > You miss passing the label to the GetParam. This: > > *lbl* = iup.label{size="200x5"} > > iup.GetParam("Title", nil, > "Boolean: %s\n%h \n", > pboolean, *lbl*) > Thank you that worked just fine and your alternate solution was what I tried to start with but