Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a problem with formatting a paramStr:
The code below works perfect.
But I want to set the tooltip in the paramStr directly instead of using a variable.
Because I'm using the paramStr in a dynamic created rollout.
This works:
local nameSwatch = "swatch_" + (counter as string)
paramStr:(
"fieldWidth:"+swatch_width as string \
+" height:"+swatch_height as string \
+" pos:["+swatch_x as string+","+swatch_y as string+"]" \
+" color:" + col_line[2] as string \
+" modal:"+true as string \
+" toolTip:'toolTipData'"
)
This isn't working with the custom tooltip set to myTooltipText?
local nameSwatch = "swatch_" + (counter as string)
paramStr:(
"fieldWidth:"+swatch_width as string \
+" height:"+swatch_height as string \
+" pos:["+swatch_x as string+","+swatch_y as string+"]" \
+" color:" + col_line[2] as string \
+" modal:"+true as string \
+" toolTip:" + "myTooltipText"
)
Any ideas,
Thanks
Solved! Go to Solution.