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
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
>
> 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